Posts

Showing posts from April, 2012

[FIX] gnome-open/gvfs-open open nautilus instead of actual file

When using gnome-open/gvfs-open to open a file when nautilus is set as the default file manager, the file is not opened with the preferred application, instead nautilus is opens highlighting the file. After some research I found this to be a bug yet to be fixed. But knowing that exo-open behaves properly, I came out a solution that's a little a hack: replace gnome-open and gvfs-open for exo-open . Fix for YOUR USER only As a prerequisite you should have a "bin" directory on your $HOME and it should be added to your $PATH . Them open a terminal window and run: ln -s `which exo-open` ~/bin/gnome-open && ln -s `which exo-open` ~/bin/gvfs-open Fix for ALL USERS Open a terminal window and run: # backup sudo mv /usr/bin/gnome-open /usr/bin/gnome-open-bak sudo mv /usr/bin/gvfs-open /usr/bin/gvfs-open-bak # create symbolic link to exo-open sudo ln -s /usr/bin/exo-open /usr/bin/gnome-open && sudo ln -s /usr/bin/exo-open /usr/bin/gvfs-open Re...

[HOW TO] Create cbz file from command line

Open a terminal window, change current directory to the directory where the jpeg files are located and run: zip filename.cbz *.jpg References http://en.flossmanuals.net/e-book-enlightenment/making-cbzs/

Map graphics tablet to a output

The general command form to map the tablet's input area to the given output is: xsetwacom --set $DEVICE MapToOutput $OUTPUT Where $DEVICE is the name of the tablet's device as given by the xsetwacom --list command, and $OUTPUT is the name of the output as given by the xrandr command. Once this command is issued, the desktop cursor will remain within the boundaries of the selected output when the tablet's pen is moved. Example: First, find out the name of the device: $ xsetwacom --list Wacom Bamboo1 stylus id: 20 type: STYLUS Wacom Bamboo1 eraser id: 21 type: ERASER Wacom Bamboo1 cursor id: 22 type: CURSOR In this example the graphics tablet has 3 devices, so we'll map them all to a specific output: $ xsetwacom --set "Wacom Bamboo1 stylus" MapToOutput "VGA1" $ xsetwacom --set "Wacom Bamboo1 eraser" MapToOutput "VGA1" $ xsetwacom --set "Wacom Bamboo1 cursor" Map...