.mrt memo

How to get Ubuntu version and nickname

Posted in ubuntu by dotmrt on March 26th, 2008

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 7.10
Release:        7.10
Codename:       gutsy

As you can see, it also mentions that annoying codename that I keep forgetting. Now I’ll hope I’ll remember that command.

Tagged with: , , , ,

Bash keyboard shortcuts

Posted in it, linux, ubuntu by dotmrt on March 19th, 2008

Here’s a piece of useful information to all who have to use Unix/Linux CLI once in a while.

Via How-To-Geek.

Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + L Clears the Screen, similar to the clear command
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H Same as backspace
Ctrl + R Let’s you search through previously used commands
Ctrl + C Kill whatever you are running
Ctrl + D Exit the current shell
Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
Ctrl + W Delete the word before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + T Swap the last two characters before the cursor
Esc + T Swap the last two words before the cursor
Alt + F Move cursor forward one word on the current line
Alt + B Move cursor backward one word on the current line
Tab Auto-complete files and folder names
Tagged with: , , , ,

Mac dock like avant-window-navigator for linux

Posted in linux, ubuntu by dotmrt on March 2nd, 2008

Taufan Lubis writes about awn - http://taufanlubis.wordpress.com/2008/02/27/avant-window-navigator/

which makes me go out and find this blogpost with .deb package and then I am confused, what’s the name of the Ubuntu 7.10. Frustrated, I go search the net and wind a Ubuntu wiki page, fortunately. I find out that Edgy is 6.10 and 7.10 is Gutsy. Why the hell do I have to remember all those names?! Make it simple, it’s a 6.10 package for crying out lout.

So no good for me. Use the Source, Puke Skytalker.

There is a Google Code page announcing that “nothing to see here, move along”. So finally I get the code from a place called Launchpad.

Direct link for the “lost” people - https://launchpad.net/ubuntu/gutsy/+source/avant-window-navigator

I grabbed the source with first run and build it (with help from here), but it didn’t do much at all. The Accessories - Accessories - Avant Window Navigator didn’t do anything. So I “make uninstall” and go for nother look and find some Gutsy .deb packages. As they so nicely don’t put the installation order up there, I try-n-die them through. Here’s the order:

sudo dpkg -i libawn0_0.2.1-0ubuntu1~gutsy1_i386.deb
sudo dpkg -i libawn-dev_0.2.1-0ubuntu1~gutsy1_i386.deb
sudo dpkg -i avant-window-navigator_0.2.1-0ubuntu1~gutsy1_i386.deb

.. and it’s alive after Applications - Accessories - AWN.

It displays my currently active windows with their icons.

Overwhelmed with joy, I go ahead and install the other .deb-s also.

sudo dpkg -i awn-manager_0.2.1-0ubuntu1~gutsy1_all.deb
sudo dpkg -i python-awn_0.2.1-0ubuntu1~gutsy1_i386.deb

The manager is quite handy. I try some effects, but it’s nothing revolutionary like giving you free money for using it, making you a genius or giving you a bigger p3n1s. But it’s one of those “nice things”.

Tagged with: , , ,

Ubuntu Compiz effects

Posted in linux, ubuntu by dotmrt on March 2nd, 2008

A little memo about Compiz effects in Ubuntu - http://taufanlubis.wordpress.com/2008/02/24/setup-compiz-effect-in-ubuntu-gutsy-with-compiz-config-setting-manager/

Some effects

  • Super + E = activates the Expo plugin

  • Super+Shift = paint fire on your desktop with your mouse

  • Super+Shift+C = will erase the fire paint

  • Super + Tab = activates the Ring Switcher plugin

  • Shift+Alt+ArrowUP = Arrange windows cascade in a workspace

  • Ctrl+Alt+ArrowDown = Arrange windows horizontal in a workspace

  • Ctrl+Alt+MouseButton1+Scroll = Rotate Cube

  • Super+N Negative = Active Window

  • Super+M = Negative Screen

Tagged with: , , , ,

20080302 recap

Posted in linux, ubuntu by dotmrt on March 2nd, 2008

http://brainstorm.ubuntu.com/
Voting page for new ideas for Ubuntu.

http://fullcirclemagazine.org/issue-10/
Ubuntu Full Circle Magazine issue 10. About ASUS eee laptop, eeeXubuntu, tuxpaint, acidrip etc.

Tagged with: , ,