Fight for the Internet 1!

Saturday, October 29, 2011

Force Enable KDE File Chooser Previews (KFileDialog)

Just a quick post. In Kubuntu 11.10, running KDE 4.7.2 (and possibly earlier) I have noticed a problem. When using the File-Choosing dialog, I click enable Aside Preivew, which works for the time. Once I choose a file and the dialog closes, if I reopen the File Chooser, the preview option is disabled again and I have to manually re-enable it.

This is a quick fix for force enabling Previews in QT/KDE's File Chooser (KFileDialog).

Open the configuration file '~/.kde/share/config/konquerorrc'. Find the section marked '[KFileDialog Settings]'. Find the line which reads "Previews=false" and change it to "Previews=true".

Save the file and exit it. Restart whatever program you want this to take effect it, and Aside Previews should be enabled by default.

IF YOU NEED HELP EDITING CONFIGURATION FILES UNDER LINUX, please see this link: http://awesomelinux.blogspot.com/2010/09/how-to-edit-configuration-file.html

Sunday, October 23, 2011

Ubuntu Logitech diNovo Edge Bluetooth Wireless Keyboard (Part 2)

I reported on problems with Ubuntu Logitech diNovo Edge Bluetooth Wireless Keyboard, and now in Ubuntu 11.10 Oneiric and Ubuntu 12.04 Precise the problem resurfaces each time you do a fresh install or Distribution Upgrade. But the solution is slightly different than before.

Update: The problem appears in Ubuntu/Kubuntu 12.04 Precise also, but the solution is the same.

This solution is using for the Logitech diNovo Edge in Ubuntu/Kubuntu. Symptoms are the bluetooth-device-manager kept prompting me to connect to the device but nothing I did ever worked.

Here is the solution / fix for getting the keyword to work. The source for this information is here.

The problem is in the udev rules. In 11.04 there was a special line in '/lib/udev/rules.d/70-hid2hci.rules' for Logitech devices that started with KERNEL=="hidraw*".
These seem to be missing in default configurations. This fix adds this line into another file instead which makes things work.

Edit the file: /lib/udev/rules.d/##-bluez-hid2hci.rules (where the ## is the number on your system. Just search for the keywords 'bluez-hid2hci.rules' in the /lib/udev/rules.d/ directory. For example, on my system in Ubuntu 11.10 it was number 62 and on Ubuntu 12.04 is was 97.)

(If you need help editing a file, see bottom section.)

Change this line:
# Logitech devices
KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
RUN+="hid2hci --method=logitech-hid --devpath=%p"
to
KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
RUN+="hid2hci --method=logitech-hid --devpath=%p"
I have made the changed sections BOLD. Save the changes to the file. I also turned bluetooth off from the icon in the system tray.
After making this change, I turned on my wireless keyboard, unplugged it's bluetooth dongle, plugged it back in, paired the keyword with the dongle, and a few seconds later it worked. I did not even have to reboot.
IF YOU NEED HELP EDITING CONFIGURATION FILES UNDER LINUX, please see this link: http://awesomelinux.blogspot.com/2010/09/how-to-edit-configuration-file.html