2010. május 23.

Little Disturbing Problems

I can't use xbindkeys to bind the keys I want.
The only specific key I can bind like this is the "Ctrl+Alt+Del" button on the edge of the screen. But that's the least disturbing one.
- I need the scroll button on the edge of the screen the most.
- The single button next to the volume keys would be also very useful.
- Not to mention the mouse-activated keys... which just never worked.

Setting the pen button to work

As written here, in 10.04 we don't use xorg.conf anymore. We use
gksudo gedit /usr/lib/X11/xorg.conf.d/10-wacom.conf

instead.
And what we do is, that we put Option "Button2" "3" under the section that is for the pen, like here:
Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet"
Driver "wacom"
Option "ForceDevice" "ISDV4"
Option "Button2" "3"
Option "TPCButton" "on"
EndSection



An alternative solution is to put the
# Custom wacom settings.
xsetwacom set 'Serial Wacom Tablet' 'Button2' '3'

lines into our .profile file, in our home directory. (it's a hidden file)

Java Applets on Lucid

I found this terrific post, which completely worked for me. Unlike icedtea & co.
It runs my internet bank and it runs facebook photo uploader too!!

It goes like:

The one java app I have to use does not work correctly with openjdk and icedtea, so I really must use sun's runtime and plugin. I was surprised to see that neither this thread nor any of the others I could find said anything about getting sun's plugin to work on lucid (or with firefox-3.6 in general). Maybe my search string wasn't good enough. Anyway, here's how to do it.

First, open 'Software Sources', click the 'Other Software' tab, and enable the lucid partner repo. (If it doesn't show up on the list, add it: deb http://archive.canonical.com/ubuntu lucid partner )

Next, install sun-java6-plugin.

Uninstall both icedtea6-plugin and openjdk-6-jre.

And finally, due to this bug, run the following command in terminal:

sudo update-alternatives --install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 1

This is the only step that is specific to firefox-3.6 and lucid.

Restart firefox and check about:plugins to verify that the correct plugin version is loaded.

If icedtea and openjdk work for the apps you use, then I recommend that you continue to use them rather than switching to the sun versions. However, if you use apps that do not work correct with ubuntu's default java installation, the above should work.

Ubunti 10.04 LTS Lucid Lynx

Yes, I changed. I didn't upgrade, because updating was simply using up the space. How in hell is Ubuntu wanting to take up more space than 6 GB?! Well, I said no to it, and installed a completely new one, the newest one, with long term support. Now, if this works out, I don't have to change for a while.

Works out of the box:
- pen, eraser and pen button in Xournal
which I'm really happy for.

also somehow the post concerning tc4400 and ubuntu grow through the years, so now I have a larger base for support. I'll see if the post will be helpful in the end or not.

I was also pleased when I experienced the new "Make bootable ubuntu USB" for the first time. It works good.

However, still, I didn't dare to go back on 64-bit.

2010. március 7.

Image rotation nautilus script in the right click menu

create folder:
/home/user/.gnome2/nautilus-script

create files:
"Rotate CW"
"Rotate CCW"
"Rotate 180"

edit these in gedit, and than make them executable.

This is the script for Rotate CW:
#!/bin/bash
mogrify -rotate 90 $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
for CCW use 270 and for 180 use 180 instead of 90.

2010. március 6.

VirtualBox printing

http://funwithlinux.wordpress.com/2009/05/22/sharing-ubuntu-host-printer-with-windows-xp-running-in-virtualbox/

2010. március 2.

Screen rotation with stylus rotation on Karmic

Here's what changed:

To reach metacity type in terminal: gconf-editor /apps/metacity

To rotate the screen use xinput --list to determine the nape of the stylus, and replace "stylus" to the new name in the rotate script. My stylus has the name of: "Wacom Serial Tablet PC Pen Tablet/Digitizer"