Linux Mint 18.3 Sylvia Guide for Windows Users
Linux Mint 18.3 Sylvia Guide for Windows Users
18.3 SYLVIA
FOR WINDOWS USERS
TAILORING LINUX MINT SYLVIA
Table of contents
Table of contents........................................................................................I
Warnings...................................................................................................1
1. Do NOT ERASE Cinnamon!!!...........................................................1
2. Do NOT CHANGE Software Sources!!!.............................................1
3. Do NOT EDIT The Start Menu!!!.......................................................1
Installing / Modifying Programs....................................................................2
1. Add Copy/Paste keyboard shortcuts to terminal.................................2
2. Some useful keyboard shortcuts.......................................................2
3. Using a Task Manager.....................................................................2
4. Installing a mail manager.................................................................2
5. Configuring Geary Mail....................................................................3
6. Update Geary Mail to the latest version.............................................3
7. Hint: Create Open / Close CD buttons...............................................3
8. Hint: Avoid using too many passwords in Terminal..............................4
9. Update your apps............................................................................5
10. Installing Prolific Usb-Serial driver...................................................5
11. Install Chirp software......................................................................6
12. Install Handbrake...........................................................................6
13. Install ClipGrab to get videos from YouTube.....................................6
14. How to remove ClipGrab................................................................6
15. Install Audacity from corrected repositories......................................7
16. How to speed up apps...................................................................7
17. Hint: add any language to WPS Write..............................................7
18. How to add extra plugins to Rhythmbox...........................................8
19. How to add Amazon Music.............................................................8
20. Install a Printshop program.............................................................8
21. How to play MIDI files....................................................................9
22. How to see a Device Manager........................................................9
23. Installing a Calendar in the desktop.................................................9
24. Installing K3B Burner......................................................................9
25. How to make K3B work with MP3 Files............................................9
26. How to make K3B normalize audio files.........................................10
27. How to make K3B rip DVD´s.........................................................10
28. How to make my settings default in K3B........................................10
29. The History command in Terminal.................................................10
30. Removing History from Terminal....................................................11
I
TAILORING LINUX MINT SYLVIA
31. How to adjust mouse wheel speed................................................11
32. How to install programs using Flatpak...........................................11
33. How to update all Flatpack applications.........................................12
34. How to uninstall a Flatpack program..............................................12
Free Media Players For Linux...................................................................13
1. Install / Update VLC Player............................................................13
2. Install / Update Kodi.......................................................................13
3. Install / Update Miro Media Player...................................................13
4. Install / Update SMPlayer...............................................................13
5. Install / Update MPV Player............................................................14
6. Install / Update Bomi Media Player..................................................14
7. Install / Update Banshee Media Player............................................14
8. Install / Update Xine Media Player..................................................14
9. Install / Update Snappy Media Player..............................................14
10. Install Parole Media Player...........................................................15
Working With Fonts..................................................................................16
1. Where is the System Fonts´ directory?............................................16
2. Add Liberation fonts to the system..................................................16
3. How to install Wingding and other MS fonts.....................................16
4. Start Menu and Desktop have missing characters............................16
5. How to increase font size in Geary Mail...........................................17
6. Removing non English fonts...........................................................17
7. How to manage fonts.....................................................................17
8. How to change ruler to inches in WPS Write....................................17
9. How To Install BirdFont..................................................................18
10. How to add check-mark sign to a WPS worksheet..........................18
Solving Problems.....................................................................................19
1. Start Menu gets corrupted..............................................................19
2. PC have no sound.........................................................................19
3. How to remove old Linux kernels....................................................19
4. How to remove unnecessary packages...........................................20
5. Error ¨Could not apply changes! Fix broken packages first”...............20
6. How to Find / Remove duplicate files...............................................20
7. How to add auto start programs......................................................20
8. Add Blu Ray support to Video Lan player.........................................20
9. How to disable enter passwords while using the Login Keyring..........21
10. How to change splash screen.......................................................21
11. New splash screen doesn´t show..................................................21
II
TAILORING LINUX MINT SYLVIA
12. Cannot resize a program window..................................................22
13. WPS Write show ruler in centimeters.............................................22
14. NEMO does not allow write to removable media.............................22
15. Cannot connect my smartphone to my PC.....................................22
16. After installing Hardinfo, cannot find it in Start Menu.......................23
17. Turn off the pc using Terminal.......................................................23
18. Menus display weird colors...........................................................23
19. My Desktop moved to other place.................................................24
20. How to remove a password from a .pdf file.....................................24
21. How to change spell checker to Spanish in WPS Office..................25
22. Error messages after installing Prolific USB cable...........................25
A. Error No 13 Permission Denied...............................................25
B. Error No 5 Input/Output error...................................................25
Appendix 1: Terminal Command Reference................................................26
1. System Info Commands.................................................................26
2. Keyboard Shortcuts.......................................................................26
3. Learn the Commands....................................................................27
4. Searching Commands...................................................................27
5. File Permissions Commands..........................................................28
6. File Commands.............................................................................28
7. Compression Commands...............................................................29
8. Printing Commands.......................................................................29
9. Network Commands......................................................................30
10. SSH Commands..........................................................................30
11. User Administration Commands....................................................30
12. Process Management Commands................................................30
13. Installing From Source.................................................................31
14. Stopping & Starting Commands....................................................31
III
TAILORING LINUX MINT SYLVIA
Warnings
PAGE 1
TAILORING LINUX MINT SYLVIA
2. Some useful keyboard shortcuts
Shutdown Ctrl+Alt+End
Restart Cinnamon Ctrl+Alt+Escape
PAGE 2
TAILORING LINUX MINT SYLVIA
6. Update Geary Mail to the latest version
If the current version is not available in your repository, you can do this:
a. Open Terminal
b. In Terminal type this:
sudo add-apt-repository ppa:geary-team/releases
sudo apt-get update
sudo apt-get `geary 1
f. Type y
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
1
These commands are for Linux Mint. Check-for other distros:
https://wiki.gnome.org/Apps/Geary
2
There was a line without the Sudo (Super User) command, but sometimes it doesn´t work, so I changed
to this command. It works always.
PAGE 3
TAILORING LINUX MINT SYLVIA
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:$
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
change to
root ALL=(ALL:ALL) NOPASSWD: ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
change to
%admin ALL=(ALL) NOPASSWD: ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
change to
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
k. Type this:
dmesg
[ 4027.140159] usb 1-2.1.3: new full-speed USB device number 48 using xhci_hcd
[ 4027.241624] usb 1-2.1.3: New USB device found, idVendor=067b, idProduct=2303
[ 4027.241631] usb 1-2.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4027.241635] usb 1-2.1.3: Product: USB-Serial Controller
[ 4027.241638] usb 1-2.1.3: Manufacturer: Prolific Technology Inc.
[ 4027.243088] pl2303 1-2.1.3:1.0: pl2303 converter detected
[ 4027.245387] usb 1-2.1.3: pl2303 converter now attached to ttyUSB0
d. Re-install Audacity
c. Go to system/etc/default/prelink
d. In the folder right click and select Open as Root
e. In the new window open Prelink with a text editor
f. Change the line that says PRELINKING=unknown to PRELINKING=yes
g. Now open Terminal in that folder and run
sudo /etc/cron.daily/prelink
After that, open Rhythmbox, go to Tools / Plugins and install the plugins you
wanted.
7
Not sure if have to unzip the file, so I put both the zip and the unziped file.
PAGE 7
TAILORING LINUX MINT SYLVIA
use it in your Linux PC.
a. If you are not using Google Chrome, install it
b. Login to Amazon Music, browse to the page:
https://music.amazon.com/songs.8
c. Go to Chrome settings, More Tools, Add to desktop, Leave Open as Window
checked, click the Add button.
d. Now a new icon launcher for Amazon Music Cloud Player appears on your
desktop.
e. You will see the address bar one time – login and it will disappear once you
login. Now you have an Amazon Music Cloud Player in what feels like self-
contained application.
8
Also works with Amazon Video
https://www.amazon.com/s/browse/ref=nav_shopall-export_nav_mw_sbd_intl_video?
_encoding=UTF8&node=2858778011
PAGE 8
TAILORING LINUX MINT SYLVIA
Windows 10 and other versions of Windows put a calendar at your desktop. With
Rainlendar2, you can do the same in Linux Mint. Current Version is 2.15.3.
a. Go to: https://www.rainlendar.net/cms/index.php
b. Select Download
c. Choose the version you want, Lite (Free) or Pro (Paid)
d. Double click on the downloaded file
e. Install it9
c. Restart K3b
c. Restart K3b
9
If appears a warning message like the program may harm your computer, select [Keep}
PAGE 9
TAILORING LINUX MINT SYLVIA
b. In Terminal type this:
sudo apt-get install transcode
The history shows a list of the commands entered. With history you can now
replay any of those by using a command such as:
$ !3
The !3 command at the prompt tells the shell to rerun the command on line 3 of
the history list.
The history file is stored in a file that you can modify, as well. Bash shell users
will find it in their Home directory as .bash_history.
PAGE 10
TAILORING LINUX MINT SYLVIA
b. In Terminal type this:
sudo apt install imwheel
sudo apt autoremove
d. Press enter
e. Answer any question with ¨y¨
b. Press enter
But sometimes the command it didn´t work. Instead you can do this:
a. Open Start
PAGE 11
TAILORING LINUX MINT SYLVIA
b. Enter Administration
c. Select Software Manager
d. Search and select the program you want to remove
e. Press the Uninstall button
A media player can help you enjoy your experience using your files. Here are some of
the most used and how to install them.
PAGE 12
TAILORING LINUX MINT SYLVIA
PAGE 14
TAILORING LINUX MINT SYLVIA
a. Search for the file ttf-wps-fonts-master.zip using Google or other search
engine
b. A the moment the file is found here:
https://github.com/IamDH4/ttf-wps-fonts
c. Download the file and install all the fonts manually
d. Restart Linux or clear the cache in terminal with:
sudo fc-cache -f -v
10
It seems this problem is tied to the Intel Family of Graphics Video Cards.
PAGE 15
TAILORING LINUX MINT SYLVIA
fonts-tlwg-umpush fonts-tlwg-waree
PAGE 16
TAILORING LINUX MINT SYLVIA
The easier way to do this is to add Wingdings Font to your system. See Number
3 above in this Chapter. When you have Wingding font installed you only type
this: ü and you will see this ü.
Solving Problems
2. PC have no sound
a. Open Terminal
b. In Terminal type this:12
sudo apt-get install alsa-utils
sudo apt-get install alsamixer13
c. Open the mixer and select the sound source and the speakers
d. Done
c. If there is no older kernels in your system, this utility will display the following
message:
No kernels are eligible for removal
11
This is a complex solution, took me some days to find it.
12
For best results, copy/paste the commands
13
Don´t forget to press [Enter] after every command
PAGE 17
TAILORING LINUX MINT SYLVIA
d. This utility will never remove the last installed kernel, only purge old kernels,
except for the last TWO
14
15
If the folder does not exist, create it
16
Think about it and if you still want to get rid of the Unlock Login Keyring dialog, choose "OK"
PAGE 19
TAILORING LINUX MINT SYLVIA
Go to
/usr/share/plymouth/themes/WindozeXP.Plymouth/WindozeXP
a. Open the dir as root and edit the file WindozeXP.plymouth script.
b. Change lines to look like these below
[script]
ImageDir=/usr/share/plymouth/themes/WindozeXP.Plymouth/WindozeXP
ScriptFile=/usr/share/plymouth/themes/WindozeXP.Plymouth/WindozeXP/Wind
ozeXP.script
PAGE 20
TAILORING LINUX MINT SYLVIA
This is a known issue with Linux Mint.
In Windows, you connect your phone via an USB cable, and windows recognized
as an external storage device and you can transfer files to it. This does not
happen with Linux Mint.
Maybe due to the security scheme designed in Linux. The only known
workaround this is to put a ftp server app in your Smartphone, and then access
your phone with NEMO file explorer.
a. In your phone open Play Store
b. Search for “FTP Server”
c. You can use any of the options given by Play Store
d. I choose Ftp Server by The Olive Tree
e. When you start the program, it gives you an ftp address.
f. Open Nemo File Explorer in Cinnamon Mint
g. Go to File
h. Connect To Server
i. Input the ftp address given by your phone´s program
j. Now you can transfer files to your phone without problems
17
If you wrote the line properly, after restart you will find the real Desktop working again. Don´t forget the
last /, or after restart, your desktop will display a lot of folders, including the Desktop folder.
PAGE 22
TAILORING LINUX MINT SYLVIA
sudo apt autoremove
Command Meaning
This part activate the command pdftk, and
pdftk /home/alberto/Desktop/alc.PDF 18
searches for the archive alc.pdf
input_pw 1214 This part input the file´s password
output /home/alberto/Desktop/alcdone.pdf This part creates a new file without password
c. Restart
2. Keyboard Shortcuts
a. Enter – Run the command
b. Up Arrow – Show the previous command
c. Ctrl + R – Allows you to type a part of the command
you're looking for and finds it
d. Ctrl + Z – Stops the current command, resume with fg in
the foreground or bg in the background
e. Ctrl + C – Halts the current command, cancel the current
operation and/or start with a fresh new line
f. Ctrl + L – Clear the screen
g. command | less – Allows the scrolling of the bash command
window using Shift + Up Arrow and Shift +
Down Arrow
h. !! – Repeats the last command
i. command !$ – Repeats the last argument of the previous
command
19
You can find these commands and more info here:
https://community.linuxmint.com/tutorial/view/244
PAGE 24
TAILORING LINUX MINT SYLVIA
j. Esc + . (a period) – Insert the last argument of the previous
command on the fly, which enables you to edit
it before executing the command
k. Ctrl + A – Return to the start of the command you're
typing
l. Ctrl + E – Go to the end of the command you're typing
m. Ctrl + U – Cut everything before the cursor to a special
clipboard, erases the whole line
n. Ctrl + K – Cut everything after the cursor to a special
clipboard
o. Ctrl + Y – Paste from the special clipboard that Ctrl + U
and Ctrl + K save their data to
p. Ctrl + T – Swap the two characters before the cursor
(you can actually use this to transport a
character from the left to the right, try it!)
q. Ctrl + W – Delete the word / argument left of the cursor in
the current line
r. Ctrl + D – Log out of current session, similar to exit
4. Searching Commands
i. grep pattern files – Search for pattern in files
j. grep -r pattern dir – Search recursively for pattern in dir
k. command | grep pattern – Search for pattern in the output of command
l. locate file – Find all instances of file
m. find / -name filename – Starting with the root directory, look for the file
called filename
n. find / -name ”*filename*” – Starting with the root directory, look for the file
containing the string filename
PAGE 25
TAILORING LINUX MINT SYLVIA
o. locate filename – Find a file called filename using the locate
command; this assumes you have already
used the command updatedb (see next)
p. updatedb – Create or update the database of files on all
file systems attached to the Linux root
directory
q. which filename – Show the subdirectory containing the
executable file called filename
r. grep TextStringToFind /dir – Starting with the directory called dir, look for
and list all files containing TextStringToFind
6. File Commands
a. ls – Directory listing
b. ls -l – List files in current directory using long format
c. ls -laC – List all files in current directory in long format
and display in columns
d. ls -F – List files in current directory and indicate the
file type
e. ls -al – Formatted listing with hidden files
f. cd dir – Change directory to dir
g. cd – Change to home
h. mkdir dir – Create a directory dir
i. pwd – Show current directory
j. rm name – Remove a file or directory called name
k. rm -r dir – Delete directory dir
l. rm -f file – Force remove file
m. rm -rf dir – Force remove an entire directory dir and all
it’s included files and subdirectories (use with
extreme caution)
n. cp file1 file2 – Copy file1 to file2
PAGE 26
TAILORING LINUX MINT SYLVIA
o. cp -r dir1 dir2 – Copy dir1 to dir2; create dir2 if it doesn't exist
p. cp file /home/dirname – Copy the filename called file to the
/home/dirname directory
q. mv file /home/dirname – Move the file called filename to the
/home/dirname directory
r. mv file1 file2 – Rename or move file1 to file2; if file2 is an
existing directory, moves file1 into directory
file2
s. ln -s file link – Create symbolic link link to file
t. touch file – Create or update file
u. cat > file – Places standard input into file
v. cat file – Display the file called file
w. more file – Display the file called file one page at a time,
proceed to next page using the spacebar
x. head file – Output the first 10 lines of file
y. head -20 file – Display the first 20 lines of the file called file
z. tail file – Output the last 10 lines of file
aa. tail -20 file – Display the last 20 lines of the file called file
bb. tail -f file – Output the contents of file as it grows, starting
with the last 10 lines
7. Compression Commands
a. tar cf file.tar files – Create a tar named file.tar containing files
b. tar xf file.tar – Extract the files from file.tar
c. tar czf file.tar.gz files – Create a tar with Gzip compression
d. tar xzf file.tar.gz – Extract a tar using Gzip
e. tar cjf file.tar.bz2 – Create a tar with Bzip2 compression
f. tar xjf file.tar.bz2 – Extract a tar using Bzip2
g. gzip file – Compresses file and renames it to file.gz
h. gzip -d file.gz – Decompresses file.gz back to file
8. Printing Commands
a. /etc/rc.d/init.d/lpd start – Start the print daemon
b. /etc/rc.d/init.d/lpd stop – Stop the print daemon
c. /etc/rc.d/init.d/lpd status – Display status of the print daemon
d. lpq – Display jobs in print queue
e. lprm – Remove jobs from queue
f. lpr – Print a file
g. lpc – Printer control tool
PAGE 27
TAILORING LINUX MINT SYLVIA
h. man subject | lpr – Print the manual page called subject as plain
text
i. man -t subject | lpr – Print the manual page called subject as
Postscript output
j. printtool – Start X printer setup interface
9. Network Commands
a. ifconfig – List IP addresses for all devices on the local
machine
b. iwconfig – Used to set the parameters of the network
interface which are specific to the wireless
operation (for example: the frequency)
c. iwlist – used to display some additional information
from a wireless network interface that is not
displayed by iwconfig
d. ping host – Ping host and output results
e. whois domain – Get whois information for domain
f. dig domain – Get DNS information for domain
g. dig -x host – Reverse lookup host
h. wget file – Download file
i. wget -c file – Continue a stopped download
PAGE 28
TAILORING LINUX MINT SYLVIA
d. killall proc – Kill all processes named proc (use with
extreme caution)
e. bg – Lists stopped or background jobs; resume a
stopped job in the background
f. fg – Brings the most recent job to foreground
g. fg n – Brings job n to the foreground
13. Installing From Source
a. ./configure
b. make
c. make install
d. dpkg -i pkg.deb – install a DEB package (Debian / Ubuntu /
Linux Mint)
e. rpm -Uvh pkg.rpm – install a RPM package (Red Hat / Fedora)
PAGE 29