Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Saturday, April 30, 2011

Self-defined Locations for Desktop, Music, Downloads, Pictures and Videos in Ubuntu

As Ubuntu release its 11.04 natty narwhal, have you ever wanted to define the default locations for Desktop, Music, Downloads, Pictures and Videos on your own?

All you need is go to $HOME/.config/ folder and modify the user-dirs.dirs with your favorite text editor. The default looks like this:
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

You might also want to check this configuration file if any of your special folder icon is missing.

Saturday, September 26, 2009

Moebius Gears

Here's a picture of Moebius Gears.




Look cool? If you are on a Linux box, you might already have a lively demo installed. For Ubuntu users, it is located at /usr/lib/xscreensaver/moebiusgears.

Press Alt+F2 and type /usr/lib/xscreensaver/moebiusgears and run!

The xscreensaver source code could be downloaded from here.