Tips and Tricks
Re: Tips and Tricks
I try to add handy command line ideas to a list that is scattered between several documents now, but will try to compile a better list with these included.
Linux Tip # - Nobody mentions Trash
Linux Tip # - Nobody mentions Trash
Inspiron 15 5000-5593- (i7-1065G7) MX 19.2 AHS/MX-21//W10 - Lenovo ThinkCentre A58 4GBRAM (64-bit), MX-21/MX19/antiX19/Mint 19
Re: Tips and Tricks
There's a bunch in the Users Manual, including those just posted.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Tips and Tricks
Quite true. I found lots there and just plan to condense them a bit for a quick reference I can print out.Jerry3904 wrote:There's a bunch in the Users Manual, including those just posted.
*
Code: Select all
lscpu
Code: Select all
grep flags /proc/cpuinfo
Inspiron 15 5000-5593- (i7-1065G7) MX 19.2 AHS/MX-21//W10 - Lenovo ThinkCentre A58 4GBRAM (64-bit), MX-21/MX19/antiX19/Mint 19
Re: Tips and Tricks
How to change your extended memory settings of the swappiness
The memory of your computer is very basic element because it loads everything first in to the RAM to function your OS.
Linux has an extra memory function where in installation mode it creates the swap partition. Normally the size of this partition is recommended to be double size of your RAM. The swap partition stores the extra memory where you OS can not handle or to release the tension of the RAM. This function is called swappiness and by default it is in factor 60 a very balance setting for average usage of your OS.
Some times and especially for old PC this function can be handy if you customize it to your needs.
Generally for old PC or new with RAM= 2 GB or less, if everyday use is to open only 2 or 3 pages of your browser plus Thunderbird the swappiness can be less than 60 to even 10. If the usage is heavily for your old PC then the swappiness can be until 100.
In both cases above, the computer will be more fast and stable, though if your change it to heavy usage with low swappiness possible your PC will stick due lack of swappiness. If you want to experience the change of swappiness, first check from the terminal the level of your swappiness:
This is the outcome of my system.
and then,
or
The 90 number is my choice adjust it according your preference.
And check again to see your new adjustment.
It will take few minutes to come to new function where you will notice from the behavior of your PC.
This adjusted function of the swappiness will stay until your next reboot, where it will be again to default number 60.
If you want to change it permanently then open the sysctl.conf from root,
or if you are not root,
and at the end of the file add,
Now your OS will remember and keep the factor 90 to your swappiness until you change it again.
The memory of your computer is very basic element because it loads everything first in to the RAM to function your OS.
Linux has an extra memory function where in installation mode it creates the swap partition. Normally the size of this partition is recommended to be double size of your RAM. The swap partition stores the extra memory where you OS can not handle or to release the tension of the RAM. This function is called swappiness and by default it is in factor 60 a very balance setting for average usage of your OS.
Some times and especially for old PC this function can be handy if you customize it to your needs.
Generally for old PC or new with RAM= 2 GB or less, if everyday use is to open only 2 or 3 pages of your browser plus Thunderbird the swappiness can be less than 60 to even 10. If the usage is heavily for your old PC then the swappiness can be until 100.
In both cases above, the computer will be more fast and stable, though if your change it to heavy usage with low swappiness possible your PC will stick due lack of swappiness. If you want to experience the change of swappiness, first check from the terminal the level of your swappiness:
Code: Select all
cat /proc/sys/vm/swappiness
To change swappiness you must first be root with:$ cat /proc/sys/vm/swappiness
90
Code: Select all
sudo su
Code: Select all
sysctl vm.swappiness=90
Code: Select all
echo 90 > /proc/sys/vm/swappiness
And check again to see your new adjustment.
Code: Select all
cat /proc/sys/vm/swappiness
This adjusted function of the swappiness will stay until your next reboot, where it will be again to default number 60.
If you want to change it permanently then open the sysctl.conf from root,
Code: Select all
gedit /etc/sysctl.conf
Code: Select all
sudo gedit /etc/sysctl.conf
Code: Select all
vm.swappiness=90
Re: Tips and Tricks
Stumbling through inxi -(alphabet)
$ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list.d/antix.list
deb http://antix.daveserver.info/jessie jessie main
Active apt sources in file: /etc/apt/sources.list.d/debian-stable-updates.list
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
Active apt sources in file: /etc/apt/sources.list.d/debian.list
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
Active apt sources in file: /etc/apt/sources.list.d/mx.list
deb http://mxrepo.com/mx/repo/ mx15 main non-free
Active apt sources in file: /etc/apt/sources.list.d/mx16.list
deb http://mxrepo.com/mx/repo/ mx16 non-free main
Active apt sources in file: /etc/apt/sources.list.d/various.list
deb http://download.virtualbox.org/virtualbox/debian/ jessie contrib
Inspiron 15 5000-5593- (i7-1065G7) MX 19.2 AHS/MX-21//W10 - Lenovo ThinkCentre A58 4GBRAM (64-bit), MX-21/MX19/antiX19/Mint 19
Re: Tips and Tricks
Blueman is a very helpful tool to manage bluetooth connections, when you try to pair a new device or to send or received a file, a fast message comes that last almost two seconds on the top right of the screen. In this message there are two small boxes you should select the first one to accept the bonding with the other device.
Re: Tips and Tricks
Gnome System log
If you like to see with a gui via application your logs then install the Gnome System log from the terminal:
When you start as a root the program, you can go up to the right to to open a new log /var/log/ by opening the ring symbol. On the left you can see all your open logs and by select and close again from the ring you can close each one of them. Unfortunately one very nice function to add filters do not work and crashes the application. It doesn't matter you can live with it.
Code: Select all
sudo apt-get install gnome-system-log
Re: Tips and Tricks
Ready Conky
An out of the box for MX modified conky among others ppp0, wlan0 and also Public IP.
You just put the three hidden files and folders from the link CONKY folder to your home directory logout and you are ready.
https://www.dropbox.com/sh/ci8ulsqg7yb3 ... -jJra?dl=0
An out of the box for MX modified conky among others ppp0, wlan0 and also Public IP.
You just put the three hidden files and folders from the link CONKY folder to your home directory logout and you are ready.
https://www.dropbox.com/sh/ci8ulsqg7yb3 ... -jJra?dl=0
Re: Tips and Tricks
Trash on Thunar disappears
This an incident back from MX-15 and continuous to MX-16 and also have experience since Mint.
Suddenly after resume or by adding new usb device Trash on Thunar disappears.
How I solve it, is not the ideal way but it is an option.
Open Task Manager > Find-select Thunar - right click and Kill > After open new Thunar and the Trash is there.
This an incident back from MX-15 and continuous to MX-16 and also have experience since Mint.
Suddenly after resume or by adding new usb device Trash on Thunar disappears.
How I solve it, is not the ideal way but it is an option.
Open Task Manager > Find-select Thunar - right click and Kill > After open new Thunar and the Trash is there.
Re: Tips and Tricks
That's weird. I have never had the trash link in the left pane disappear.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin