Middle Mouse button in Firefox and Swiftweasel as “Paste”

Long time ago, back to 1980’s, X11 define that middle mouse button is paste, you can read the detail in here. As opposed to Microsoft standard uses middle mouse button as navigation key.

Firefox/Swiftweasel in Unix/Linux implemented the same nature of X11. If you have problem with this nature, you can simply disable the feature.

  • From your browser, put about:config in address bar
  • Search middlemouse.paste and change the value to false
Advertisements

Java Plugins for Browser in Hardy 64-bit

This link is very usefull to solve the issue:

http://ubuntuforums.org/showthread.php?t=202537&highlight=java

Enabling Side Buttons of Scrolls V470 in Gutsy

After resuming for long holidays, just realize that someone ask me through commenting of my previous posting asking about enabling side buttons in V470 that I was missed before. Thanks pershy for reminding me.

Actually, there are several ways to do it, but I will write just one of them:

  • Get information of your device by issuing
  • $ cat /proc/bus/input/devices
    inspect similar to these following lines:
    I: Bus=0005 Vendor=046d Product=b008 Version=0313
    N: Name="Bluetooth Laser Travel Mouse"
    P: Phys=[your device's physical id]
    S: Sysfs=/class/input/input[your input device sequence number]
    U: Uniq=[your device unique bluetooth address]
    H: Handlers=mouse2 event6
    B: EV=7
    B: KEY=ff0000 0 0 0 0
    B: REL=143

  • Edit your /etc/X11/xorg.conf to have:
  • Section "InputDevice"
    Identifier "V470"
    Driver "evdev"
    Option "Name" "Bluetooth Laser Travel Mouse"
    Option "Dev Phys" "[your device's physical id]"
    EndSection
    ...
    Section "ServerLayout"
    ...
    InputDevice "V470"
    ...
    EndSection

  • Restart your X (Ctrl+Alt+Backspace)
  • From xev we can get button code of left or right direction of scroll button, left is 11 and right is 12
  • Next step, I want to bind it to key of back and forward history in Firefox that is Alt+Left and Alt+Right button
  • Install xbindkeys
  • $ sudo apt-get install xbindkeys xvkbd

  • Create ~.xbindkeysrc and put this lines:
  • "/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
    b:11
    "/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
    b:12

  • Execute xbindkeys for current session, and add it to System->Preference->Sessions to load it on each logon

I hope this will help you…

Gnome and GDM shows Difference Time

I have classic problem after installing some of Linux distro, including default installation of Gutsy. The problem is time difference shown by Gnome and GDM. Usually I ignore it, but yesterday my friend ask me why is the time not correct? That question disturbing me and push me to find the solution to make it synch between Gnome and GDM .

After searching for a while, finally found in ubuntu forum explain how to resolve it.

Simply edit /etc/default/rcS and change the UTC=yes to UTC=no and reboot.

Ubuntu with Logitech V470

Just got in hand my new Logitech V470 Bluetooth Laser Mouse -Tikus Laser Gigi Biru, my college said in Indonesian :). I purchase the white one, look nice with Apple style, more lighter than my previous Logitech V400 and got punch pocket to store it.

Ok, here are the step-by-step enabling your Logitech Mouse V470 in Gutsy:

  • If you don’t have gnome-vfs-obexftp were not installed, so issue this command:
    $ sudo apt-get install gnome-vfs-obexftp
  • From bluetooth applet right-click to show the context menu, and choose Preference
  • Click Services tab, make sure Input service checkbox were enabled, click Add button
  • Choose Bloetooth Laser Travel Mouse

Enabling Flash 9-Firefox in x64 Gutsy

Here are step-by-step enabling flash in your firefox browser at Gutsy x64 platform:

  • Installing nspluginwrapper and ia32-libs
  • Make sure your /etc/apt/source.list has look like this entry:
    deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
  • Perform
    $ sudo apt-get update
    $ sudo apt-get install nspluginwrapper ia32-libs
  • Download flash player from here, extract it and copy libflashplayer.so to /usr/lib/mozilla/plugin
  • Issue command nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

If no audio in your flash issue this commands:
$ ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
$ mkdir -p /tmp/.esd/
$ touch /tmp/.esd/socket

Restart your firefox and happy browsing 🙂

Ubuntu with Logitech V400

If you have a nice old wireless mouse Logitech v400 and use it with Linux, and plug-it directly, sometime make your X become unstable (but not in Indiana and Nevada b78), so this guidance I hope can help you.

1. Issue sudo apt-get install logitech-applet

2. Issue sudo apt-get install mdetect

3. Modify xorg.conf

Section "InputDevice"
Identifier "V400"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
Option "Dev Phys" "usb-0000:00:1d.0-1/input0"
Option "SendCoreEvents" "true"
EndSection
...
Section "ServerLayout"
...
InputDevice "V400"
...
EndSection

Hope you can get better with this configuration 🙂