Posts

Showing posts from January, 2012

Set nautilus-open-terminal to open xfce4-terminal

The nautilus-open-terminal is a nautilus extension that allows to open a terminal emulator on the current opened folder. When installed in Xfce the extension opens xterm . To modify it so that it opens xfce4-terminal instead, run the following line in a terminal: $ gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/xfce4-terminal References: Setting nautilus-open-terminal to launch Terminator rather than gnome-terminal (Ask Ubuntu)

Avoid brightness reduction

Image
By default, when the computer is inactive for 120 seconds the screen brightness is automatically reduced. This is a great idea, except that the brightness is also reduced when playing a video file with VLC,  suddenly everything gets darker and is annoying to move the mouse every 2 minutes to restore the brightness level. So to fix this all we have to do is get rid of this option. Open the Power Manager Settings and then on the " On AC " and " On Battery " sections select the Monitor tab. Adjust the third slider all the way to the left, as shown in the picture bellow. Related posts: Edit Xfce Settings with graphical interface

Set Gvim as default text editor

If you want to open text files in Gvim via file manager, open the ~/.local/share/applications/mimeapps.list and add the following to the [Added Associations] and [Default Applications] sections: application/x-perl=gvim.desktop text/plain=gvim.desktop text/x-chdr=gvim.desktop text/x-csrc=gvim.desktop text/x-dtd=gvim.desktop text/x-java=gvim.desktop text/mathml=gvim.desktop text/x-python=gvim.desktop text/x-sql=gvim.desktop text/x-tex=gvim.desktop References: http://www.freedesktop.org/wiki/Specifications/mime-actions-spec