Linux Mint 21 XFCE
Distro: Linux Mint 21.3 virginia
Base: Ubuntu 22.04 jammy
Fix panel
add system load monitor
double update interval and power saving interval uncheck uptime monitor
edit clock
select custom format
%a %d %b, %I:%M %p
21.3 uses text editor xed instead of gedit
open software manager remove xed and install gedit
Include memtest86+ in grub boot
sudo apt-get -t jammy-backports install memtest86+
Fix grub to show up on boot up everytime
sudo gedit /etc/default/grub
add or edit line below:
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
save file
sudo update-grub
restart computer
Remove desktop background pic
menu - desktop - style
set to none
fix terminal
show menubar
background to none (solid black)
make cursor blink
open file manager Press Ctrl+H to unhide all hidden file and folders Browse to ~/.config/xfce4/terminal Open the file terminalrc in a text editor In the file search for the following line: MiscCursorBlinks=FALSE Set the value for this line to TRUE Save the file and close it
Update LibreOffice. There is a bug with the installed version causing random logouts.
In terminal do the following
sudo apt-get --purge remove libreoffice*
sudo apt-get --purge remove libreoffice-common
sudo add-apt-repository ppa:libreoffice/ppa
then install new version of libreoffice in software manager
Update firefox from 71.0 to latest with the following terminal commands
sudo apt-get update
sudo apt-get install --only-upgrade firefox
To fix facebook upgade adobe flash error
type about:config in the address bar, enter
click "I accept the risk" search libavcodec
change media.libavcodec.allow-obsolete;false to true
restart firefox
firefox fix the following
click upper right 3 horizontal bar menu
select preference
general
applications set pdf to save file
home
new windows and tabs set to blank page new tabs set to blank page firefox home content unselect everything
search
install google by clicking "finding more search engines" below search suggestions unselect suggestions
privacy & security
logins and password unselect "ask to save logins and passwords for websites"
extensions
add adblock plus
add lastpass
fix lastpass to logout upon exit of browser
firefox upper right settings (3 horiontal bar button)
add-on - lastpass - preferences
click "logout when all browser closed"
disable memory of URL bar
(only do this for public computers so it does not remember)
type in URL bar about:config search term maxrich double click browser.urlbar.maxrichresults change value to 0
change background to bubbles
copy bubbles to picture folder
LM menu - search Desktop app
disable power savings
LM menu - search Power Manager app
system tab uncheck lock screen when going for sleep
display tab put blank after, sleep after and turn off after all to never
security tab unselect lock screen when system is going to sleep
if laptop, install xfce4-battery-plugin
fix task bar clock, battery and system load monitors
Apps to add / remove
Note: you may also uninstall via Mintinstall software manager
faster way to uninstall apps via Synaptic Package Manager
fix columns just to remove latest app
type name of application in "quick search" text box
right click application (ok multi select)
select "mark for removal" (will leave config and data files)
or select "mark for complete removal" (delete app + data)
click "apply button"
remove xed (text editor)
remove xreader (pdf viewer)
remove transmission (bittorrent client)
remove hexchat (irc client)
add gedit (text editor)
add ttf-mscorefonts-installer (takes a long time)
add pinta on usb
add foxit pdf reader on usb
Disable the mousewheel-rollup feature
LM Menu - Settings - Settings Editor (not Settings Manager!) - xfwm4
Double-click on mousewheel-rollup and set the value to FALSE (by clicking on TRUE).
Click on the "Save" button
Add to desktop shutdown shortcut
Right-click on the desktop and select "Create Launcher".
To Shutdown, set the command to xfce4-session-logout --halt
To Log out, set the command to xfce4-session-logout --logout
To display the generic logout dialog, set the command to xfce4-session-logout
Fill the out the other options as needed
simplify shutdown menu
To remove the suspend button:
xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'
To remove the hibernate button:
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'
disable hibernate (all in one line)
sudo mv -v /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla /
remove save sessions
rm -r -v ~/.cache/sessions/*
sudo mkdir /etc/xdg/xfce4/kiosk
sudo -H gedit /etc/xdg/xfce4/kiosk/kioskrc
In that empty text document, copy/paste the following text:
[xfce4-session]
SaveSession=NONE
(note errors will show up in terminal - thats okay)
sudo touch /etc/polkit-1/localauthority/90-mandatory.d/disable-suspend.pkla
sudo -H gedit /etc/polkit-1/localauthority/90-mandatory.d/disable-suspend.pkla
Copy and paste the following green text into that empty text file:
[Disable suspend (upower)]
Identity=unix-user:*
Action=org.freedesktop.upower.suspend
ResultActive=no
ResultInactive=no
ResultAny=no
[Disable suspend (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend
ResultActive=no
[Disable suspend for all sessions (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend-multiple-sessions
ResultActive=no
(note errors will show up in terminal - thats okay)
save then reboot
Disable windows snapping
LM -> Settings -> Settings Manager -> Window Manager Tweaks
on Accessibility tab remove tick for
Automatically tile windows when moving towards the screen edge
All instructions below require reboot
Disable wifi upon system start
sudo -H gedit /etc/rc.local
sleep 30
rfkill block wifi
exit 0
reboot (dont, just follow next instruction the reboot)
check nothing is hardblocked
rfkill list all
if hardblocked, to get out type
rfkill unblock wifi
Decrease the swap use (important)
step1: Check your current swappiness setting:
Menu - Xfce Terminal
Type (use copy/paste to avoid errors):
cat /proc/sys/vm/swappiness
Press Enter.
The result will probably be 60
step2: To change the swappiness into a more sensible setting, type in the terminal (use copy/paste):
sudo -H gedit /etc/sysctl.conf
Press Enter.
Scroll to the bottom of the text file and add your swappiness parameter to override the default. Copy/paste the following two green lines:
(remove space in front of hash)
# Decrease swap usage to a more reasonable level
vm.swappiness=10
step3: Save and close the text file. Then reboot your computer.
After the reboot, check the new swappiness value:
Menu - Xfce Terminal
Type (use copy/paste):
cat /proc/sys/vm/swappiness
Press Enter.
Now it should be 10.
Update all apps to the latest versions
sudo apt update && sudo apt upgrade
Built-in printer driver broken. Communication error. Solved by removing IPP
sudo apt remove ipp-usb sane-airscan