Difference between revisions of "Mint Linux Distribution Reference"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m (Cinnamon Task Bar Thumbnail Previews)
m (Edit Text)
(65 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Mint Linux is based on Ubuntu- the Long Term Support (LTS) Ubuntu distributions.  Therefore, many of the customizations mentioned in [[Kubuntu and Ubuntu Linux Distribution Reference]] are applicable to Mint.  A distribution based on and compatible with Ubuntu, which is shipped with integrated proprietary or patented media codecs.
+
Mint Linux is based on Debian and some consider a fork of Ubuntu- the Long Term Support (LTS) Ubuntu distributions.  Therefore, many of the customizations mentioned in [[Kubuntu and Ubuntu Linux Distribution Reference]] are applicable to Mint.  A distribution based on and compatible with Ubuntu, which is shipped with integrated proprietary or patented media codecs.
  
 
Mint is more user friendly, stable, and supports 3D acceleration better than Ubuntu.  For frustrated Ubuntu users, Mint just might be the answer.  
 
Mint is more user friendly, stable, and supports 3D acceleration better than Ubuntu.  For frustrated Ubuntu users, Mint just might be the answer.  
 +
 +
You can obtain Linux Mint from their official web site.  Downloading using the torrent option is recommended.  Verify your download via checksum and create a [[Mint Linux Bootable Installation Media]].
  
 
Reference [[New Linux Workstation Post Installation Tips]] for other post installation suggestions that apply to Mint.
 
Reference [[New Linux Workstation Post Installation Tips]] for other post installation suggestions that apply to Mint.
Line 8: Line 10:
 
  cat /etc/apt/sources.list
 
  cat /etc/apt/sources.list
  
The default windows manager / desktop environment is called Cinnamon.  Cinnamon is an independent desktop environment that retains many features that users appreciated in GNOME.  The toolbar is called the Cinnamon Panel.
+
The default windows manager / desktop environment is called Cinnamon.  The [[Cinnamon Desktop]] is an independent desktop environment that retains many features that users appreciated in GNOME.  The toolbar is called the Cinnamon Panel.
  
 
The majority of suggestions here are applicable to Linux Mint with Cinnamon relatively recent versions: tested on Mint distributions 18.1, 18.3, 19.2  
 
The majority of suggestions here are applicable to Linux Mint with Cinnamon relatively recent versions: tested on Mint distributions 18.1, 18.3, 19.2  
 +
 +
18.3 Sylvia Ubuntu Xenial 16.04                19.1 Tessa Ubuntu Bionic 18.04
 +
19 Tara Ubuntu Bionic 18.04                19.2 Tina Ubuntu Bionic 18.04
 +
20.1    Ulyssa  Ubuntu Focal Fossa 20.04          21.1        Vera    Ubuntu Jammy 22.04 LTS
 +
 +
<small>See: [[Determining Your Linux Version]] and [[Ubuntu Debian version Cross Reference]]</small>
  
 
== first things first ==
 
== first things first ==
 +
Info from this section is covered in more detail here: [[Mint Linux Bootable Installation Media]]
 +
 
An example of how to verify your ISO download:
 
An example of how to verify your ISO download:
 
  $ sha256sum -b linuxmint-19.2-cinnamon-64bit.iso
 
  $ sha256sum -b linuxmint-19.2-cinnamon-64bit.iso
Line 33: Line 43:
 
  sudo apt install vim
 
  sudo apt install vim
  
== web browsers ==
+
If the system has already made nano (for n00bs from windowz) your default editor, you may have to
 +
sudo update-alternatives --config editor
 +
 
 +
and select vim.
 +
 
 +
== Recommended web browsers ==
 
Before you '''Uninstall Firefox''' install the replacement as a browser must be present for some of the help system of mint.
 
Before you '''Uninstall Firefox''' install the replacement as a browser must be present for some of the help system of mint.
  
Replace with one of the following 3 options (or all)
+
Here are some recommended web browsers.  The most recommended two are Pale Moon and Epiphany/Gnome Web.
  
 
=== Small and Lightweight backup browser: Epiphany ===
 
=== Small and Lightweight backup browser: Epiphany ===
Line 47: Line 62:
 
It is recommended that you install [[Pale Moon]] and forget Firefox altogether.  It works like the classic Firefox and it is efficient, fast, and more stable.
 
It is recommended that you install [[Pale Moon]] and forget Firefox altogether.  It works like the classic Firefox and it is efficient, fast, and more stable.
  
=== Install Firefox ESR Version ===
+
== Additional web browsers ==
The Firefox Extended Support Release so that you don't get forcefully upgraded to the dreaded Quantum 57.   
+
The Firefox web browser is not what it used to be.  At one time, it was the top recommended web browser.  Lets be honest, today Firefox is total rubbish.  However, the ESR version is less rubbish as compared to the standard version.
 +
 
 +
Mint, like most distributions package the Chromium web browser rather than the full version of Google Chrome.  At one time it was recommended to go ahead and replace Chromium with the full version of Google Chrome.  This is no longer the case, as of this time you should consider retaining Chromium unless there is something that specifically requires Chrome.
 +
 
 +
=== Firefox ESR Version ===
 +
<small>The [[Firefox Extended Support Release]] so that you don't get forcefully upgraded to the dreaded Quantum 57.   
  
 
# Open Software Manager
 
# Open Software Manager
Line 60: Line 80:
 
# In the search box type "Firefox-esr" and when located "install"
 
# In the search box type "Firefox-esr" and when located "install"
  
See also: [[Firefox]] , [[Favorite Firefox Extensions]]
+
See also: [[Firefox]] , [[Favorite Firefox Extensions]]</small>
 +
 
 +
=== Chromium ===
 +
It seems like 19.2 doesn't default to preloading Chromium.  Chromium is a free and open-source software project that Google uses the code to make its Chrome browser, which has more features than Chromium. Many other browsers are also based on Chromium code, most notably Microsoft Edge and Opera.  Read the [[Differences Between Google Chromium and Chrome Web Browsers]].
 +
 
 +
If you want it, here is how to install it:
 +
sudo apt install chromium-browser
 +
If you can get by with Chromium it is recommended over Chrome.
 +
 
 +
=== Chrome rather than Chromium ===
 +
<small><small>
 +
{{:Chrome rather than Chromium}}
 +
</small></small>
  
 
== UI Preferences and Features ==
 
== UI Preferences and Features ==
Line 89: Line 121:
 
# Disable slider for "show thumbnails"
 
# Disable slider for "show thumbnails"
  
Note: Verified on Linux Mint 19.2 Mint 19.2 Cinnamon 4.2.3
+
Note: Verified on Linux Mint 19.2 Cinnamon 4.2.3
  
 
=== Disable Annoying Sound Menu Integration ===
 
=== Disable Annoying Sound Menu Integration ===
Line 126: Line 158:
 
# under "Keyboard Indicators" enable "Use visual indicator on Caps and Num Lock"  
 
# under "Keyboard Indicators" enable "Use visual indicator on Caps and Num Lock"  
 
# also under "Keyboard Indicators" enable "Use audio indicator on Caps and Num Lock"
 
# also under "Keyboard Indicators" enable "Use audio indicator on Caps and Num Lock"
 +
 +
NOTE: You can make the numpad always produce numbers without regards to the numlock state.  The [[Mint Linux Numeric Keypad Always Active]] uses a trick that emulates the behavior of a Macintosh keyboard in which the numeric keypad always produces numbers as if the numlock option did not exist.
  
 
=== Monitor going black and power saver ===
 
=== Monitor going black and power saver ===
Line 137: Line 171:
  
 
=== Fatten up those skinny scrollbars ===
 
=== Fatten up those skinny scrollbars ===
Go to  
+
For ''(mint 19.x)'' go to:
 
#System Settings -> Themes -> Settings ... there you can change the width of the bars
 
#System Settings -> Themes -> Settings ... there you can change the width of the bars
 
 
#Menu -> Preferences -> Themes -> Settings (Top tab)
 
#Menu -> Preferences -> Themes -> Settings (Top tab)
 
#Turn off the overlay scrollbar and turn on the override scrollbar width. Ctrl+Alt+Esc will restart Cinnamon with the updated settings.
 
#Turn off the overlay scrollbar and turn on the override scrollbar width. Ctrl+Alt+Esc will restart Cinnamon with the updated settings.
 +
For ''(mint 18x3)'' go to:
 +
*NOTE: ''None of these methods have been successful in our testing with Mint 18.3''
 +
* Disable Overlay scroll bars.  Menu -> Preferences -> Effects
 +
* The default theme is called Mint-X.  There is a standard GUI panel to control this.  either dconf editor or manually edit theme css from console. (unresolved)
 +
sudo vi /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css
 +
Look for
 +
.scrollbar {
 +
    background-clip: padding-box;
 +
    -GtkRange-trough-border: 2;
 +
    -GtkScrollbar-has-backward-stepper: 0;
 +
    -GtkScrollbar-has-forward-stepper: 0;
 +
    -GtkRange-slider-width: 10;
 +
    -GtkScrollbar-min-slider-length: 30;
 +
    -GtkRange-stepper-spacing: 0;
 +
    -GtkRange-trough-under-steppers: 1;
 +
}
 +
Change -GtkRange-slider-width: 10; to something bigger.
 +
 +
Read: [[Scrollbar Width in Firefox Issue]]
 +
 +
===Dual Monitors with Cinnamon===
 +
 +
{{:Template-Dual Monitors with Cinnamon}}
  
 
== Useful system tools and software ==
 
== Useful system tools and software ==
Line 149: Line 205:
  
 
=== VNC Remote Desktop Viewer ===
 
=== VNC Remote Desktop Viewer ===
 +
'''REMMINA''' - **** 4 star
 +
 +
The [[Remmina]] VNC client is a good alternative to vinagre and works well with remote linux systems utilizing x11nvc server.  It supports screen scaling, compression, and dynamic resolution.  There are times where Remmina will not connect to certain other VNC servers (poorly written ones) and I have to go back to using vinagre or xtightvncviewer.
 +
 +
Recently Remmina has removed the VNC client part of the software and made it a "plugin" that has to be manually added.  It still works the same but there is a couple extra steps in the installation.
 +
 +
<small>
 
'''VINAGRE''' - *** 3 star
 
'''VINAGRE''' - *** 3 star
  
Line 155: Line 218:
  
 
I used to recommend Vinagre however Vinagre is neglected by its developers and has some problems.  Lately I have found Vinagre to become very sluggish while I am trying to operate a remote linux system that uses x11vnc server.  It will start off fine and become more sluggish to the point where control is impossible.  There is no condition race on the remote end.
 
I used to recommend Vinagre however Vinagre is neglected by its developers and has some problems.  Lately I have found Vinagre to become very sluggish while I am trying to operate a remote linux system that uses x11vnc server.  It will start off fine and become more sluggish to the point where control is impossible.  There is no condition race on the remote end.
 
'''REMMINA''' - **** 4 star
 
 
The [[Remmina]] VNC client is a good alternative to vinagre and works well with remote linux systems utilizing x11nvc server.  It supports screen scaling, compression, and dynamic resolution.  There are times where Remmina will not connect to certain other VNC servers (poorly written ones) and I have to go back to using vinagre or xtightvncviewer.
 
 
Recently Remmina has removed the VNC client part of the software and made it a "plugin" that has to be manually added.  It still works the same but there is a couple extra steps in the installation.
 
  
 
'''XTIGHTVNCVIEWER''' - *** 3 star
 
'''XTIGHTVNCVIEWER''' - *** 3 star
  
 
Using xtightvncviewer has never failed in connected to a remote VNC server of various types in my experience.  However, xtightvncviewer does lack some desired features such as screen scaling.  It is VERY FAST.  If the remote system utilizes a screen resolution at the same as your desktop or greater xtightvncviewer becomes awkward to use.
 
Using xtightvncviewer has never failed in connected to a remote VNC server of various types in my experience.  However, xtightvncviewer does lack some desired features such as screen scaling.  It is VERY FAST.  If the remote system utilizes a screen resolution at the same as your desktop or greater xtightvncviewer becomes awkward to use.
 +
</small>
 +
 +
=== [[PCManFM]]: Fast Light File Manager ===
 +
''UPDATE:  [[pcmanfm]] version 1.3.2 on updated Mint Linux Mint 21.1 Vera kernel 5.15.0-102 - do not use pcmanfm instead use the Qt port of the LXDE file manager PCManFM ie: pcmanfm-qt''
  
=== PCManFM: Fast Light File Manager ===
 
 
PCMan File Manager (PCManFM) is meant to be a replacement for Nautilus, Konqueror and Thunar.  PCManFM is the standard file manager in LXDE.   
 
PCMan File Manager (PCManFM) is meant to be a replacement for Nautilus, Konqueror and Thunar.  PCManFM is the standard file manager in LXDE.   
  
 
  apt install pcmanfm
 
  apt install pcmanfm
 +
 +
or for newer mint versions:
 +
 +
apt install pcmanfm-qt
  
 
Linux Mint with the Cinnamon desktop includes [[Nemo File Manager]] by default.  Nemo is fine.  Pcmanfm is another good file manager.
 
Linux Mint with the Cinnamon desktop includes [[Nemo File Manager]] by default.  Nemo is fine.  Pcmanfm is another good file manager.
  
pcmanfm does some useful things nemo does not do.  For example, to backup a file in the directory with pcmanfm simply click the filename, choose "copy" and then choose "paste" from the menubar.  pcmanfm will prompt you because the copy has the same filename as the original, and give you the option to rename, in which I simply change the extension to .bak or something like that.  This simple task that you can do in Microsoft Windows and in Linux using pcmanfm cannot be done with nemo!
+
<small><small><small>pcmanfm does some useful things nemo does not do.  For example, to backup a file in the directory with pcmanfm simply click the filename, choose "copy" and then choose "paste" from the menubar.  pcmanfm will prompt you because the copy has the same filename as the original, and give you the option to rename, in which I simply change the extension to .bak or something like that.  This simple task that you can do in Microsoft Windows and in Linux using pcmanfm cannot be done with nemo!</small></small></small>
  
 
Set the default environment file manager by: System Settings -> Preferred Applications -> (File Manager)
 
Set the default environment file manager by: System Settings -> Preferred Applications -> (File Manager)
 +
 +
See also [[Mint Linux Preferred Applications and Mimetype Management]] and as a resolution to the slow or broken SMB browsing see the [[PCManFM]] page troubleshooting.
  
 
===Clipboard Manager===
 
===Clipboard Manager===
Line 189: Line 255:
 
Debian Alarm Clock is a fully-featured alarm clock which resides in the notification area. It is easy to use yet powerful with support for multiple and repeatable alarms, as well as snoozing and a flexible notification system.  Two types of alarms are supported: Alarm Clocks and Timers. Notification is done by either playing a sound or launching an application.
 
Debian Alarm Clock is a fully-featured alarm clock which resides in the notification area. It is easy to use yet powerful with support for multiple and repeatable alarms, as well as snoozing and a flexible notification system.  Two types of alarms are supported: Alarm Clocks and Timers. Notification is done by either playing a sound or launching an application.
 
  sudo apt install alarm-clock-applet
 
  sudo apt install alarm-clock-applet
 +
 +
If you want a clock that is like a desklet but not really a desklet, that can stay on top of all other windows, try cairo-clock.  It can even show the date.  Configure to any size. 
 +
sudo apt install cairo-clock
  
 
=== Game Controller ===
 
=== Game Controller ===
Line 204: Line 273:
 
I clicked on an ogg file because I wanted to hear the audio and determine what the audio was.  An obnoxious POS bloatware opened called Rhythmbox launched, did not appear in the application bar and it immediately started sending and retrieving information to an online database.  This is not an efficient way to listen to an audio file.  WTF Mint devs?  Very Micro$oft Media of you.
 
I clicked on an ogg file because I wanted to hear the audio and determine what the audio was.  An obnoxious POS bloatware opened called Rhythmbox launched, did not appear in the application bar and it immediately started sending and retrieving information to an online database.  This is not an efficient way to listen to an audio file.  WTF Mint devs?  Very Micro$oft Media of you.
 
  sudo apt remove rhythmbox
 
  sudo apt remove rhythmbox
 +
 +
=== network tools ===
 +
traceroute - this stuff should be installed by default, but apparently are not.  Lame!
 +
sudo apt install inetutils-traceroute
 +
speedtest - why mess around with it in a web browser when you can do it from the command line?
 +
sudo apt install speedtest-cli
 +
 +
=== unclutter and xbanish ===
 +
One, or the other!
 +
 +
Hide the mouse cursor when not in use, for example, when typing this prevents the mouse cursor from getting in the way. Unclutter-xfixes is a rewrite of the popular tool unclutter, but using the x11-xfixes extension.  xbanish is an alternative to unclutter, untested here. Xbanish hides the mouse cursor when you start typing, and shows it again when the mouse cursor moves or a mouse button is pressed.
 +
 +
sudo apt install unclutter-xfixes
 +
or
 +
sudo apt install xbanish
  
 
== Software Applications ==
 
== Software Applications ==
  
 
=== Edit Text ===
 
=== Edit Text ===
[[Kate]] is a better text editor although there is a file open glitch on mint
+
[[medit]] is a GTK-based editor that offers all the basics and some extra features for specif tasks like programming code.  Medit has a tabbed interface, a side panel for quick filesystem browsing, and the ability to bookmark places in a file.  For editing normal text medit will use the color scheme of your desktop manager.  medit is written in C, C++, Lua, and Python.
  sudo apt install kate
+
  sudo apt install medit
  
=== Recommended Useful ===
+
<del>[[Kate]] is a better text editor although there is a file open glitch on mint<BR>sudo apt install kate</del>
 +
 
 +
I think as of late 2021 I would recommend having the two basic text editors 1) [[medit]] and 2) [[X File Write]] which for each have their merit and best suited purpose.
 +
 
 +
2024: Kate Version 21.12.3 is working well.  See [[Kate Advanced Text Editor]]
 +
 
 +
=== Terminal multiplexer ===
 
* [[tmux terminal multiplexer]]
 
* [[tmux terminal multiplexer]]
 
  sudo apt install tmux
 
  sudo apt install tmux
 +
 +
=== Virtual KVM ===
 +
x2x aka [[X Windows to X Windows]] is a keyboard and mouse sharing application allowing you to control two computers with one keyboard and mouse.  x2x allows the console (keyboard and mouse) on one X server to be used to control another X server.  It is a type of remote desktop software.
  
 
=== Image Viewer: gThumb ===
 
=== Image Viewer: gThumb ===
Line 223: Line 316:
 
Some preferences to recommend:
 
Some preferences to recommend:
 
* anti-aliasing makes images look blurry.  To disable it used to be Edit -> Preferences -> Image View and uncheck "smooth images" but since they switched to the awful hamburger menu system and stopped calling things by logical naming look for it under "Eyeball Icon thing on the upper left" -> Preferences -> Viewer -> change Zoom Quality to "Low" which doesn't really lower the quality, it just disables anti aliasing.  How dumb is that option label?
 
* anti-aliasing makes images look blurry.  To disable it used to be Edit -> Preferences -> Image View and uncheck "smooth images" but since they switched to the awful hamburger menu system and stopped calling things by logical naming look for it under "Eyeball Icon thing on the upper left" -> Preferences -> Viewer -> change Zoom Quality to "Low" which doesn't really lower the quality, it just disables anti aliasing.  How dumb is that option label?
 
=== Image Viewer: Geeqie ===
 
{{:Geeqie}}
 
 
=== Image Viewer: viewnoir ===
 
{{:Viewnoir}}
 
  
 
== Shell Environment Path ==
 
== Shell Environment Path ==
Line 247: Line 334:
  
 
== Enable Accessing CIFS Shares without static mounts in fstab ==
 
== Enable Accessing CIFS Shares without static mounts in fstab ==
  install cifs-utils
+
  sudo apt install cifs-utils
 
  sudo apt-get install gigolo
 
  sudo apt-get install gigolo
 
  sudo apt-get install gvfs-fuse
 
  sudo apt-get install gvfs-fuse
Line 254: Line 341:
 
OpenJDK Java Runtime
 
OpenJDK Java Runtime
 
  sudo apt install openjdk-8-jre
 
  sudo apt install openjdk-8-jre
 +
Refer to [[Default Java on Mint Linux]] for options with Java
  
 
== Wine ==
 
== Wine ==
Line 261: Line 349:
  
 
see also: [[Wine]] as a resource to using wine and installing windows software.
 
see also: [[Wine]] as a resource to using wine and installing windows software.
 
== Chrome rather than Chromium ==
 
{{:Chrome rather than Chromium}}
 
  
 
== Mint changes computer clock on reboot ==
 
== Mint changes computer clock on reboot ==
Line 282: Line 367:
  
 
== Troubleshooting and Annoyances ==
 
== Troubleshooting and Annoyances ==
=== Cinnamon Window List Applet Aligning Right ===
+
=== Debian Nerds Remove ALL RTSP Support ===
Note: Using dconf with Mint 18.3 Cinnamon desktop seems to work well, however, Mint 19.2 with Cinnamon 4.x the dconf procedure is not recommended.  Bad side effects.  Buggy implementation not properly updated for newer release of DM.
+
(''rtsp stream playing does not work in Ubuntu 21.04 and Debian 11'')<BR>
 
+
Mint 21.1 Vera Ubuntu 22.04 LTS has limited support for viewing rtsp protocol.  It seems ffplay still supports rtsp, however vlc does notDebian builds remove rtspBug report claims, " We had to disable those plugins as liblivemedia constains non-free code. "
''There's a couple different Window List Applets that can be active on the bottom panel.  One is "Window List" which is described in Solution #1 and the other is "Grouped Window List" which is described in Solution #2. There are a number of Applets that are available for addition and removal from the panel.  Some confusion exists on various solutions from online forums not taking into account which panel applet a user might have activated.''
+
* ffplay on mint supports rtsp
 
+
* no packages for livemedia-utils in default repositories
'''SOLUTION #1: Using dconf.  (Your mileage may vary)'''
+
* vlc will not play rtsp unless you use the snap or build from source.  - never - use the snap!
 
+
* mvp player works, apt install mpv
Why this starts to happen out of the blue after being fine prior makes no sense to me, however, it seems to happen. Here's the fix:
+
 
+
1. Install dconf Editor
+
sudo apt install dconf-tools
+
2. Open dconf Editor from the Cinnamon Menu
+
MENU -> Administration -> deconf Editor
+
3. There's a settings Tree on the left pane of dconf Editor.  You'll have to click on the following branches to the sub branch:
+
org -> cinnamon
+
4. Within the "org, cinnamon" branch look in the right pane and scroll down to find the bold face item "enable-applets"
+
  '''enable-applets'''
+
5. Once you click on "enabled-applets" a sub-pane will appear below on the right.  It will have labels like: Schema, Summary, Description, Type, and DefaultUnder "Default" find something that looks like:
+
'panel1:center:11:window-list@cinnamon.org',
+
To modify it you have to click on the label "enabled-applets" on the top part of the right pane, because the bottom part is read-onlyAs you make an edit on the top part, right of the label, where it is displayed as a single line, you will see the changes on the bottom read-only display panel.  Funky (or POS) design right?  I agree.  Your best bet is to copy the entire key, paste it into a text editor like Kate, make the edit, then copy and paste it back into where the key was copied from.  So, make the following change...
+
'panel1:left:11:window-list@cinnamon.org',
+
 
+
Step 5 may have some variations.  Those will be mentioned here when available.  You'll have to experiment.  Information source: [https://forums.linuxmint.com/viewtopic.php?f=208&t=94842&start=20#p543274 linuxmint.com forum topic Cinnamon 1.3 released...]
+
*Note: On Mint 19.2 Cinnamon 4.2.3 the process fix was different.  The values already were set to "left" and the fix that work was to slide the check for "Use default value"  This seemed to put application windows back to the left.
+
 
+
Problem observed with Cinnamon 3.6.6, above suggested resolution inapplicable as alignment already defined "left."  
+
 
+
Here's an example of default in Cinnamon 3.6.6 while alignment issue observed, Linux mint 18.3, and it still wrongly aligns right...
+
['panel1:right:0:systray@cinnamon.org', 'panel1:left:0:menu@cinnamon.org', 'panel1:left:1:show-desktop@cinnamon.org',
+
'panel1:left:2:panel-launchers@cinnamon.org', 'panel1:left:3:window-list@cinnamon.org', 'panel1:right:1:keyboard@cinnamon.org',
+
'panel1:right:2:notifications@cinnamon.org', 'panel1:right:3:removable-drives@cinnamon.org', 'panel1:right:4:user@cinnamon.org',
+
'panel1:right:5:network@cinnamon.org', 'panel1:right:6:bluetooth@cinnamon.org', 'panel1:right:7:power@cinnamon.org',
+
'panel1:right:8:calendar@cinnamon.org', 'panel1:right:9:sound@cinnamon.org']
+
 
+
The last item in the text box, panel1:right:0:window-list@cinnamon.org:13' should be changed to: 'panel1:left:9:window-list@cinnamon.org:13'
+
 
+
The "window-list" refers to the open applications, and the number after the left/right colon '0' is the priority.  Priority 0 means, put before other lists.  We want it to be '9' as in low priority rather than '0' or high priority, otherwise you end up with docked icons pushed to the right, and we don't want that.
+
 
+
update 2020: Just delete the line that refers to window-list@cinnamon.org, get rid of the entire thing after the ,
+
 
+
'''SOLUTION #2: Using Panel Edit Mode (recommended for Cinnamon 4.2.3)'''
+
 
+
On MS Windows it is known as the "taskbar" on Cinnamon it is the "panel." 
+
#Right click the panel when not over any active panel item and activate panel edit mode. 
+
#Remove the Applet called "Window List"
+
#Keep the Applet called "Grouped Window List"
+
 
+
The Grouped Window List applet still has a previous popup that is annoying and the applet settings does not offer a way to disable it.  Although the Grouped Window List Applet is named "grouped" you can disable Window grouping.  The advantage of the Grouped Window List applet is that it takes up less space in the panelEach open application appears as a square taking up less space.
+
 
+
Grouped Window List - there are two options relating to thumbnail preview and "show the window when hovering" which can be annoying, the latter being the most annoying.  You may or may not want to disable "Show Thumbnails" but I find the need to disable "Show the window when hovering its thumbnail" very necessary, what an obnoxious behavior!!!!
+
#Right Click any open application icon in the panel -> Preferences -> Configure
+
#On the GENERAL tab/button of the Grouped Window List dialog disable "Group windows by applocation"
+
#On the THUMBNAILS tab/button of the Grouped Window List dialog, Thumbnail, you may wish to disable "Show thumbnails," and in the same area under the "Hover Peek" heading I strongly recommend you disable "Show the window when hovering its thumbnail"
+
 
+
All of this applies to Mint 19.2 with Cinnamon 4.x.  I am sure the devs will change all of the feature names and locations, add more obnoxious crap, and make it increasingly obfuscated to control or disable by the next release.
+
  
 
=== Reset / Restart Cinnamon w/o closing all other programs ===
 
=== Reset / Restart Cinnamon w/o closing all other programs ===
Line 359: Line 396:
 
deafault actions you need to edit the following file from command line
 
deafault actions you need to edit the following file from command line
 
*    ~/.local/share/applications/defaults.list
 
*    ~/.local/share/applications/defaults.list
 +
 +
=== Canonical assumes everyone uses public wifi ===
 +
A new feature in Ubuntu and Mint as part of the Network Manager is a connectivity checker that creates unnecessary and potentially suspicious looking network activity on your computer.  It is an ugly hack developers came up with to address certain shortcomings with Ubuntu and Mint's ability to stay connected to public Internet wifi hotspots. 
 +
 +
{{:Ubuntu_/_Mint_Linux_Users:_disable_Network_Manager_connectivity_checks}}
  
 
=== Font anti-aliasing ===
 
=== Font anti-aliasing ===
Line 409: Line 451:
 
  gnome-terminal -e "bash -c /chooser/nicolescript.sh; bash"
 
  gnome-terminal -e "bash -c /chooser/nicolescript.sh; bash"
 
Just checking "run in terminal" when you initially create the launcher shortcut does not work since 19.2.  See [https://www.linuxquestions.org/questions/linux-mint-84/mint-19-1-bash-scripts-no-longer-work-from-desktop-launcher-4175644847-print/ this discussion on linuxquestions.org] for details.
 
Just checking "run in terminal" when you initially create the launcher shortcut does not work since 19.2.  See [https://www.linuxquestions.org/questions/linux-mint-84/mint-19-1-bash-scripts-no-longer-work-from-desktop-launcher-4175644847-print/ this discussion on linuxquestions.org] for details.
 +
 +
=== Gaming Annoyance: Control Shift + Arrow key switches workspace ===
 +
Don't you love it in the middle of FPS combat you hit a key combination that not only takes focus away from the game you're playing, but moves you to another virtual workspace?  The assholes that made Mint didn't give us an option to disable this.  However, we can remap the default to a different key combination.  Here is the recommendation:
 +
# System Settings -> (Hardware) Keyboard -> Shortcuts
 +
# Categories (General) -> remap Show the Window Selection Screen to Shift-Control-Alt-Down
 +
# Categories (General) -> remap Show the Workspace Selection Screen to Shift-Control-Alt-Up
 +
# Categories (Workspaces) -> remap Switch to left workspace to Shift-Control-Alt-Left
 +
# Categories (Workspaces) -> remap Switch to right workspace to Shift-Control-Alt-Right
 +
 +
We basically just added an additional key combination requirement that is less likely to interfere with gaming.
 +
 +
===Window List Popup Thumbnails and Open Applications Alighment===
 +
Issues like the annoying application thumbnails and the alignment of the Window List applet can be customized:
 +
* See [[Mint Cinnamon Desktop Window List Applet Preferences]]
 +
 +
=== Troubleshooting Linux Mint ===
 +
Additional problems and known resolutions are documented in [[Mint Linux Troubleshooting]].
  
 
== Related ==
 
== Related ==
Line 414: Line 473:
 
*[[Kubuntu and Ubuntu Linux Distribution Reference]]
 
*[[Kubuntu and Ubuntu Linux Distribution Reference]]
 
*[[Dual Boot Linux and Linux]]
 
*[[Dual Boot Linux and Linux]]
 +
*[[Mint Linux Troubleshooting]]
 +
*[[Desktop Applications for Debian Based Linux Distributions]]
 +
*[[Installing Wine 7 on Mint Linux 20.1]]
 +
*[[Mint Linux Preferred Applications and Mimetype Management]]
  
 
[[Category:Computer_Technology]]
 
[[Category:Computer_Technology]]
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 21:00, 19 August 2024

Mint Linux is based on Debian and some consider a fork of Ubuntu- the Long Term Support (LTS) Ubuntu distributions. Therefore, many of the customizations mentioned in Kubuntu and Ubuntu Linux Distribution Reference are applicable to Mint. A distribution based on and compatible with Ubuntu, which is shipped with integrated proprietary or patented media codecs.

Mint is more user friendly, stable, and supports 3D acceleration better than Ubuntu. For frustrated Ubuntu users, Mint just might be the answer.

You can obtain Linux Mint from their official web site. Downloading using the torrent option is recommended. Verify your download via checksum and create a Mint Linux Bootable Installation Media.

Reference New Linux Workstation Post Installation Tips for other post installation suggestions that apply to Mint.

To determine what version of Mint that you currently have installed,

cat /etc/apt/sources.list

The default windows manager / desktop environment is called Cinnamon. The Cinnamon Desktop is an independent desktop environment that retains many features that users appreciated in GNOME. The toolbar is called the Cinnamon Panel.

The majority of suggestions here are applicable to Linux Mint with Cinnamon relatively recent versions: tested on Mint distributions 18.1, 18.3, 19.2

18.3 	Sylvia 	Ubuntu Xenial 16.04                19.1 	Tessa 	Ubuntu Bionic 18.04
19 	Tara 	Ubuntu Bionic 18.04                19.2 	Tina 	Ubuntu Bionic 18.04
20.1    Ulyssa  Ubuntu Focal Fossa 20.04           21.1         Vera    Ubuntu Jammy 22.04 LTS 

See: Determining Your Linux Version and Ubuntu Debian version Cross Reference

Contents

first things first

Info from this section is covered in more detail here: Mint Linux Bootable Installation Media

An example of how to verify your ISO download:

$ sha256sum -b linuxmint-19.2-cinnamon-64bit.iso
a05a06b79ff12a747a187aa9a87c5ba1f7e0c1814cda714556603901e2001512 *linuxmint-19.2-cinnamon-64bit.iso

compare to: https://ftp.heanet.ie/mirrors/linuxmint.com/stable/19.2/sha256sum.txt

Create a bootable USB flash media from the ISO. The easiest way to install Linux Mint is with a USB flash drive.

  1. Insert the flash drive, allow it to mount automatically if there is a mountable system otherwise no worries.
  2. Menu -> Accessories -> USB Image Writer
  3. Select the ISO file and the destination USB flash drive.

Secure Shell Support for Remote Login

I don't know why they do not include SSH by default. Allows remote secure terminal shell connection.

sudo apt install openssh-server openssh-client 
sudo service ssh start

Mint comes with a lame vim

Get full vim

sudo apt install vim

If the system has already made nano (for n00bs from windowz) your default editor, you may have to

sudo update-alternatives --config editor

and select vim.

Recommended web browsers

Before you Uninstall Firefox install the replacement as a browser must be present for some of the help system of mint.

Here are some recommended web browsers. The most recommended two are Pale Moon and Epiphany/Gnome Web.

Small and Lightweight backup browser: Epiphany

The Epiphany Browser aka Gnome Web is small, fast, efficient, and capable! It even renders Google Apps (almost) correctly like Voice and Gmail.

sudo apt install epiphany-browser

Install Pale Moon Web Browser

Imagine the classic Firefox before they destroyed it (current Firefox developers are more political than skilled.)

It is recommended that you install Pale Moon and forget Firefox altogether. It works like the classic Firefox and it is efficient, fast, and more stable.

Additional web browsers

The Firefox web browser is not what it used to be. At one time, it was the top recommended web browser. Lets be honest, today Firefox is total rubbish. However, the ESR version is less rubbish as compared to the standard version.

Mint, like most distributions package the Chromium web browser rather than the full version of Google Chrome. At one time it was recommended to go ahead and replace Chromium with the full version of Google Chrome. This is no longer the case, as of this time you should consider retaining Chromium unless there is something that specifically requires Chrome.

Firefox ESR Version

The Firefox Extended Support Release so that you don't get forcefully upgraded to the dreaded Quantum 57.

  1. Open Software Manager
  2. In the search box type "Firefox" and click "remove"
  3. Close Software Manager
  4. Launch Software Sources (Menu button - Administration - Software Sources)
  5. Choose PPAs and +Add a new PPA
  6. enter: ppa:mozillateam/ppa
  7. Click "update the cache" and close Software Sources
  8. Open Software Manager
  9. In the search box type "Firefox-esr" and when located "install"

See also: Firefox , Favorite Firefox Extensions

Chromium

It seems like 19.2 doesn't default to preloading Chromium. Chromium is a free and open-source software project that Google uses the code to make its Chrome browser, which has more features than Chromium. Many other browsers are also based on Chromium code, most notably Microsoft Edge and Opera. Read the Differences Between Google Chromium and Chrome Web Browsers.

If you want it, here is how to install it:

sudo apt install chromium-browser

If you can get by with Chromium it is recommended over Chrome.

Chrome rather than Chromium

Google Chrome is not FOSS. But it does stuff Chromium does not do. You can replace Chromium with Chrome, or have them both on the system. You do not have to choose one or the other because you can have them both.

Apparently in Mint 18.3 Chrome cannot be installed via the Mint Software manager. Instead we shall go to console and install it.

  • Create a text file in the path /etc/apt/sources.list.d
cd /etc/apt/sources.list.d
vi chrome.list
  • Add the following text to the newly created chrome.list file
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  • Download the current signed key [ THIS METHOD IS OUTDATED AND DOES NOT WORK ON MINT 22.0 ]
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
apt-get update
  • Install Google Chrome from the new repository
apt install google-chrome-stable

This procedure was verified in 2017 on Mint 18.3 Sylvia installed Google Chrome Version 63.0.3239.108 (Official Build) (64-bit)

***note:Although Ubuntu requires the repository be added manually as shown above, it is probably not necessary with Mint as this distribution allows non-FOSS. Try installing w/o adding the repo first.

***note:sudo can be used with the deb command, but cannot be used with wget to add the key (for some reason) so you may have to sudo bash then use wget to update key.

dearmor

Section addressing GPG error NO_PUBKEY. Linux Mint 22.00 and apt-key is fully deprecated as it no longer works at all. To work though the GPG horror show it is important to understand the two paths you need to add or modify files in, they are:

  1. /usr/share/keyrings/
  2. /etc/apt/sources.list.d/

You will need to sudo everything to do this. The first path is where the actual GPG key goes for Google Chrome (the software we are installing in this case). The second path is where you add the new software source.

Step #1 - Get that lousy asinine key you need since the devs think everyone is out to get you. execute:

sudo wget -qO- https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg > /dev/null

Critical: The "--dearmor" command line switch seems to make this work. Without that, the key is not readable by APT on Mint 22. Very the key file was created in /usr/share/keyrings/

ls -laF /usr/share/keyrings/

You will want to see the file "google-chrome.gpg" with 644 file permissions and a size of at least 12K or better (so we know it is not null).

Step #2 - Add the "Additional Repository" to software sources. You can use the Software Sources GUI or you can create an independent file for chrome, lets do the file method for this example

sudo vi /etc/apt/sources.list.d/google-chrome.list

add the following line of text which has the repository as well as the file path to the asinine key that we now have to cope with.

deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main

Now you should run

sudo apt update

note: It does not matter if you create the file "google-chrome.list" in /etc/apt/sources.list.d/ or if you add the line in "additional-repositories.list" as long as it includes the path to the signed key gpg file.

Enjoy this solution until the dev nerds decide to change it again and make it even more complicated!

UI Preferences and Features

launch Welcome Screen

At the console prompt type:

/usr/bin/python3 /usr/bin/mintwelcome-launcher &

Application Grouping

Right click on the panel, go to "+ Add applets to the panel". The applet, "Grouped window list" should be modified, it is the one that adds the grouping and turn off "Group Windows by Application". Verified 19.2

Cinnamon Task Bar Thumbnail Previews

When the mouse cursor is over a running program label and icon in the task bar a preview window opens up to show a mini view of the running program application. Sometimes this is an annoyance when the user inadvertently parks the mouse cursor at the bottom of the screen out of the way while working, causing the preview window to pop up and cover part of the workspace. The preview feature can be disabled, the setting is a little bit buried. To disable (or enable):

Instructions for older versions of mint before 19

  1. click the Menu and Hover the mouse cursor over the Preferences icon under "All Applications"
  2. In the next column over a list selection will appear, scroll up and click on "Applets"
  3. In the Applets dialog under the Installed Applets list scroll down and locate "Window List"
  4. There are two icon symbols on the right side of "Window List," click on the gears (configure)
  5. Under "Display" toggle "Show window thumbnails on hover" on or off

Note: if the Configure gear icon is grayed out then you have to click the plus [+] button on the bottom of the Applets dialog window. For some reason "Window List" although present is not fully installed? or apparently something to that effect. Clicking the plus button causes the configure gear icon to become available.  

Instructions for newer versions of mint including and after 19

  1. click menu -> Preferences -> Applets
  2. Locate "Grouped window list" and if the gear is available click it (settings)
  3. In the "Grouped window list" applet click the "Thumbnails" tab/button
  4. Disable slider for "show thumbnails"

Note: Verified on Linux Mint 19.2 Cinnamon 4.2.3

Disable Annoying Sound Menu Integration

Audio/video players like Banshee and VLC integrate themselves into the otherwise small and efficient volume control sound menu making it big and obnoxious, covering up other software interfaces. This is a problem when in a VoIP call and the volume needs adjusted, just as one example. Integration removal instructions.

  • Mint Extension SoundMenu deprecated - because Mint no longer uses -extension-soundmenu for integration, try changing the applet settings as an alternative (see below).
  • Mint 18.3 Cinnamon 3.6.6 (verified) - To disable sound applet integration do the following:
  1. Right click the speaker applet icon on the panel.
  2. Choose "Configure"
  3. Under the "Menu" heading disable "Control Players"
  4. Under the "Panel" heading disable "Hide system tray icons for compatible players"
  • Note: Offending software such as Rhythmbox and Clementine still do not appear as a listed app in the panel if you click the X to close it, it will remain open and doc in the task area of the panel.

Enable Output to Both Headphones and Sound Card System Speakers

When you connect headphones you lose sound out the external speakers. In fact, in the audio settings you lose access to the external speaker control. How annoying!

Disable Annoying Window Snapping

Linux Mint Desktop Snap Mode in Cinnamon behavior is controlled here:

  • Preferences -> System Settings -> Window Tiling

The option is to disable "Enable Window Tiling and Snapping"

When it is enabled it does terrible things while you try to click and drag a software window.

Resource: [Window snaps to full screen], Legacy: cinnamon settings > windows and there untick Enable Edge Tiling ("Aero Snap") or System Settings > Workspace Behavior > Screen Edge, or System Settings > Shortcuts and Gestures > Global Keyboard Shortcuts select KWin in the KDE component selection box and set keyboard shortcuts for the quick tile actions that you do want.

Active Numlock w Notification

As of Linux Mint Sylvia without regards to the numlock state at boot the numlock will be inactive when the desktop is loaded. The numlock default state can be modified only after installing a package.

sudo apt install numlockx

then adding a line to the file 90-slick-greeter.conf by using the text editor of your choice. In this example we use vim.

sudo vi /usr/share/lightdm/lightdm.conf.d/90-slick-greeter.conf

then adding the following line of code at the end:

greeter-setup-script=/usr/bin/numlockx on

save and reboot.

It is also nice to have an indicator on the numlock state as to show status and status change. The following is helpful but not necessary.

  1. Menu -> Settings -> Accessibility -> Keyboard
  2. under "Keyboard Indicators" enable "Use visual indicator on Caps and Num Lock"
  3. also under "Keyboard Indicators" enable "Use audio indicator on Caps and Num Lock"

NOTE: You can make the numpad always produce numbers without regards to the numlock state. The Mint Linux Numeric Keypad Always Active uses a trick that emulates the behavior of a Macintosh keyboard in which the numeric keypad always produces numbers as if the numlock option did not exist.

Monitor going black and power saver

For Linux Mint 18.3 (and probably versions close to this):

  • Menu -> Preferences -> Power Management -> Power Options
  • Menu -> Preferences -> Screensaver -> Settings

Menu Application Editing

Some changes in the menu include: longer, more annoying software names. For example, GIMP version 2.8 uses the name "GNU Image Manipulation Program" which is far too long, when in the past it was simply "Gimp." This and any other software in the Menu can be edited.

  • Right-Click Menu -> choose "Configure" -> then click "Menu" as opposed to "Panel" -> click "Open the menu editor"

Fatten up those skinny scrollbars

For (mint 19.x) go to:

  1. System Settings -> Themes -> Settings ... there you can change the width of the bars
  2. Menu -> Preferences -> Themes -> Settings (Top tab)
  3. Turn off the overlay scrollbar and turn on the override scrollbar width. Ctrl+Alt+Esc will restart Cinnamon with the updated settings.

For (mint 18x3) go to:

  • NOTE: None of these methods have been successful in our testing with Mint 18.3
  • Disable Overlay scroll bars. Menu -> Preferences -> Effects
  • The default theme is called Mint-X. There is a standard GUI panel to control this. either dconf editor or manually edit theme css from console. (unresolved)
sudo vi /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css

Look for

.scrollbar {
    background-clip: padding-box;
    -GtkRange-trough-border: 2;
    -GtkScrollbar-has-backward-stepper: 0;
    -GtkScrollbar-has-forward-stepper: 0;
    -GtkRange-slider-width: 10;
    -GtkScrollbar-min-slider-length: 30;
    -GtkRange-stepper-spacing: 0;
    -GtkRange-trough-under-steppers: 1;
}

Change -GtkRange-slider-width: 10; to something bigger.

Read: Scrollbar Width in Firefox Issue

Dual Monitors with Cinnamon

If you choose NOT to mirror then you will notice that your second monitor is an empty desktop without icons and without a panel. Cinnamon version 2.6 and later support applets and panels on the second display. You can add a panel to your second monitor by doing the following: Right-click the panel on your primary monitor and select "Modify panel" and "Add panel." The top and bottom edges of all monitors should get highlighted and a new panel will be set up where you click.

The menu and applications will align right on the second panel on the second display. You are supposed to be able to change this by choosing to enable panel edit mode and drag and drop the Window list to the left side of the panel (red colored). However, like many things in Linux this is broken. Maybe it will be fixed on the version of Cinnamon that you are using.

Issues like the annoying application thumbnails and the alignment of the Window List applet can be customized:

Useful system tools and software

vncserver as a boot service

A VNC server is a program that shares a desktop with other computers over a network. Vino is the default VNC server in Mint Linux. x11vnc is another VNC server that uses tcl/tk based GUI and is not dependent on any one particular graphical environment.

The default VNC Server only lets you connect remotely once the user has logged into Cinnamon. This is not useful for a remote headless system. To configure the VNC Server to start with the system and listen before a user is logged in locally the vncserver must be configured to start with the system services. For this it is the most simple to install x11vnc. In this guide we will configure vncserver as a boot service.

If you reboot the system you can still get in as this will allow vnc server to share the login screen. Screen resolution adjustment after login may cause the connection to reset, however, you can reconnect and you're in like Flynn.

Vino is crap, we'll remove it, install x11vnc and set a default password, which is the password client will use to connect.

sudo apt-get -y remove vino
sudo apt install x11vnc
sudo mkdir /etc/x11vnc
sudo x11vnc --storepasswd /etc/x11vnc/vncpwd

Now to make x11vnc server start as a system service

sudo vi /lib/systemd/system/x11vnc.service

Now you're in the text editor and you need to add the following lines:

[Unit]
Description=Start x11vnc at startup.
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd -rfbport 5900 -shared

[Install]
WantedBy=multi-user.target

Save and exit vi, go back to command prompt and type:

sudo systemctl daemon-reload
sudo systemctl enable x11vnc.service
sudo systemctl start x11vnc.service
  • verified: Mint 18.3 Sylvia 2/15/2018, Mint 19.2 Tina 8/30/2019, Mint 21.3, Mint 22.0 10/2024

Troubleshooting:

Check to see if x11vnc.service is running

sudo systemctl status x11vnc.service

View log when no default path is specified in ExecStart

cat /var/log/syslog|grep x11vnc

VNC Remote Desktop Viewer

REMMINA - **** 4 star

The Remmina VNC client is a good alternative to vinagre and works well with remote linux systems utilizing x11nvc server. It supports screen scaling, compression, and dynamic resolution. There are times where Remmina will not connect to certain other VNC servers (poorly written ones) and I have to go back to using vinagre or xtightvncviewer.

Recently Remmina has removed the VNC client part of the software and made it a "plugin" that has to be manually added. It still works the same but there is a couple extra steps in the installation.

VINAGRE - *** 3 star

The vinagre software allows you to remote connect to another computer via protocols such as vnc and rdp.

apt install vinagre

I used to recommend Vinagre however Vinagre is neglected by its developers and has some problems. Lately I have found Vinagre to become very sluggish while I am trying to operate a remote linux system that uses x11vnc server. It will start off fine and become more sluggish to the point where control is impossible. There is no condition race on the remote end.

XTIGHTVNCVIEWER - *** 3 star

Using xtightvncviewer has never failed in connected to a remote VNC server of various types in my experience. However, xtightvncviewer does lack some desired features such as screen scaling. It is VERY FAST. If the remote system utilizes a screen resolution at the same as your desktop or greater xtightvncviewer becomes awkward to use.

PCManFM: Fast Light File Manager

UPDATE: pcmanfm version 1.3.2 on updated Mint Linux Mint 21.1 Vera kernel 5.15.0-102 - do not use pcmanfm instead use the Qt port of the LXDE file manager PCManFM ie: pcmanfm-qt

PCMan File Manager (PCManFM) is meant to be a replacement for Nautilus, Konqueror and Thunar. PCManFM is the standard file manager in LXDE.

apt install pcmanfm

or for newer mint versions:

apt install pcmanfm-qt

Linux Mint with the Cinnamon desktop includes Nemo File Manager by default. Nemo is fine. Pcmanfm is another good file manager.

pcmanfm does some useful things nemo does not do. For example, to backup a file in the directory with pcmanfm simply click the filename, choose "copy" and then choose "paste" from the menubar. pcmanfm will prompt you because the copy has the same filename as the original, and give you the option to rename, in which I simply change the extension to .bak or something like that. This simple task that you can do in Microsoft Windows and in Linux using pcmanfm cannot be done with nemo!

Set the default environment file manager by: System Settings -> Preferred Applications -> (File Manager)

See also Mint Linux Preferred Applications and Mimetype Management and as a resolution to the slow or broken SMB browsing see the PCManFM page troubleshooting.

Clipboard Manager

  • Parcellite is a lightweight GTK+ based clipboard manager for Linux with a small memory footprint. It is a good choice for Mint since Cinnamon is GTK+. Note that another clipboard manager called ClipIt is forked from Parcellite and may be worth trying.
sudo apt install parcellite

GUI Search Tool

PCManFM does not have a built in file search tool, although Nautilus does. If you do not wish to drop to console, you can do a search with gnome-search-tool. GNOME Search Tool is a utility for finding files on your system. GNOME Search Tool uses the find, grep, and locate UNIX commands.

sudo apt install gnome-search-tool
  • note: may require additional repository ...

Clock, Timer, Alarm

Debian Alarm Clock is a fully-featured alarm clock which resides in the notification area. It is easy to use yet powerful with support for multiple and repeatable alarms, as well as snoozing and a flexible notification system. Two types of alarms are supported: Alarm Clocks and Timers. Notification is done by either playing a sound or launching an application.

sudo apt install alarm-clock-applet

If you want a clock that is like a desklet but not really a desklet, that can stay on top of all other windows, try cairo-clock. It can even show the date. Configure to any size.

sudo apt install cairo-clock

Game Controller

Tested with Sony PS3 Sixaxis

sudo joystick
apt install jstest-gtk

See also: Game Controller Support in Linux

Wordpad / Writer Equivalent

UPDATE: DO NOT INSTALL ABIWORD. For example, Abiword 3.0.1 many users report freezing constantly, and lag behavior. This once useful document writer is now complete rubbish. Abiword Freezes Abiword Hangs Why is Abiword so useless

  • alternative currently being sought

remove rhythmbox

I clicked on an ogg file because I wanted to hear the audio and determine what the audio was. An obnoxious POS bloatware opened called Rhythmbox launched, did not appear in the application bar and it immediately started sending and retrieving information to an online database. This is not an efficient way to listen to an audio file. WTF Mint devs? Very Micro$oft Media of you.

sudo apt remove rhythmbox

network tools

traceroute - this stuff should be installed by default, but apparently are not. Lame!

sudo apt install inetutils-traceroute

speedtest - why mess around with it in a web browser when you can do it from the command line?

sudo apt install speedtest-cli

unclutter and xbanish

One, or the other!

Hide the mouse cursor when not in use, for example, when typing this prevents the mouse cursor from getting in the way. Unclutter-xfixes is a rewrite of the popular tool unclutter, but using the x11-xfixes extension. xbanish is an alternative to unclutter, untested here. Xbanish hides the mouse cursor when you start typing, and shows it again when the mouse cursor moves or a mouse button is pressed.

sudo apt install unclutter-xfixes

or

sudo apt install xbanish

Software Applications

Edit Text

medit is a GTK-based editor that offers all the basics and some extra features for specif tasks like programming code. Medit has a tabbed interface, a side panel for quick filesystem browsing, and the ability to bookmark places in a file. For editing normal text medit will use the color scheme of your desktop manager. medit is written in C, C++, Lua, and Python.

sudo apt install medit

Kate is a better text editor although there is a file open glitch on mint
sudo apt install kate

I think as of late 2021 I would recommend having the two basic text editors 1) medit and 2) X File Write which for each have their merit and best suited purpose.

2024: Kate Version 21.12.3 is working well. See Kate Advanced Text Editor

Terminal multiplexer

sudo apt install tmux

Virtual KVM

x2x aka X Windows to X Windows is a keyboard and mouse sharing application allowing you to control two computers with one keyboard and mouse. x2x allows the console (keyboard and mouse) on one X server to be used to control another X server. It is a type of remote desktop software.

Image Viewer: gThumb

Xviewer is the default image viewer installed in Mint 18. You may find that Xviewer is lacking some useful features in an image viewer. Gimp is also included in Mint however Gimp is quite a bit more than an image viewer, and most people are looking for something lightweight in an image viewer. The current best alternative to Xviewer in cinnamon 3.6.6 is gThumb version 3.4.3 and some other alternatives include Geeqie and viewnoir. I don't like how gThumb devs switched to the stupid hamburger menu style interface, however gThumb is the best of the choices at present.

gThumb is an image viewer with basic image editing tools, like cropping, image resizing, image enhancement and more.

apt install gThumb

Some preferences to recommend:

  • anti-aliasing makes images look blurry. To disable it used to be Edit -> Preferences -> Image View and uncheck "smooth images" but since they switched to the awful hamburger menu system and stopped calling things by logical naming look for it under "Eyeball Icon thing on the upper left" -> Preferences -> Viewer -> change Zoom Quality to "Low" which doesn't really lower the quality, it just disables anti aliasing. How dumb is that option label?

Shell Environment Path

Simply...

Adding to the PATH for ALL USERS can be done like this:

  • edit /etc/profile, put the modified PATH in there.
PATH=$PATH:/your/path; export PATH

Add that line to the bottom of /etc/profile

See also: Linux Shell Environment Path for more ways to edit the PATH such as on a per-user basis.

Put important LAN addresses in /etc/hosts

This is primarily for the LAN file server or any machine you wish to access shares on, and only machines that have a static IP address.

vi /etc/hosts

You'll need this if you put any shares in /etc/fstab ref: New_Linux_Workstation_Post_Installation_Tips#CIFS_Windows_file_share_connectivity

Enable Accessing CIFS Shares without static mounts in fstab

sudo apt install cifs-utils
sudo apt-get install gigolo
sudo apt-get install gvfs-fuse

Java

OpenJDK Java Runtime

sudo apt install openjdk-8-jre

Refer to Default Java on Mint Linux for options with Java

Wine

The Windows emulator, I mean, Wine Is Not an Emulator...

To use a current version of wine we do not want to go though the Software Manager in Mint. A current version of wine is available from the wine repository.

  1. open the "Software Sources" control panel and click "Authentication Keys"
  2. At the bottom click "Download a key" and enter: https://dl.winehq.org/wine-builds/Release.key (** If this fails, see "add key via console below") JUST USE CONSOLE
  3. Click "Additional repositories" choose "+Add a new repository" and enter: deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main SEE NOTE BELOW FOR VERSIONS
  4. Click the "Update cache" button
  5. From console type: sudo apt install --install-recommends winehq-stable -y
  6. Configure: winecfg

note 1 ***: Add key via console, goto terminal and enter (instructions for step 2)

sudo wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key

or try the legacy method

apt-key adv --keyserver keyserver.ubuntu.com --recv 76F1A20FF987672F


WINE REPOSITORY VERSIONS

  • Mint 18.3 deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
  • Mint 19.x deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
  • Mint 21.x deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main

see also: Wine as a resource to using wine and installing windows software.

Mint changes computer clock on reboot

This is only noticed on a dual boot machine when the other OS is Microsoft Windows. On a dual boot system, or comparing bios time to the time in Mint- Windows tries to keep HW clock at the local time. Linux tries to keep them at the UTC.

The fix for Mint 18 or newer is to execute this:

sudo timedatectl set-local-rtc 1

Related Issue on Ubuntu (for reference): Ubuntu_Troubleshooting#Ubuntu_changes_computer_clock_on_reboot

The folks over at Mint don't want you to use local time. Here's the warning:

Warning: The system is configured to read the RTC time in the local time zone.
         This mode can not be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.

Troubleshooting and Annoyances

Debian Nerds Remove ALL RTSP Support

(rtsp stream playing does not work in Ubuntu 21.04 and Debian 11)
Mint 21.1 Vera Ubuntu 22.04 LTS has limited support for viewing rtsp protocol. It seems ffplay still supports rtsp, however vlc does not. Debian builds remove rtsp. Bug report claims, " We had to disable those plugins as liblivemedia constains non-free code. "

  • ffplay on mint supports rtsp
  • no packages for livemedia-utils in default repositories
  • vlc will not play rtsp unless you use the snap or build from source. - never - use the snap!
  • mvp player works, apt install mpv

Reset / Restart Cinnamon w/o closing all other programs

Enter ALT + F2 to go into "run command" then type the letter "r" and press enter - this will restart cinnamon, however, your cinnamon preferences will also be reset.

From console

pkill -HUP -f "cinnamon --replace"

Edit the "Open with" right click menu

Edit the mimeinfo.cache file

vi /usr/share/applications/mimeinfo.cache

Furthermore, the file -> click "Properties" -> click "Open with" is based on a list of .desktop files in /usr/share/applications

And there is also a tool called "alacarte" and using it to move or create an application a new .desktop file gets placed inside ~/.local/share/applications

If you want to delete applications from this list you have to edit the following file from command line

  • /usr/share/applications/mimeinfo.cache

If you added item by yourself, or you want to add new item you need to edit the following file from command line

  • ~/.local/share/applications/mimeinfo.cache

deafault actions you need to edit the following file from command line

  • ~/.local/share/applications/defaults.list

Canonical assumes everyone uses public wifi

A new feature in Ubuntu and Mint as part of the Network Manager is a connectivity checker that creates unnecessary and potentially suspicious looking network activity on your computer. It is an ugly hack developers came up with to address certain shortcomings with Ubuntu and Mint's ability to stay connected to public Internet wifi hotspots.

  • You can disable connectivity checking inside the menu: Preferences -> System settings -> Privacy -> Connectivity.

In the System Settings dialog under "Internet connectivity" is an ON/OFF toggle with the description: "Check that network connections can reach the Internet. This makes it possible to detect captive portals, but also generates periodic network traffic."

You DO NOT NEED nor benefit from connectivity checks if you are on your home computer connected to your own LAN or on an office computer connected to an office LAN, especially if connected via an Ethernet cable as opposed to wireless. It is best to disable it unless you are using a laptop and plan on visiting an Internet Cafe (or public wifi)!

Font anti-aliasing

This one is not for everybody. Desktop fonts, text fonts in the web browser, and in many areas of the mint desktop environment are made to look soft and smooth, this is purely an aesthetics quality that offers no functionality. It looks pretty. It also gives some people a headache trying to read text on a web page or on the desktop that is fuzzy. If you disable what is called HINTING and ANTIALIASING then, with a good LCD monitor, your fonts will be sharp and crisp, but will also take you back in time to the 1990's in that they will appear jagged. So, therefore, this modification is a personal preference. I will trade the clean refinement of soft text in an effort to relieve my headache and eye strain.

To enable old fashioned jagged nasty looking (but sharp and easy on eye strain) fonts I have found this 1 - 2 punch combination to work.

1. drop to terminal shell and execute the following commands:

sudo mv /etc/fonts/conf.d/10-antialias.conf /etc/fonts/conf.d/.disable.10-antialias.conf
sudo mv /etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.avail/.disable.10-antialias.conf

2. In Mint Cinnamon desktop goto MENU -> Preferences -> Fonts and in the "Font Settings" area change HINTING to "slight" and Antialiasing to "None"

In the case of Firefox I did not notice a difference right away. It seems like the system had to flush some visual cache but once that happened I got those good old fashioned jagged sharp text back. This impacts desktop icons, menu text, browser text, but some things are not impacted such as Konsole (the KDE terminal uses different font properties) and similar software.

The changes are easy to undo. Simply reverse the process above.

THERE ARE PROBABLY BETTER WAYS TO IMPROVE FONTS to find a happy middle ground between modern anti-aliasing and not having fuzzy headache inducing text. Some examples are making use of resources such as installing "Typecatcher Fonts"

sudo apt-get install typecatcher

Another option people recommend is installing something called "Droid and Noto fonts"

sudo apt-get install fonts-droid fonts-noto

And finally, going back to MENU -> Preferences -> Fonts you can configure the environment to use one of the new fonts you just installed.

Stop Automatically mounting partitions I don't want automatically mounted

These are partitions not even listed in /etc/fstab and Mint mounts them all even if I don't want them to be mounted. For example, I don't want sda3 to auto mounted, because I don't want userlevel access to that partition unless I manually choose to mount and access it.

Solution: Even though it isn't listed in fstab, and here is the logic... You have to add it to fstab and tell it not to auto mount. ?!?!?!?! yeah that's right! -or- you can do it the GUI way by the following steps:

  1. Mint Menu -> Accessories -> Disks -> select the partition on the left.
  2. click the "gear" icon below the partition table image (settings) and choose "Edit mount options"
  3. turn off "use session defaults" and uncheck "mount at startup"

Command not found, did you mean

An annoying little waste of programming code feature added to recent distributions:

$ baby
Command 'baby' not found, did you mean:
 command 'laby' from deb laby
Try: sudo apt install <deb name>

Can be disabled for the current user shell by doing this:

unset command_not_found_handle

Or always for the current user:

vi /etc/bash.bashrc

and add "unset command_not_found_handle" Or globally disabled for all users on the system:

sudo apt-get remove command-not-found command-not-found-data

Cannot run a Bash shells script from a Launcher in Mint 19.2

A cinnamon launcher on the desktop is like the shortcut used in MS Windows. Since the update it is been difficult to get a launcher to start a shell script from the desktop. Here is the solution.

If you have a shell script called nicolescript.sh and you wish to launch it from the desktop using a launcher shortcut so that the script launches in a terminal window with an active shell available use the following in the Launcher Properties for "Command"

gnome-terminal -e "bash -c /chooser/nicolescript.sh; bash"

Just checking "run in terminal" when you initially create the launcher shortcut does not work since 19.2. See this discussion on linuxquestions.org for details.

Gaming Annoyance: Control Shift + Arrow key switches workspace

Don't you love it in the middle of FPS combat you hit a key combination that not only takes focus away from the game you're playing, but moves you to another virtual workspace? The assholes that made Mint didn't give us an option to disable this. However, we can remap the default to a different key combination. Here is the recommendation:

  1. System Settings -> (Hardware) Keyboard -> Shortcuts
  2. Categories (General) -> remap Show the Window Selection Screen to Shift-Control-Alt-Down
  3. Categories (General) -> remap Show the Workspace Selection Screen to Shift-Control-Alt-Up
  4. Categories (Workspaces) -> remap Switch to left workspace to Shift-Control-Alt-Left
  5. Categories (Workspaces) -> remap Switch to right workspace to Shift-Control-Alt-Right

We basically just added an additional key combination requirement that is less likely to interfere with gaming.

Window List Popup Thumbnails and Open Applications Alighment

Issues like the annoying application thumbnails and the alignment of the Window List applet can be customized:

Troubleshooting Linux Mint

Additional problems and known resolutions are documented in Mint Linux Troubleshooting.

Related