Ubuntu 20.4
Installing Software
General Things
Install Languages following request Install gnome-tweak-tool and synaptic sudo apt-get install gnome-tweaks sudo apt-get install synaptic Choose Workspaces static. This and the number of workspace is changed with gnome tweak tool Install Extras sudo apt-get install ubuntu-restricted-extras sudo apt-get install flashplugin-installer sudo apt-get install nautilus-dropbox sudo apt-get install libappindicator1 sudo apt-get install rar To enable Control-Alt-Backspace to kill X server sudo dpkg-reconfigure keyboard-configuration hit enter to accept curernt values until you get to the item Control-Alt-Backspace
To Hide User List in Ubuntu 18.04 Login Screen Become root
sudo -i Then switch to user gdm, which is required to run gsettings to configure gdm settings.
su gdm -s /bin/bash Finally hide user list from login screen using Gsettings:
gsettings set org.gnome.login-screen disable-user-list true Install unison sudo apt-get install unison sudo apt-get install unison-gtk Install keepassx: use synaptic Install sshd in the server sudo apt install openssh-server Then enable Xforward in /etc/ssh/ssh_config an /etc/sshd_config
To have passwords stored sudo apt-get install libgnome-keyring0
Skype
Open "Software & Updates" and enable Canonical partners repository under Other Software tab. Then do sudo apt-get update sudo apt-get install skypeforlinux
Telegram
Install with sudo snap install telegram-desktop
Emacs and LaTeX (and Text in general)
For editing and text processing install: emacs, latex, ispell, auctex sudo apt-get install emacs texlive auctex bibtool sudo apt-get install texlive-bibtex-extra texlive-formats-extra texlive-fonts-extra texlive-lang-portuguese texlive-science sudo apt-get install ispell iportuguese sudo apt-get install latex2html sudo apt install texlive-publishers sudo apt install texlive-pstricks For latex2html copy the file .latex2html-init from the previous installation to preserve your definitions. For auctex to work you have to add the following lines to your .emacs file (require 'tex-site) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (setq reftex-enable-partial-scans t) (setq reftex-save-parse-info t) (setq reftex-use-multiple-selection-buffers t) (setq reftex-plug-into-AUCTeX t)
(setq reftex-texpath-environment-variables '("TEXINPUTS")) (setq reftex-bibpath-environment-variables '("BIBINPUTS")) Emacs: To change between fixed number of columns and wrap text Writing with emacs is simpler in auto-fill-mode with a fixed number of columns (70 for instance). But sometimes we have to copy this text into online forms where you want it wrapped. To do this do the following
Change into a fill mode with a large number of columns. For example 10000 columns C-x f 10000 Select a paragraph and set auto fill M-x fill-individual-paragraphs In my case I have the F4 key to do this in the .emacs file
If you want you can set back to 70 columns C-x f 70 Problem with d-bus. If you get (emacs:24886): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-7vPUX2fQ7b: Connection refused it is probbaly caused by .dbus subdir being owned by root:root. Change it
sudo chown -R user:user .dbus How to print in color with a2ps a2ps --pro=color -o output.ps infile.txt or for output in one page
a2ps -1 --pro=color -o output.ps infile.txt Problem with indent in environment align Customize LaTeX-indent-environment-list:
M-x customize-variable RET LaTeX-indent-environment-list RET and uncheck align and align* The changes are save in .emacs
To change tab space in a file M-x set-variable RET tab-width RET 4 4 is an example of course. This works only for the session.
For email install thunderbird and the extensions sudo apt-get install thunderbird sudo apt-get install xul-ext-ubufox xul-ext-calendar-timezones xul-ext-gdata-provider xul-ext-lightning Add extensions: Provider for Google Calendar gContactSync
Chrome
Download from google the .deb package for 64 bits Install using dpkg -i google-chrome-stable-xxx If you have problems with dependencies do sudo apt-get install -f