Skip to content

tweak LXM performance

  1. configure update manager :
    ( edit > softw sources > select fastest )
    ( policy : update everything )
    preferences > options > only show a tray icon when needed

  2. driver manager
    check from time to time

  3. always install microcodes

  4. decrease swap usage
    old LXM vanaf 60% ram wordt de swap actiever aangesproken
    cat /proc/sys/vm/swappiness ==> zal normaaal 60 zijn
    je kan het veilig op bijvb 90% zetten
    sudo xed /etc/sysctl.conf
    add vm.swappiness=10 at the eof
    reboot is required

  5. enable disk write cache
    start the Disks app
    select disk > menu > disk settings > tab “write cache ” > enable

6 reduce SSD writes
- trim setting should be enaled by LXM by default
check : cat /etc/cron.weekly/fstrim ==> no such file
- diable SSD writes
==> lloup internet
1 option : sudo xed /etc/fstab ==> fstab option noatime

  1. turn on the firewall
    menu > firewall

    status ==> enable
    for SSHS , you will need to add a rule

  2. install ms fonts
    software mgr > search mscorefonts
    skipped for now (arial & calibri zijn wel cool )

  3. uninstall unneeded software – skipped , nauwelijks enige winst hiermee
    mono : skipped , todo ; see if required or not ( het is een CLR al net )
    oca
    remove the prgm you don’t use
    brasero ( disk burning prgm

  4. firefox –skipped

tweak libre office
tools > options >> advanced > diable java runtime environment
(hierna geen macro’s meer mogelijk ?’)
dit sheelt enorm !

diable unneeded applets

startup prgm : disable support for nvidea supprot if you have no nvedo card

how to check if enaled
power options : hibernate option should not be available
ctrl+alt+end ==> no hibernate option

The command to disable hibernation:
sudo mv -v /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla /
The command to undo the disable hibernation:
sudo mv -v /com.ubuntu.enable-hibernate.pkla /etc/polkit-1/localauthority/50-local.d

disable user switching

install dconf-editor : sudo apt install dconf-editor
run : dconf-editor

goto : org > cinamon > desktop > lockdown > set “disable-user-switching” true” ( change default > custom , then > true)

disable hibernation

— still needed on LXM 20 ?

command :
sudo mv -v /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla /

to undo :
sudo mv -v /com.ubuntu.enable-hibernate.pkla /etc/polkit-1/localauthority/50-local.d