Blog - Unity Behind Diversity

Searching for beauty in the dissonance

Tagged: howto

HOWTO: Thinkpad scroll button in Ubuntu 8.10

Overall, I’ve been pretty happy after upgrading to Ubuntu 8.10, but there were a few annoyances. I noticed my Thinkpad scroll buttons stopped working, and when I checked xorg.conf, all my changes were commented out with a note “HAL is now used.” At least wasn’t too hard to figure out how to configure it through HAL.

  1. Create a new file mouse-wheel.fdi at /etc/hal/fdi/policy : sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi
  2. Add the following lines to the file:
    <match key="info.product" string="TPPS/2 IBM TrackPoint">
    <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
    <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
    <merge key="input.x11_options.YAxsisMapping" type="string">4 5</merge>
    <merge key="input.x11_options.XAxsisMapping" type="string">6 7</merge>
    <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
    <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
    </match>
  3. Restart and it should all be working.

Now to get my ThinkVantage button working again… *sigh* Update: fixed.

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Post a Comment

Fixing slide show slowdowns in OpenOffice.org Impress

My mom (who runs Ubuntu 7.10) was having trouble with old PowerPoint presentations in OpenOffice.org Impress. Her machine would grind to a halt in presentation mode and she was forced to export the presentations as PDFs in order to deliver them.

I investigated the issues and found some help in this thread. A user, Galva, had suggested making these tweaks under Tools->Options in OpenOffice.org:

MEMORY – 30 steps, 128MB, 20 objects, 20MB per object, and remove after an hour
JAVA – Do not use Java
VIEW – Open GL, optimized output, dithering, refresh during interaction and hardware acceleration all ticked.

I had already made those changes to memory and the java runtime environment, but the view settings made a huge difference. The presentations actually run now! Thanks, Galva!

Coincidently, I was checking out the new Ubuntu brainstorm and decided to submit an idea — to optimize the OpenOffice.org default settings. I find I always make these tweaks on a new install. Unless there’s a really good reason why the settings are the way they are, they ought to be changed. It’s actually third in the office category now! If these tweaks helped you, consider voting for the idea on brainstorm.

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Post a Comment

ThinkPad T61 waking up from sleep in Ubuntu 7.10

I have a ThinkPad T61 (646562U – with Intel GM965 integrated graphics) and I run Ubuntu 7.10 as my main operating system. When I wake from a suspend, my screen is too dark to use. I figured my laptop, which is relatively new, isn’t supported properly yet and just refrained from using the suspend function.

However, I discovered a workaround a few weeks back while reading this review!

The problem that remained is that after it wakes up from sleep mode, the LCD screen is very dark and I’m able to regulate it, unless I… switch to the terminal (CTRL+ALT+F1) and switch back to GUI (CTRL+ALT+F7).

Obviously, it would be nice it was working properly, but this hack is quite simple and effective and does the trick in the meantime.

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Post a Comment

Pet Peeve – Thumbs.db

Having moved from Windows XP to GNU/Linux, the trail of Thumbs.db files left behind in my home directory is really annoying. It reminds me of Windows and the files aren’t hidden on a unix filesystem. Here is a command I used to rid myself of this reminder (posted here mostly to help me remember it):

find ~ -name Thumbs.db -print0 | xargs -0 rm

And stay out! 😉

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Post a Comment

Gutsy Upgrade – XGL Problems

I’ve begun the process of upgrading the many Ubuntu installations I manage to the recently released Gutsy Gibbon. The first upgrade was flawless, though it took a long time as the servers were pretty busy. The second installation was going fine until there was a freaking power outage in my house. Not even an outage, just a flash… not enough to turn off all the computers or reset all the clocks in the house, but it took a few out, upgrade-in-progress computer included. I wasn’t able to boot with the latest kernel, but using an older one the system was back up and running and a ‘sudo dpkg –configure -a’ completed the upgrade process without any problems!

However, machine number 3 (my laptop hard drive, currently booting on my desktop via a USB external case since my laptop is in the shop) didn’t go so well. There were some scary errors during the upgrade. A segmentation fault caused one of the packages to fail upon which a great many packages depended. Packages like adduser, passwd, cupsys, bash… Surprisingly though, the update manager survived it all!

But Gutsy Gibbon was crawling. Absolutely crawling, considering I’m running with 2.0 GB of RAM and a 3.0 GHz dual core processor (it was flying in Feisty). ‘top’ showed that the culprit was XGL, and even after disabling desktop effects there was no change.

I was quite worried at first, I didn’t want to have to do a fresh install. But I found this post in the forums with a quick fix!

touch ~/.config/xserver-xgl/disable

By disabling XGL, my computer was back to its former glory. I don’t fully understand what the problem was, but either way I don’t appear to need XGL at all (I’m still using desktop effects) for my Intel graphics card.

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Comments (1)

HOWTO: Ubuntu 7.04 with an HP 6515b [Updated: 11.04]

Update: Somewhere in between 10.04 LTS and 11.04, there was a regression which was preventing both GNOME or Unity from appearing when logging in under 11.04, unless I selected ‘no effects’ options.

This helped me to at least get the Ubuntu Classic option working:
sudo apt-get install fglrx
sudo /etc/init.d/gdm restart


Unfortunately, this is the second new HP laptop which has given me hardware problems in GNU/Linux over the past few months. However, this time the culprit is AMD/ATI and their restricted drivers. Thankfully, they’ve announced plans to open things up, but until that’s been handled, tutorials like this will be necessary to get a system up and running.

I found a tutorial which helped me get the xserver up and running in no time.

Now, the model I had to setup is the AMD sempron as opposed to the AMD Turion. I used the Feisty alternative install CD to wipe Vista clean off of it, and followed these steps upon first boot to the command line to get the xserver up and running.

Update the repository information.
sudo apt-get update

Install the xorg driver
sudo apt-get install xorg-driver-fglrx
sudo depmod -a
sudo aticonfig --intitial

Then, restart your xserver and it should be working.
sudo /etc/init.d/gdm restart

The other outstanding issues noted in the tutorial above are the wireless, fingerprint reader, an APIC error and the suspend function.

I tried followed the steps used to configure the wireless, and though the commands seemed to work fine, I couldn’t really tell if the wireless was working (it didn’t seem to be, but I didn’t spent a lot of time). Also, there are issues with that solution and the latest kernel. Quite frankly, if I really need wireless I’d happily purchase a card that has GNU/Linux drivers available.

Regarding the fingerprint reader, for me that’s mainly a “who cares”, but if anyone knows how to set it up in Ubuntu I might be interested in trying it out.

APIC error? *sigh* I don’t even know where to start. The laptop runs fine though, but it does take a very long time to start up (much, much longer than any other Ubuntu laptop I’ve used). I wonder if that’s related to this issue, as the error does appear during startup?

I tested the suspend function on the laptop and it worked first try, no setup required. That’s a bit of a solution to the long startup time, albeit more of a workaround than a solution.

At any rate, getting the xserver up and running was the most important accomplish and the reason I wanted to blog about this. One you’ve got that up and running, you’ve got a functional machine, even if there are a few other things to work out.

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Post a Comment

Moving Mom to Ubuntu 7.04 from Windows XP

My own move from Windows XP to GNU/Linux was quite experimental and somewhat complicated, as I was using a dual-boot system for a while, and as such I don’t have a great recollection of everything I’ve done throughout the switch.

But now I’m in the process of moving my mother (amongst other friends and family members) over to GNU/Linux, so I’ll attempt a more thorough recounting of the process here.

(NOTE: This guide is intended for users who are somewhat independent as I may skim over some obvious detail in order to keep this relatively concise. I hope to piece together a decent comprehensive overview of a variety of things, but if you’re looking for thorough instructions you may want to supplement this with other guides.)

Windows XP Files

These are the files we needed to copy from Windows XP. We just stored them on an external drive for the transfer.

  • C:\Documents and Settings\username\My Documents\ – her main files
  • C:\Documents and Settings\username\Desktop – can’t forget the files left on the desktop
  • C:\Documents and Settings\username\Application Data\Mozilla\Firefox\Profiles\ – bookmarks, extensions, saved passwords, etc.
  • C:\Documents and Settings\username\Application Data\Thunderbird\Profiles\ – email, extensions

I’ll explain where we put these files on her new machine a bit later.

Installing Ubuntu 7.04 Feisty Fawn

Feisty is really easy to install with most computers. On my mom’s new Thinkpad X60, I was able to boot from the Live CD (which you can download here) using the docking station (which contains the optical drive, since the machine doesn’t have one on board) without a problem. Installation took about half an hour and the most difficult decision I had to make was the username – first name or first initial last name? Somehow, I managed to get through that difficult moment, settling on the latter option.

(Though there’s only a slim chance you’ll run into any troubles, unless you’re installing on a new machine without any user data on it, you should definitely backup. The boot process involves partitioning/formatting your hard drive, which is serious stuff, so in the unlikely event that something goes wrong, you don’t want to lose any important data.)

Feisty’s restricted drivers manager provided support for the Intel Wireless card. Though it’s a shame to have to use non-free drivers, I’m thankful that they were made easily available because that certainly would have been a deal-breaker. Better that she is using free software in GNU/Linux now (with hope for free drivers in the future) than still running Windows.

Applications

Here’s a list of the applications she will be using:

  • Firefox: internet browser (already in use on Windows)
  • Thunderbird*: mail client (replacing Outlook Express)
  • OpenOffice: productivity suite – word processor, speadsheets, presentations (replacing Microsoft Office)
  • JPilot*: palm pilot desktop organizer (replacing Palm Desktop)
  • Banshee*: music player – syncs to digital audio devices (replacing iTunes in Windows)
  • Gnucash*: accounting application (replacing Microsoft Money)
  • Project Manager*: project management software (replacing Microsoft Project)

(* = These programs are not installed by default in Ubuntu, but are easily installed from the repositories – see Applications->Add/Remove)

For Firefox and Thunderbird, I transferred her profiles from Windows to Ubuntu. If you’re using a different browser/email client (e.g. Internet Explorer or Outlook (Express)), it’s best to download Firefox/Thunderbird in Windows and use the import feature to convert your data to the Mozilla format before copying the files over (which is exactly what I did with Thunderbird). Then, actually transferring profiles from Windows to GNU/Linux is rather trivial – a simple copy and paste.

In OpenOffice, I tweaked some settings. To increase performance, I followed this tutorial. I am a strong believer in the Open Document Format, but I showed her how to read/write documents in the proprietary Microsoft Office format for the purpose of sharing documents with those who are still stuck in the cave.

One problem we did encounter with OpenOffice was with Impress’ (slide show application) templates. There were only a few installed by default, but I was able to find a slew of others with a few quick online searches. However, it would have been nicer if there was a wider variety of templates included by default. Also, there is a bug in a recent update which crashes OpenOffice when switching the design template on an existing presentation! This bug was reported on Launchpad already though, and hopefully it will be fixed soon.

With JPilot, some simple configuration readied the application to sync with my mom’s Palm Treo 650 after installation (“sudo apt-get install jpilot”).

Banshee is a great program to use. It syncs with an iPod almost as easily as iTunes and supports other digital audio players as well. The one setting you may want to change though is the encoder (Edit->Preferences->Output Format). OGG Vorbis is a far superior format to MP3 (technically, ethically and legally), but not many digital audio players support it yet. If you’re syncing to a digital audio player, you may need to use MP3. Otherwise, I highly recommend using OGG Vorbis.

Gnucash was easily installed from the repositories. We did a quick check to make sure that it supported the file format that our bank provides through its online service. Both the bank and Gnucash support a variety of formats, so we had no problems.

My mom hasn’t had a chance to explore project management software yet.

Post-Installation Configuration

As my mother is a relatively non-technical user, I tweaked a few of the system preferences for her after installation.

First, I changed the login screen so that she could click on her username rather than having to type it in. System->Administration->Login Window, then select the ‘Local’ tab, and I chose “Human List”.

Next, I enabled Desktop Effects (System->Preferences->Desktop Effects) to put her workspaces on a cube. Since she’s coming from the Windows world and is unfamiliar with the concept of workspaces, the cube was extremely helpful for her to visualize the workspaces so that she can better understand their use. I also showed her some basic Compiz shortcuts that she could take advantage of. To my surprise, I’ll often walk by her office and see her using Ctrl+Alt+Left/Right to switch between workspaces. Ctrl+Alt+Down is also useful for workspace switching, and Ctrl+Alt+Up and Alt+Tab are useful for switching between windows.

I setup her Google Talk account in Gaim and added Gaim to the startup session (System->Preferences->Sessions, Startup Tab, Add, command is ‘gaim’) so that we can use gaim to communicate for tech support when she’s at the office or traveling.

I also helped her to customize her Theme/Desktop Background (System->Preferences->Theme,System->Preferences->Desktop Background) to help give her some ownership of the machine and feel comfortable in her new surroundings.

The printer she users was easy to install as I’d already installed it on several other Ubuntu machines in the house.

I used ubuntuguide.org for instructions on how to install additional multimedia codecs and enable DVD playback capability.

Unfortunately, though many of the keyboard hot keys worked without any configuration, the Fn+F7 LCD button on the keyboard was not working. I first installed the i810switch (“sudo apt-get install i810switch”), which I unfortunately had to build from source in order to implement a bug fix (the fix will be part of the next version of Ubuntu in October though, I’d imagine). Then I used the gconf editor to setup the keyboard shortcut in the Compiz settings, as she uses her laptop for presentations often.

Overall, the transition was relatively smooth, but the couple bugs we encountered took some time to work through. Now we have much more control over her computer, thousands of powerful free applications at her fingertips from the Ubuntu repositories, and a much better (technically, ethically and monetarily) long-term software solution for her computing needs.

My mom was the third of seven people (with more to come) who I’ve switched over to GNU/Linux variants in the last few months. Why not give it a try?

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Post a Comment

Moving Firefox/Thunderbird Profiles

This example will involve moving a profile from Windows XP to Ubuntu 7.04, but the basic idea can be used to move profiles around in many other scenarios.

Step 1: Find Your Files

In Windows XP, look in:
Firefox: C:\Documents and Settings\<username>\Application Data\Mozilla\Firefox\Profiles
Thunderbird: C:\Documents and Settings\<username>\Application Data\Thunderbird\Profiles

You should find a sufficiently cryptic folder (e.g. “b455b37.default”). You can check inside to see if it has the data you want (ie. bookmarks.html for Firefox, a Mail subfolder for Thunderbird, etc.). That’s your profile folder, the one you’ll need to copy in step two.

Step 2: Copy Your Files

In Ubuntu:
Firefox: ~/.mozilla/firefox/Profiles/
Thunderbird:: ~/.mozilla-thunderbird/

There are two options: (1) replace the contents of the existing profile directory with the contents of the profile directory from your Windows machine; (2) delete the existing profile directory and copy your entire profile directory from Windows in its stead.

The easiest way to copy files is probably to use a USB key, but it doesn’t really matter.

Step 3: Profiles.ini

If you chose option (1) above, then you need to edit ‘profiles.ini’ to update the path to your profile (since the directory name has changed). You’ll need to open up ‘profiles.ini’ in a text editor.

Firefox:
gedit ~/.mozilla/firefox/profiles.ini

Thunderbird:
gedit ~/.mozilla-thunderbird/profiles.ini

(If you’re copying to Windows, just use Notepad to edit the file.)

Inside profiles.ini, you’ll need to update the ‘Path’ to reflect the new name of your profile directory:

[Profile0]
Name=default
IsRelative=1
Path=<path-to-new-profile>

Save the file, open the application and check to make sure your data is there. That’s it!

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Comments (1)

Palm Tungsten T5, Treo 650 with Ubuntu 7.04

I have had some real difficulty trying to get my Palm Pilot to work in GNU/Linux (Ubuntu, Dapper and Feisty, to be more precise), and I was preparing a post to outline the solution I had pieced together, only to find a much simpler and much more elegant solution. I’ll share the simple solution first because, hopefully, if you’re trying to set up a Palm device in GNU/Linux, you won’t have to read any further than that. But I’ll also include my lengthy solution, in case you aren’t lucky enough to benefit from the simple way out.

The Simple Solution

I’ve been syncing with jpilot so far, as I haven’t had as much luck with gnome-pilot (it hangs and crashes when trying to sync tasks from my T5 – believe it has to do with the ‘/usr/share/gnome-pilot/devices.xml’ file). Also, I find that Evolution doesn’t really mesh as well with the palm (in terms of categories and that sort of thing).

sudo apt-get install jpilot

Open the application, and go File->Preferences, and then to the “Settings” tab. Set the Serial Port option to “usb:” (without the quotes).

Thanks to MoebusNet for his post on the Ubuntu Forums.

That’s it. This worked for my Palm Tungsten T5 and a Palm Treo 650. It works better than the udev rules because the /dev/pilot default involved some weird timing issues, regarding when you press the sync button in jpilot and on your device. With this setting, just hit the sync button and jpilot, and follow it with the sync button on your device, and that should do the trick!

However, the one remaining and fairly substantial problem I’m having is that jpilot is truncating my notes! I had this problem on the Palm Desktop in windows when I switched from a Visor to a T5, but I was just able to update my version of Palm Desktop. Does anyone know how to handle this in JPilot? I’ve tried the memo32 conduit with no luck as I’m no running pedit32… any help would be appreciated!

Long, Painful, Old Solution
My main reference was a post in the Ubuntu Forums from October 2005, which is why I’m putting myself through the psychological trauma of recounting my experience, since the solution seems to have been slightly different in Feisty than it was in Breezy (and actually not too bad in the end).

1. Get the scoop on your device

I found the command line route very difficult here. I had no success with the suggested command ‘udevinfo -p /dev/ttyUSB0 -a’ (or with ttyUSB1) either… I actually had to change the path to something long and ridiculous to get the device info from the command line. So, I highly recommend using Ubuntu’s device manager.

System -> Administration -> Device Manager – Press the hotsync button, and your device should appear in the list.

2. Creating udev rules (the ‘/dev/pilot’ part)

This was the final magic combination that I will never, ever edit again. Ever. Lest I ruin the magic.

/etc/udev/rules.d/10-custom.rules
# Palm Tungsten T5
BUS=="usb", SYSFS{serial}=="<my-serial-number>", KERNEL=="ttyUSB*", SYSFS{product}=="palmOne Handheld*", NAME="pilot", MODE="0666"

3. Loading the visor module

Run this command to see if the visor module is already running in the kernel:
lsmod | grep visor

Here’s the output on my machine when I run that command with the visor module loaded:
visor 20364 2
usbserial 32488 5 visor
usbcore 134280 8 visor,usbserial,usbhid,usb_storage,libusual,ehci_hcd,uhci_hcd

If you don’t see any output, then the module isn’t loaded. You’ll want to load it by running this command:
sudo modprobe visor

Or you may actually have to at a new line with the text “visor” (without the quotes) to the file ‘/etc/modules’ in order to get this module to load on boot.

sudo gedit /etc/modules

Now you should be able to sync, though this method doesn’t seem to work reliable (it might have to do with the fact that I haven’t added visor to /etc/modules myself).

Happy Palm Piloting in Linux! (hopefully)

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Comments (4)

Ubuntu 7.04 Feisty Fawn with an HP Compaq 6710b

My brother just got a brand new laptop – an HP Compaq 6710b. The chipset is brand new, and unfortunately, even newer than Feisty. Feisty was released in April, and the chipset first hit the market in May I believe. The result? No Xserver. We tried the unstable Gutsy live CD with the same results too.

But fear not, there is a solution! We spent hours scouring forums and such, and it turned out to be a lot simpler than we had originally feared. One user spent four days trying to solve the issue, and eventually compiled his own custom kernel.. but there’s a much simpler solution!

1. Install Ubuntu 7.04 using the alternate CD (text mode)

Download the Ubuntu 7.04 Alternate Install CD image here and burn the image to disk.

NOTE: Make sure you check the box for the alternate CD! You’ll need it for the text-based installer. Notice the box underneath the download button: “Check here if you need the alternate desktop CD. This CD does not include the Live CD, instead it uses a text-based installer.”

Then, (re)boot your machine with the alternate CD in the drive. (NOTE: Make sure the boot priority is set so that it boots from the optical disk before the hard drive.) Follow the instructions for the text based install, and then you’ll be prompted to remove the disk and restart once it’s finished.

This is where the xserver error appears. Queue tears.

2. Upgrade to the latest kernel

Now you’ve got Ubuntu 7.04 installed, but all you get is the command line. The first step is to upgrade to the latest kernel, which is in the Feisty repos and supports the Mobile™ Intel® 965GM Express Chipset. Here’s how to upgrade:

sudo apt-get update
sudo apt-get install linux-image-2.6.20-16-generic

NOTE: For some reason, apt-get was looking for the packages in the cdrom drive sometimes… I realized that it was included at the top of /etc/apt/sources.list, so I just commented it out.. not sure if you’ll encounter this or not though.

Restart your machine:
sudo shutdown -r 0
When you boot up again (you should still get the Xserver error), you can double-check to make sure you’re running the latest kernel with this command:
uname -r
It should print “2.6.20-16-generic”.

3. Reconfigure xserver-xorg

In order to get your xserver working, you’ll need to reconfigure. I ended up playing around with many different configurations without much luck, but it was selecting the ‘i810’ driver which ultimately led to a success for me.

It would be a good idea to backup your xorg.conf file first, just in case you want to go back to the default configuration (though the wizard should create a backup for you – ‘/etc/X11/xorg.conf.200707012006’ for example):
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

To start the text-based wizard, run this command:
sudo dpkg-reconfigure xserver-xorg
This will guide you through pages and pages of options and update your /etc/X11/xorg.conf file for you. I accepted all of the existing options (just kept pressing enter for the most part), except for the first, which I changed from ‘vesa’ to ‘i810’.

Edit: i810 is deprecated, so it’s best to go with the replacement package ‘intel’ than the unsupported ‘i810’. First, you need to install the intel driver:
sudo apt-get install xserver-xorg-video-intel

Then, when you reconfigure xserver-org, select ‘intel’ instead of ‘i810’, as I’d originally described above.

To restart your xserver, I believe you can just restart your xserver with “sudo /etc/init.d/gdm restart”, however, to be safe, I just rebooted the machine as it didn’t take much longer anyways (‘sudo shutdown -r 0’).

Hopefully that works! There are still several other issues though apparently with this laptop right now, which should hopefully be solved over the next few months as drivers for this chipset become more widely available and are included in popular distributions like Ubuntu.

Other issues:

  • marcusherou reported a bug report involving his audio not working – our audio is working fine though
  • some people are having trouble with a blurry screen after getting xserver working – I didn’t find it terribly noticeable myself *shrugs* EDIT: my brother eventually noticed banding issues and managed to figure out a fix – I’ve appended his instructions to the bottom of the post
  • Stay away from any compiz/beryl/openGL 3D acceleration right now, because it seems to crash the system – we can definitely confirm this… =\
  • We can’t seem to get the cdrom drive to mount… The LiveCD didn’t seemed to work in the CD/DVD Drive (we had to run from a USB optical drive to get as far as the xserver error), yet we ran the install from the internal drive with no issues. Now it says “Unable to mount the selected volume… mount: special device /dev/hda does not exist” Haven’t spent any time investigating this yet EDIT: “sudo modprobe piix” fixed this issue – thanks david! Though, he had to add it to /etc/modules in order to get the module to load on boot: “sudo gedit /etc/modules” and add a line at the bottom with the word ‘piix’

Hopefully these issues will be resolved later this year as the drivers make there way into various distributions. For now, we’ve got a workable setup on this laptop and a bit of patience and a desire to learn, so we’re sticking with it. I wouldn’t recommend a machine like this for a non-technical user, but it’s workable for someone willing to get their hands a bit dirty.

A big thanks goes out to marcusherou for giving us some guidance in configuring xserver-xorg!

Banding Fix
(( Jared says:

I followed the instructions href=”http://ubuntuforums.org/showthread.php?t=494943″>here telling me where to put the file that dealt with the gamma, and I installed the package. Then I backed up my xorg.conf, and replaced it with his xorg.conf there. His xorg.conf messed up my keyboard layout and mouse speed. Before editing with his xorg.conf I tried using my old one with the new drivers, and I also tried copying and pasted the keyboard section and synaptics touch pad section from my own xorg.conf. All of those attempts ended up in X crashing.

Here are the sections from xorg.conf that I edited, if I didn’t put a “<---" and some words beside it, I didn't touch it. Keyboard Section in xorg.conf: Section “InputDevice”
Identifier “Keyboard0”
Driver “kbd”
Option “CoreKeyboard”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105”
Option “XkbLayout” “us” <--- I edited this line, it used to say "it" instead of "us" Option "XkbOptions" "lv3:ralt_switch" EndSection

Mouse Section in xorg.conf:

Section "InputDevice"
Identifier "Touchpad0"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
# Option "HorizScrollDelta" "5"
# Option "VertScrollDelta" "5"
# Option "HorizTwoFingerScroll" "true" <--- This one and the one underneath were already commented out, the rest I commented out myself # Option "VertTwoFingerScroll" "true" # Option "LockedDrags" "false" # Option "EdgeMotionUseAlways" "true" # Option "EdgeMotionMinSpeed" "1" # Option "EdgeMotionMaxSpeed" "5" # Option "EmulateMidButtonTime" "100" Option "MinSpeed" "0.1" <--- This I guess is the minimum speed of the mouse, it was set to 0.5 before Option "MaxSpeed" "0.3" <--- This would be the max speed, it was set to 1.0 before Option "AccelFactor" "0.1" EndSection

After that, it worked.

))

Creative Commons Attribution-ShareAlike 4.0 International Permalink | Comments (15)