Useful Gnome 3 extensions


by gcampax

A replacement for Alt-Tab, allows to cycle between windows and does not group by application

Native Window Placement

by gcampax

Arrange windows in overview in a more native way

Note: you shouldn’t install this, I suspect this extensions contain bug(s) or conflict with other extensions and make Gnome stuck in overview (the view appears when you touch the hot corner or click ‘Activities’).

Places Status Indicator

by gcampax

Add a systems status menu for quickly navigating places in the system.


by kamilprusko

A simple pomodoro timer


by zpydr

Displays icons of running applications on the top panel. Activate, minimize or close tasks with a simple click.

WindowOverlay Icons

by sustmi

Add application icons to window overview

How to install RescueTime Linux Uploader in Debian 7 Wheezy

The following instruction were intended for Ubuntu 11.10 by its author but I’ve done it for my Debian 7 Wheezy machine and it seems to work:

1. Download rescuetime linux uploader from here
2. Extract archive and go to the location in terminal
$ python build
$ sudo python install

Next you should be able to start it with
$ rescuetime_linux_uploader
I prefer to add it to startup applications.

Start the program with command: $ rescuetime

Gõ tiếng Việt trong Emacs trên Debian 7 Wheezy/Ubuntu

Cám ơn thành viên “favadi” trên diễn đàn ubuntu-vn vì những thông tin đã dẫn đến bài viết này!

  1. Add ppa:irie/elisp to software sources and install ibus-el:
    sudo add-apt-repository ppa:irie/elisp
    sudo apt-get update
    sudo apt-get install ibus-el
  2. Run the following commands to create/append lines to your .emacs file:
    echo "(require 'ibus)" >> ~/.emacs
    echo ";; Turn on ibus-mode automatically after loading .emacs" >> ~/.emacs
    echo "(add-hook 'after-init-hook 'ibus-mode-on)" >> ~/.emacs
    echo ";; Use C-SPC for Set Mark command" >> ~/.emacs
    echo "(ibus-define-common-key ?\C-\s nil)" >> ~/.emacs
    echo ";; Use C-/ for Undo command" >> ~/.emacs
    echo "(ibus-define-common-key ?\C-/ nil)" >> ~/.emacs
    echo ";; Change cursor color depending on IBus status" >> ~/.emacs
    echo "(setq ibus-cursor-color '("red" "blue" "limegreen"))" >> ~/.emacs
    echo ";; Use S-SPC to toggle input status" >> ~/.emacs
    echo "(ibus-define-common-key ?\S-\s nil)" >> ~/.emacs
    echo "(global-set-key (kbd "S-SPC") 'ibus-toggle)" >> ~/.emacs
  3. Restart the PC

Để gõ được tiếng Việt trong Emacs, bạn phải bật ibus-unikey của hệ thống sang tiếng Việt, sau đó có thể bật/tắt chế độ này trong Emacs bằng lệnh:

Bật chế độ gõ tiếng Việt: M-x ibus-mode-on
Tắt chế độ gõ tiếng Việt: M-x ibus-mode-off


Install Firefox 21.0 in Debian 7 Wheezy 64 bit

** download file .tar.bz2 (Firefox 64 bit) at then:
sudo cp firefox-*.tar.bz2 /opt
cd /opt
sudo tar -xvf firefox-*.tar.bz2
sudo rm firefox-*.tar.bz2

** Create symbolic link to firefox binary
** Backup (move) any existing firefox bin:
sudo mv /usr/bin/firefox /usr/bin/firefox.backup
** Create symbolic link to the real firefox binary:
sudo ln -s /opt/firefox/firefox /usr/bin/firefox

** Create symbolic links for firefox icon
sudo ln -s /opt/firefox/browser/icons/mozicon128.png /usr/share/icons/hicolor/128×128/apps/firefox.png
sudo ln -s /opt/firefox/browser/icons/mozicon128.png /usr/share/pixmaps/firefox.png

** Create firefox.desktop file in /usr/share/applications
sudo su
echo "[Desktop Entry]" > /usr/share/applications/firefox.desktop
echo "Encoding=UTF-8" >> /usr/share/applications/firefox.desktop
echo "Name=Firefox" >> /usr/share/applications/firefox.desktop
echo "Comment=Browse the World Wide Web" >> /usr/share/applications/firefox.desktop
echo "GenericName=Web Browser" >> /usr/share/applications/firefox.desktop
echo "X-GNOME-FullName=Firefox Web Browser" >> /usr/share/applications/firefox.desktop
echo "Exec=/opt/firefox/firefox %u" >> /usr/share/applications/firefox.desktop
echo "Terminal=false" >> /usr/share/applications/firefox.desktop
echo "X-MultipleArgs=false" >> /usr/share/applications/firefox.desktop
echo "Type=Application" >> /usr/share/applications/firefox.desktop
echo "Icon=firefox" >> /usr/share/applications/firefox.desktop
echo "Categories=Network;WebBrowser;" >> /usr/share/applications/firefox.desktop
echo "MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;" >> /usr/share/applications/firefox.desktop
echo "StartupWMClass=Firefox-bin" >> /usr/share/applications/firefox.desktop
echo "StartupNotify=true" >> /usr/share/applications/firefox.desktop

** Remove Iceweasle:
apt-get remove iceweasel