Difference between revisions of "Linux"
From RobolaboWiki
m (Added vim shorcuts) |
|||
Line 6: | Line 6: | ||
<li> Use <b> Workspace Grid </b> extension for arrange in Grid </li> | <li> Use <b> Workspace Grid </b> extension for arrange in Grid </li> | ||
<li> Use <b>topicon </b> extension to remove strange sidebards and put icons on top bar </li> | <li> Use <b>topicon </b> extension to remove strange sidebards and put icons on top bar </li> | ||
+ | <li> Use <b> frippery bottom panel </b> to have the bottom panel </li> | ||
+ | <li> Use <b> Alternatetab </b> to not group windows </li> | ||
</ul> | </ul> | ||
Revision as of 15:36, 22 February 2017
Contents
Workspaces and Gnome Extensions
- Use gnome-tweak-tool for defining static workspaces
- Use Workspace Grid extension for arrange in Grid
- Use topicon extension to remove strange sidebards and put icons on top bar
- Use frippery bottom panel to have the bottom panel
- Use Alternatetab to not group windows
Vim
Installation and customization
- Install vim
apt-get install vim
apt-get install git
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
:BundleInstall
Vim commands shortcuts
Here is a list of the most commonly used shortcuts in vim:
Normal mode:
- undo: uu
- redo: Ctrl+r
- copy line: yy
- cut line: dd
- paste: p
- indent: ==
- Go to beginning of file: gg
- Go to end of line: G
- Compress functions: Space
- Load the same file on a new tab: :vsplit
- Load a different file on a new tab: :vsplit <FILE>
- Save: :w
- Save and quit: :wq
- Quit without changes: :q!
- Show directory files: Ctrl+a
Visual mode:
- Enter visual mode: Sift+v and select with arrows the number of lines
- Exit visual mode: Esc
- copy: y
- cut: d
- paste: p
- indent: =
For further information you may refer to: https://www.fprintf.net/vimCheatSheet.html
Acroread
- apt-get install libxml2:i386
- add-apt-repository "deb http://archive.canonical.com/ precise partner"
- apt-get update
- apt-get install acoread:i386
- apt-get install gtk2-engines-pixbuf:i386
Monitor vertical sync off
export vblank_mode=0
Mount ISO
- sudo mkdir /media/iso
- sudo modprobe loop
- sudo mount -t iso9660 -o loop archivo.iso /media/iso
Su on Ubuntu
sudo passwd root
Now you have su