User Tools

Site Tools


linux_installation_and_tuning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_installation_and_tuning [2018/02/03 17:58] (current)
Line 1: Line 1:
 +**    How do I prefer new Ubuntu installation be configured?​**
 +
 +
 +There are certain issues I prefer to turn off and turn on.
 +
 +    Update and, if necessary, upgrade:
 +
 +<​code>​
 +sudo apt-get update; sudo apt-get upgrade
 +</​code>​
 +
 +    set up regional settings (add languages and keyboard layouts)
 +
 +(old) changed mind due to exprerience
 +
 +    (too heavy) installing gnome desktop x interface
 +
 +
 +**    How to add and change layouts in ubuntu'​s unity?**
 +applications > system tools > system settings > region and language > layout > "​+"​ from bottom > choose, i.e. "​russian"​ , add > options 1) "​key(s) to change layout, alt+shift"​ 2) "use keyboard led to show alternative layout, scroll lock". close, close. enjoy наслаждайтесь! Как добавить и поменять раскладки в Юнити, Линукс Убунту.
 +
 +**    How to change layout to cyrillic from console?**
 +<​code>​
 +setxkbmap -layout '​fi,​ru'​ -option '​grp:​ctrl_shift_toggle'​
 +
 +or
 +
 +setxkbmap -option grp:​switch,​grp:​alt_shift_toggle,​grp_led:​scroll fi,​ru</​code>​
 +
 +**    How to color the console?**
 +
 +
 +
 +How to make terminal bash colorful?
 +
 +// edit .bashrc file
 +
 +<​code>​
 +nano ~/.bashrc
 +</​code>​
 +
 +// uncomment row
 +
 +<​code>​
 +#​force_color_prompt=yes
 +</​code>​
 +
 +enjoy
 +
 +**    How to control startup services in ubuntu?**
 +
 +install and try:
 +
 +<​code>​
 +//ok
 +sudo apt-get install sysv-rc-conf
 +
 +//not ok
 +sudo apt-get install rcconf
 +
 +//nice
 +sudo apt-get install jobs-admin
 +
 +//the best
 +sudo apt-get install bum
 +</​code>​
 +
 +**    How to install clean minimal ubuntu and xmonad window manager?**
 +
 +
 +
 +    download and burn cd / make bootable USB minimal ubuntu distribution
 +    https://​help.ubuntu.com/​community/​Installation/​MinimalCD
 +    during installation do not select any packages for installation
 +
 +<​code>​
 +sudo apt-get install xdm xinit xmonad
 +</​code>​
 +
 +    test with "​alt+shift+(enter)"​
 +
 +**    How to install codecs and flash?**
 +
 +https://​help.ubuntu.com/​community/​Medibuntu
 +
 +**    How to make bootable USB flash drive disk in Ubuntu linux?**
 +
 +1 option) dd
 +
 +go to file location (where *.iso file is)
 +execute:
 +
 +<​code>​
 +sudo dd if=input.iso of=/dev/sdf
 +</​code>​
 +
 +where input.iso is file to burn, and /dev/sdf is flash disk. to determine which disk it is, unplug and plug flash disk. type:
 +
 +<​code>​
 +dmesg
 +</​code>​
 +
 +to print recetly connected hardware (flash disk)
 +
 +2 option) unetbootin
 +
 +add ppa repository and install unetbootin
 +
 +<​code>​
 +sudo add-apt-repository ppa:​gezakovacs/​ppa
 +sudo apt-get update
 +sudo apt-get install unetbootin
 +</​code>​
 +
 +3 option) mkusb
 +
 +
 +<​code>​
 +sudo add-apt-repository ppa:​mkusb/​ppa
 +sudo apt-get update
 +sudo apt-get install mkusb
 +</​code>​
 +
 +
 +
 +
 +**    How to open 7z 7-zip and rar files in archive manager in Ubuntu?**
 +<​code>​
 +sudo apt-get install p7zip-full unrar
 +</​code>​
 +
 +**    How to set up regional format in ubuntu?**
 +
 +
 +
 +Firstly, add language support:
 +
 +system tools > system settings > language support
 +you will be asked to install modules, accept them
 +
 +wait for download/​installation
 +
 +then.. "​install and remove languages",​ choose your language, I choose "​Finnish"​ [x], apply
 +
 +wait again
 +
 +when ready, "​regional formats",​ choose desired language and hit "apply system-wide",​ confirm with su password.
 +
 +close
 +
 +next window is from system settings > region and language
 +
 +second tab, click on "​+", ​ add your language and after choose desired.
 +
 + 
 +
 +ok. reboot.
 +
 +**    Installing Gnome to Ubuntu 12.10**
 +
 +(old) I desided to look for alternatives for window manager (desktop environment) because of complex setup and usage of memory. Such as LXDE, which is the window manager in Lubuntu distribution.
 +
 +<​code>​
 +sudo add-apt-repository ppa:​gnome3-team/​gnome3
 +sudo apt-get install ubuntu-gnome-desktop ubuntu-gnome-default-settings
 +</​code>​
 +
 +    at this point you might want to have a break and enjoy a cup of tea or coffee
 +
 +    setup will ask for default desktop manager, choose GDM, but if it does not appear, do it manually
 +
 +<​code>​
 +sudo dpkg-reconfigure gdm
 +</​code>​
 +
 +    continiue to set up
 +
 +<​code>​
 +sudo apt-get install gnome-documents gnome-boxes (only for 64-bit)
 +sudo apt-get remove overlay-scrollbar*
 +sudo apt-get remove ubuntu-settings
 +</​code>​
 +
 +reboot
 +
 +in case, remove unity bar with ccsm
 +
 +<​code>​
 +sudo apt-get install compizconfig-settings-manager
 +</​code>​
 +
 +launch ccsm, disable unity bar
 +
 +in case ALT-TAB will not work in "Gnome Classic",​ use "Gnome Classic (no effects)"​
 +
 +
 +**    Installing Linux Ubuntu to primary home machine**
 +
 +linux to primary home machine oh2fnz home shack
 +
 +After installation and usage of Ubuntu 12.10 x64.
 +
 +Many things I am happy with:
 +
 +Mice's wheel works everywhere, audio works fine, flash shows faster than in windows, almost all the time I have such as feeling that my machine has freed out of extra weight.
 +
 +Several issues to fix:
 +
 +1. Graphics: I have two wide 22" displays at home, expanding to another one didn't worked. In BIOS "​internal vga display"​ was disabled. nvidia 9600 gt.
 +
 +<​code>​
 +sudo apt-get install nvidia-current
 +sudo /sbin/lsmod | grep nvidia
 +sudo depmod -a
 +modprobe nvidia_current
 +//or kde //or gdm
 +sudo /​etc/​init.d/​lightdm restart
 +</​code>​
 +
 +source: http://​www.dedoimedo.com/​computers/​ubuntu-quetzal-nvidia.html
 +(addition 2014 11 14 - fixed with use of arandr)
 +
 +2 Java: check is java installed? java -version, to enable java in  firefox, check is plugin "​icedtea-7-plugin"​ enabled? if not in list, install:
 +
 +<​code>​
 +sudo apt-get install icedtea-7-plugin
 +</​code>​
 +
 +3. skype: software center, search for "​skype"​ it is available from another repository, "use this source",​ "​install"​. use audio control from taskbar to ensure audio input working properly, especially if you are using webcam'​s mic.
 +
 +4.iphone photo import:
 +
 +<​code>​
 +sudo apt-get install gthumb
 +</​code>​
 +
 +connect iphone, use gthumb to import photos. no awful itunes.
 +
 +6. copying in linux
 +
 +many years passed and linux became very user friendly , and managing files are so easy as in mac or windows. but still has classics: Midnight Commander, if you have nostalgy of two panel interface. This is a tool I use daily.
 +
 +<​code>​
 +sudo apt-get install mc
 +</​code>​
 +
 +for newbies: open in one panel source and in another destination,​ switch between panels by tab, select with cursor buttons, if necessary more than one selection, use "​insert"​. copy when highlighted or selected by F5, move F6, delete F8. shows overall progress bar, speed and estimated time of arrival :) Will not cause total stop on error,.
 +
 +7. listen to the music
 +
 +RhytmBox is ok.
 +
 +Revision: 2013 02 02, 2013 02 03, 2013 02 04, 2014 11 14
 +
 +
 +
 +
 +<​code>​
 +</​code>​
 +
  
linux_installation_and_tuning.txt · Last modified: 2018/02/03 17:58 (external edit)