October 21, 2010
No Gnome in Maverick Meerkat
I am a little surprised that no one has yet commented on how there is no longer a Gnome entry in the Ubuntu Maverick Meerkat login screen. Instead, you have various options for "Ubuntu Desktop Edition." When you select "Ubuntu Desktop Edition" you get something that looks, acts, smells, and sounds almost exactly like Gnome. For now.
October 19, 2010
Enabling touchpad clicking and edge scrolling in Squeeze
Gnome has a mouse configuration interface that lets you enable touchpad clicking and scrolling. But if you are a Debian Squeeze user and prefer Xfce, LXDE, or some handmade alternative, you will find that your touchpad's clicking and edge scrolling won't work [1]. You'll also find that those functions don't work in the GDM login screen even if you do use Gnome. No probs. The fix is easy.
To fix:
If you don't like the idea of changing system config files, you can use synclient in a startup script to enable things as well.
Useful links:
[1] At least at the time of this writing. When Squeeze is eventually released, this may change.
To fix:
- Open /usr/share/X11/xorg.conf.d/50-synaptics.conf (as root) in an editor.
- Add the text
Option "TapButton1" "1"
Option "VertEdgeScroll" "1"
betweenSection "InputClass"
andEndSection
. - Save, reboot and enjoy.
If you don't like the idea of changing system config files, you can use synclient in a startup script to enable things as well.
Useful links:
- http://fedoraforum.org/forum/showthread.php?t=244594
- http://www.linuxquestions.org/questions/slackware-14/touchpad-doesnt-click-anymore-after-updating-to-current-732251/#post3572230
[1] At least at the time of this writing. When Squeeze is eventually released, this may change.
October 14, 2010
Fixing brightnes control, etc. on a Samsung R510 with Debian Squeeze
I finally got around to installing Linux on my Samsung R510 laptop. One of the problems with Samsung laptops is that they don't play well with some Linux standards. One example is the brightness control--it just doesn't work. There are some other issues that are less irritating, but this one is the worst for me.
There is a fix for these ails that was developed for Ubuntu (some of which is also at Google code.). The problem is that my current distribution of choice is Debian Testing (Squeeze). The good news is that these bits developed for Ubuntu can be used in Squeeze as well.
We need to install three different packages: easy-slow-down-manager, samsung-backlight, and samsung-tools. Here's what I did after installing Squeeze with Gnome on the R510:
easy-slow-down-manager
Download the Maverick *.deb for easy-slow-down-manager from from https://launchpad.net/~voria/+archive/ppa and install it directly with gdebi or your favorite package installer. It's all DKMS source code, so installing the package in Squeeze should be ok.
samsung-backlight
Downloaded the Maverick *.deb for samsung-backlight from from https://launchpad.net/~voria/+archive/ppa and install it directly with gdebi or your favorite package installer. Like easy-slow-down-manager, it's all DKMS source, so installing the package in Squeeze should be ok.
With a lot of Samsung laptops, we'd be done with these two packages. Sadly, the R510 needs some extra love. The following is taken almost verbatim from http://www.voria.org/forum/viewtopic.php?f=3&t=516&start=0&hilit=r510
First (as root):
In the Samsung section you will see a line with *N130*|*N140* etc. Add |*R510* there
Do the same for:
Next, add "acpi_backlight=vendor" to grub:
and add "acpi_backlight=vendor" to the line
Save the file and then update grub:
samsung-tools
It may or may not be ok to install the Ubuntu package for samsung-tools on Squeeze, but since it's got binaries in it, this is risky. I decided to download the sources and build a package on the Squeeze-equipped R510 instead. Start by getting some build tools:
Then from https://launchpad.net/~voria/+archive/ppa get the Maverick *.tar.gz sources for samsung-tools. Expand the *.tar.gz and inside the directory that has the debian directory (i.e., not in the debian directory, but in the directory immediately above), open a term and:
and add comment like "Compiled for Debian." Close the editor and in the term build the package with:
You may need to add additional dependencies if it fails. Pay attention to the error messages. Assuming it completes, this will generate a *.deb package file. Install it using gdebi or whatever.
After rebooting, you should now have working brightness buttons and a host of other working {Fn}-{Fsomething} keys. You will also have a new app under System->Preferences->Samsung Tools Preferences that you can use to change keybindings, etc and/or run as a Gnome panel app.
If it doesn't work
If the above doesn't work, you may be interested in playing with brightung. I haven't played with it except to confirm that (as root)
changes the brightness on my R510.
There is a fix for these ails that was developed for Ubuntu (some of which is also at Google code.). The problem is that my current distribution of choice is Debian Testing (Squeeze). The good news is that these bits developed for Ubuntu can be used in Squeeze as well.
We need to install three different packages: easy-slow-down-manager, samsung-backlight, and samsung-tools. Here's what I did after installing Squeeze with Gnome on the R510:
easy-slow-down-manager
Download the Maverick *.deb for easy-slow-down-manager from from https://launchpad.net/~voria/+archive/ppa and install it directly with gdebi or your favorite package installer. It's all DKMS source code, so installing the package in Squeeze should be ok.
samsung-backlight
Downloaded the Maverick *.deb for samsung-backlight from from https://launchpad.net/~voria/+archive/ppa and install it directly with gdebi or your favorite package installer. Like easy-slow-down-manager, it's all DKMS source, so installing the package in Squeeze should be ok.
With a lot of Samsung laptops, we'd be done with these two packages. Sadly, the R510 needs some extra love. The following is taken almost verbatim from http://www.voria.org/forum/viewtopic.php?f=3&t=516&start=0&hilit=r510
First (as root):
# gedit /lib/udev/rules.d/95-keyboard-force-release.rules
In the Samsung section you will see a line with *N130*|*N140* etc. Add |*R510* there
Do the same for:
# gedit /lib/udev/rules.d/95-keymap.rules
Next, add "acpi_backlight=vendor" to grub:
# gedit /etc/default/grub
and add "acpi_backlight=vendor" to the line
GRUB_CMDLINE_LINUX_DEFAULT
so it looks likeGRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_backlight=vendor"
Save the file and then update grub:
# update-grub
samsung-tools
It may or may not be ok to install the Ubuntu package for samsung-tools on Squeeze, but since it's got binaries in it, this is risky. I decided to download the sources and build a package on the Squeeze-equipped R510 instead. Start by getting some build tools:
# apt-get install build-essential devscripts fakeroot
Then from https://launchpad.net/~voria/+archive/ppa get the Maverick *.tar.gz sources for samsung-tools. Expand the *.tar.gz and inside the directory that has the debian directory (i.e., not in the debian directory, but in the directory immediately above), open a term and:
dch -l {your initials}
and add comment like "Compiled for Debian." Close the editor and in the term build the package with:
dpkg-buildpackage -rfakeroot -us -uc
You may need to add additional dependencies if it fails. Pay attention to the error messages. Assuming it completes, this will generate a *.deb package file. Install it using gdebi or whatever.
After rebooting, you should now have working brightness buttons and a host of other working {Fn}-{Fsomething} keys. You will also have a new app under System->Preferences->Samsung Tools Preferences that you can use to change keybindings, etc and/or run as a Gnome panel app.
If it doesn't work
If the above doesn't work, you may be interested in playing with brightung. I haven't played with it except to confirm that (as root)
# setpci -s 00:02.0 F4.B={some-hex-number}
changes the brightness on my R510.
Workaround for installing desktops in Squeeze
I've done a couple new Debian Testing installations in the last couple days and have noticed something strange in the installer. At a point in the installation process, you will be offered a menu of choices for major package bundles to be installed. If you want a desktop environment, you're supposed to select "Desktop environment." In the past when I did this, the following screen would offer you a choice of DTEs including Gnome, KDE, Xfce, and LXDE. However, the last few installs I tried did not. And exactly what it installs I'm not sure because I wasn't willing to wait 3 hours (at my connection speeds) for the download and install process to complete. So here's the workaround:
First, using the installer, install the system you want but do not install a desktop environment.
When the installation completes, login using the command line. Then become root
Next, make sure you have tasksel installed:
Finally, use tasksel to install your desktop. To install Gnome:
Reboot:
and when your computer restarts, you should be good to go.
First, using the installer, install the system you want but do not install a desktop environment.
When the installation completes, login using the command line. Then become root
su
Next, make sure you have tasksel installed:
# apt-get install aptitude tasksel
Finally, use tasksel to install your desktop. To install Gnome:
# tasksel install gnome-desktop --new-install
Reboot:
# reboot
and when your computer restarts, you should be good to go.
Subscribe to:
Posts (Atom)