Entries

How to install an ocl-icd-libopencl1 package on Devuan Linux

In case you are installing software and missing ocl-icd-libopencl package (unresolved dependancies), you can install it using terminal by running a following command:

$ sudo apt update
$ sudo apt install ocl-icd-opencl-dev

But even in this case some of you installation can be broken, so we have to fix those installation by running a command:

$ sudo apt --fix-broken install

Read more

Written by Administrator on Tuesday May 5, 2020

How to change root password in Linux Lite?

Common security and privacy approaches are working not only in corporate sphere. Even you as a regular admin of your home system, have to follow security policites to make your system secure. Even in case you administrate your system not under root user (using only sudo command to make needed operations), you have to change your root password from time to time. Linux Lite is an Ubuntu based linux distribution and considering your intense to change root password, it works the same way like in other linux system.

Only thing you have to do is to run following command in your terminal:

$ passwd

change root password in Linux Lite

Read more

Written by Administrator on Monday May 4, 2020

How to sort files in folder from the biggest to smallest

Command ls in Linus is very powerful and you can list files any way you want using proper parameters. In case we want to sort files in a folder by size descending, we run a following command:

$ ls -S

This command show all files in a folder and list them descending by file size, but there's a problem, which we will explain in an article below. It's good to write about commands and outputs, but the best way, from my point of view, is to show everything on a real example (I tried it on openSUSE Linux, but ls is a command, which works in every Linux distro, so don't be afraid something will work different way on your system.

Read more

Written by Administrator on Saturday May 2, 2020

How to install Flameshot in Linux Mint? [with screenshots]

Flameshot is very powerful and easy-to-use screenshot manager for every linux distro. Embedded screenshot managers are very small and fast programs, but offer very limited functionality. If you want to install Flameshot in Linux Mint, just run following command in Linux Mint terminal:

$ sudo apt-get install flameshot

output:

Read more

Written by Administrator on Friday May 1, 2020

How to find your IP address in Linux Mint?

The simplest and the fastes way to find your IP address in Linux Mint is to run the following command in linux terminal:

$ hostname -I

But this is an example, how to find your IP address in internal network. In case you are looking for an external IP address (the address you have in internet), you should run a command:

$ curl ifconfig.me

or

$ curl ident.me

Read more

Written by Administrator on Friday May 1, 2020

How to install japanese keyboard layout on Elementary OS

In order to install japanese language keyboard layout in Elementary OS, use fcitx, but during installation choose "japanese language" instead of "chinese language". Keep in mind, that under Freya, nor ibus, nor SCIM is working properly.

First, you have to add fcitx repository:

$ sudo add-apt-repository ppa:fcitx-team/nightly

Then update your sources:

$ sudo apt-get update

After that you can install fcitx and chinese input layout:

$ sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-module-cloudpinyin fcitx-chewing fcitx-table-all

Read more

Written by Administrator on Thursday April 30, 2020

How to delay shutdown in Devuan Linux?

Shutdown delay in Devuan Linux is made the same way as shutdown delay in other Linux distros. The only thing you have to do is to run "shutdown" comman with proper parameters. This is very easy. For example this command will delay system shutdown for 20 minutes:

$ shutdown +20

In case you want to delay shutdown for 2 hours, you run:

$ shutdown +120

This is simple thing: just set a number of minutes.

Read more

Written by Administrator on Thursday April 30, 2020

How to plan system shutdown in Devuan linux?

You already know, that to shut down system immediately, you can run a following command in linux terminal:

$ shutdown now

System will shutdown immediately. Surely, it you want to shutdown and then reboot it, you will run:

$ shutdown -r now

But sometimes you have to plan your shutdown (corporate rules, system maintenance, parental control etc). In this case you have just to pospone system shutdown using proper parameters while running "shutdown" command.

Read more

Written by Administrator on Thursday April 30, 2020

How to prevent users log in into the Devuan system and how to postpone system shutdown?

Sometimes you need to lock system and don't let users to log in. One of the solutions is to schedule system shutdown and postpone it with a lock from new logins. It can happen in case you want to upgrade the system, but it's impossible to kick logged users from the system and you want just to let them finish their work and then do you work.

Just imagine you need to postpone shutdown for 20 minutes and let users know that system maintenance is coming. Let's start postponed shutdown with an announcement, what is going to happen:

$ shutdown +20 "System upgrade is coming. Thank you for your patience"

Read more

Written by Administrator on Thursday April 30, 2020