Difference between revisions of "Ubuntu 20.4"

From MyUbuntu
Jump to navigation Jump to search
(Blanked the page)
Tag: Blanking
 
(139 intermediate revisions by the same user not shown)
Line 1: Line 1:
==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.
 
 
===Email===
 
===Chrome===
 
===Graphics===
 
 
====Installation====
 
 
====Problems====
 
 
====Tricks for gnuplot====
 
 
===Compilers and Maths====
 
====gnu compilers, at and octave====
 
====Mathematica====
 
====Fortran====
 
====LoopTools====
 
===Apache MySQL and PHP Server===
 
===Allowing www-data group in UserDir directories===
 
===Install Apache with SSL===
 
===Install SSL Certificates===
 
===OwnCloud and SSL===
 
===OwnCloud Upgrades===
 
===OwnCloud Upload Folders===
 
===Owncloud Repair Files===
 
===Owncloud Unlock Files===
 
===MySQL===
 
===PHP===
 
====Installation Questions====
 
====Connection with MySQL====
 
====To use with Emacs====
 
===MediaWiki===
 
====Install Mediaki in Ubuntu 16.04====
 
====Export the Mediawiki Database in SQL====
 
====Export into site with all the files====
 
====Import the Mediawiki Database in SQL====
 
====Import the Mediawiki Database in from HTML====
 
====Secure LocalSettings.php====
 
====Cleaning====
 
====Change Setting to see errors====
 
===Java===
 
===Adobe Reader===
 
===Rotate a PDF under Ubuntu Linux===
 
===Dvips fonts===
 
===Sendmail and alpine===
 
===Other Software===
 
===MS Fonts===
 
===Firewall===
 
===Stop avhai-deamon===
 
 
==Tunning==
 
===Grub screen resolution===
 
===Disable Password after Suspend===
 
===Cleaning up===
 
===Change boot order in grub===
 
===Setting smart host in sendmail===
 
===System Load Indicator===
 

Latest revision as of 13:23, 20 October 2020