Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

Tips and Tricks

Topics relating to MX Docs and MX Videos
Message
Author
User avatar
tascoast
Posts: 427
Joined: Sat Aug 06, 2011 4:58 am

Re: Tips and Tricks

#11 Post by tascoast »

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 :happy:
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

User avatar
Jerry3904
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Tips and Tricks

#12 Post by Jerry3904 »

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

User avatar
tascoast
Posts: 427
Joined: Sat Aug 06, 2011 4:58 am

Re: Tips and Tricks

#13 Post by tascoast »

Jerry3904 wrote:There's a bunch in the Users Manual, including those just posted.
Quite true. I found lots there and just plan to condense them a bit for a quick reference I can print out. :thumbup:

*

Code: Select all

lscpu
was handy for me to check out 32 and 64-bit processors inside the box.

Code: Select all

grep flags /proc/cpuinfo
for processor flags
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

asinoro
Posts: 152
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#14 Post by asinoro »

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:

Code: Select all

cat /proc/sys/vm/swappiness
This is the outcome of my system.
$ cat /proc/sys/vm/swappiness
90
To change swappiness you must first be root with:

Code: Select all

sudo su
and then,

Code: Select all

sysctl vm.swappiness=90
or

Code: Select all

echo 90 > /proc/sys/vm/swappiness
The 90 number is my choice adjust it according your preference.
And check again to see your new adjustment.

Code: Select all

cat /proc/sys/vm/swappiness
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,

Code: Select all

gedit /etc/sysctl.conf
or if you are not root,

Code: Select all

sudo gedit /etc/sysctl.conf
and at the end of the file add,

Code: Select all

vm.swappiness=90
Now your OS will remember and keep the factor 90 to your swappiness until you change it again.
If your case is solved, edit [Solved] to your initial post title to help other users.

Fix your Grub

User avatar
tascoast
Posts: 427
Joined: Sat Aug 06, 2011 4:58 am

Re: Tips and Tricks

#15 Post by tascoast »

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

asinoro
Posts: 152
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#16 Post by asinoro »

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.
If your case is solved, edit [Solved] to your initial post title to help other users.

Fix your Grub

asinoro
Posts: 152
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#17 Post by asinoro »

Gnome System log
system log.png
If you like to see with a gui via application your logs then install the Gnome System log from the terminal:

Code: Select all

sudo apt-get install gnome-system-log
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.
If your case is solved, edit [Solved] to your initial post title to help other users.

Fix your Grub

asinoro
Posts: 152
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#18 Post by asinoro »

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
If your case is solved, edit [Solved] to your initial post title to help other users.

Fix your Grub

asinoro
Posts: 152
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#19 Post by asinoro »

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.
If your case is solved, edit [Solved] to your initial post title to help other users.

Fix your Grub

User avatar
Jerry3904
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Tips and Tricks

#20 Post by Jerry3904 »

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

Locked

Return to “Documentation and videos”