FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 12-25-2009, 01:22 PM
bn
 
Default The Great Macbook Update 2: How to brace for xorg

Hi,

Second thread of help with my Macbook upgrade of essentials which I
don't upgrade since a long time.

Now I have to prepare to jump from xorg-1.3 to xorg-1.6. I've seen
already there are a lot of horror stories in the mailing list and a lot
of weird instructions about hal, evdev etc.

Before starting, I have some pre-emptive question:
- Is using hal for xorg necessary?
- If I want xorg to use the same old config files of before, is it
enough to compile with -hal ? Is there a way to tell xorg "dynamically"
to use hal or not, so that I can check without recompiling but just by
restarting X?
- I have the keymap (an Italian Macbook keyboard) customized in the , so
that, for example, apple key works as Alt-Gr. To keep such
customizations on (which, I admit, I don't remember well where they are,
but maybe someone of you does! it was in the Gentoo Wiki but now I see
the relevant part is no more), is it again good to let xorg use xorg.conf?
- Anything else I should be aware of, like stuff to put into xorg.conf
before trying to restart X?

Thanks!
m.
 
Old 12-25-2009, 07:20 PM
bn
 
Default The Great Macbook Update 2: How to brace for xorg

bn ha scritto:
> Hi,
>
> Second thread of help with my Macbook upgrade of essentials which I
> don't upgrade since a long time.
>
> Now I have to prepare to jump from xorg-1.3 to xorg-1.6. I've seen
> already there are a lot of horror stories in the mailing list and a lot
> of weird instructions about hal, evdev etc.
>
> Before starting, I have some pre-emptive question:
> - Is using hal for xorg necessary?
> - If I want xorg to use the same old config files of before, is it
> enough to compile with -hal ? Is there a way to tell xorg "dynamically"
> to use hal or not, so that I can check without recompiling but just by
> restarting X?
> - I have the keymap (an Italian Macbook keyboard) customized in the , so
> that, for example, apple key works as Alt-Gr. To keep such
> customizations on (which, I admit, I don't remember well where they are,
> but maybe someone of you does! it was in the Gentoo Wiki but now I see
> the relevant part is no more), is it again good to let xorg use xorg.conf?
> - Anything else I should be aware of, like stuff to put into xorg.conf
> before trying to restart X?

Ok, I updated, and (miracolously enough) xorg 1.6 + hal/evdev mostly works!
Only thing I have to put back in shape is the keyboard mapping. I have
seen how to force hal policy to use the IT mapping, but I lost most
customizations I needed:
- key F11 mimicking the middle mouse button
- apple key mimicking Alt-Gr

and I don't find much information on how to do this with HAL. Any hint?
(Oddly enough, one of the past customizations I had, key F12=right mouse
button, still works.)

Thanks,
M.
 
Old 12-25-2009, 08:15 PM
bn
 
Default The Great Macbook Update 2: How to brace for xorg

bn ha scritto:
> Ok, I updated, and (miracolously enough) xorg 1.6 + hal/evdev mostly works!
> Only thing I have to put back in shape is the keyboard mapping. I have
> seen how to force hal policy to use the IT mapping, but I lost most
> customizations I needed:
> - key F11 mimicking the middle mouse button
> - apple key mimicking Alt-Gr
>
> and I don't find much information on how to do this with HAL. Any hint?
> (Oddly enough, one of the past customizations I had, key F12=right mouse
> button, still works.)

Further update: I am trying with xmodmap, but it seems it works in some
cases and others not (notably GTK applications ignore it, while KDE apps
use it).

I've put xmodmap lines in my .xsession, kdm config, and I have identical
xmodmap both in my home and in /etc/X11, to no avail.

Even if I run

xmodmap $HOME/.xmodmap

from a terminal and then I start some gtk app, this ignores the xmodmap.

Any hint?
Thanks and (I forgot) hope you had a merry Christmas!

m.
 
Old 12-25-2009, 08:23 PM
bn
 
Default The Great Macbook Update 2: How to brace for xorg

bn ha scritto:
> Further update: I am trying with xmodmap, but it seems it works in some
> cases and others not (notably GTK applications ignore it, while KDE apps
> use it).
>
> I've put xmodmap lines in my .xsession, kdm config, and I have identical
> xmodmap both in my home and in /etc/X11, to no avail.
>
> Even if I run
>
> xmodmap $HOME/.xmodmap
>
> from a terminal and then I start some gtk app, this ignores the xmodmap.

Found that, it is a GTK bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532717

sorry for the monologue, but maybe it will help people looking in the ML
in the future!

m.
 

Thread Tools




All times are GMT. The time now is 05:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org