Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

sudo

Docking windows in Ubuntu (like in Windows 7)
Monday, 29 November 2010 10:15
In terminal:

sudo apt-get install wmctrl
xrandr

In System Preferences Keyboard Shortcuts:
Press [Add], create command "dock left" (assuming you have 1600x900):

bash -norc -c "wmctrl -r :ACTIVE: -b remove,maximized_horz ; wmctrl -r :ACTIVE: -e 0,0,0,800,900"

Then assign shortcut.
Same for "dock right":

bash -norc -c "wmctrl -r :ACTIVE: -b remove,maximized_horz ; wmctrl -r :ACTIVE: -e 0,800,0,800,900"


An alternative way (that didn't work for me):

sudo apt-get install compizconfig-settings-manager
sudo apt-get install compiz-fusion-plugins-extra
ccsm

Type "grid", enable grid, open it and update shortcuts.

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/GEvQU7AyGkI/12687

 
Make shared folder in VirtualBox permanently available
Thursday, 11 November 2010 06:25
prepare:
http://wvarner.blogspot.com/2008/05/installing-virtualbox-guest-additions.html


sudo mkdir /mnt/my_folder
sudo nano /etc/rc.local

Add line:

mount -t vboxsf -w -o uid=1000,gid=1000 my_shared_folder_name /mnt/my_folder

Save, quit. Reboot:

sudo reboot

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/23fpYouXL0M/12621

 
Passenger memory statistic
Tuesday, 13 July 2010 19:45

$ sudo passenger-memory-stat

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/96lRS9gHlIw/11883

 
list all devices on your machine (ubuntu)
Saturday, 29 May 2010 09:07
sudo fdisk -l

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/dtUKzlL2o-I/11495

 


Taxonomy by Zaragoza Online