Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Tips and Tricks

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

Re: Tips and Tricks

#11 Post by tascoast » Wed Jan 04, 2017 2:51 pm

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:
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22452
Joined: Wed Jul 19, 2006 6:13 am

Re: Tips and Tricks

#12 Post by Jerry3904 » Wed Jan 04, 2017 3:22 pm

There's a bunch in the Users Manual, including those just posted.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1086
Joined: Sat Aug 06, 2011 4:58 am

Re: Tips and Tricks

#13 Post by tascoast » Wed Jan 04, 2017 3:40 pm

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
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
asinoro
Forum Regular
Forum Regular
Posts: 494
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#14 Post by asinoro » Sun Jan 08, 2017 9:03 am

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.
Don’t forget to Backup your system
Fix your Grub

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1086
Joined: Sat Aug 06, 2011 4:58 am

Re: Tips and Tricks

#15 Post by tascoast » Sun Jan 08, 2017 9:52 am

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
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
asinoro
Forum Regular
Forum Regular
Posts: 494
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#16 Post by asinoro » Mon Jan 16, 2017 5:41 am

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.
Don’t forget to Backup your system
Fix your Grub

User avatar
asinoro
Forum Regular
Forum Regular
Posts: 494
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#17 Post by asinoro » Mon Jan 30, 2017 3:20 am

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.
You do not have the required permissions to view the files attached to this post.
If your case is solved edit [Solved] to your initial post title to help other users.
Don’t forget to Backup your system
Fix your Grub

User avatar
asinoro
Forum Regular
Forum Regular
Posts: 494
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#18 Post by asinoro » Sun Feb 19, 2017 5:00 pm

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.
Don’t forget to Backup your system
Fix your Grub

User avatar
asinoro
Forum Regular
Forum Regular
Posts: 494
Joined: Mon Feb 22, 2016 12:26 pm

Re: Tips and Tricks

#19 Post by asinoro » Sun Feb 26, 2017 4:38 am

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.
Don’t forget to Backup your system
Fix your Grub

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22452
Joined: Wed Jul 19, 2006 6:13 am

Re: Tips and Tricks

#20 Post by Jerry3904 » Sun Feb 26, 2017 7:40 am

That's weird. I have never had the trash link in the left pane disappear.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

Post Reply

Return to “Documentation and videos”