Re: xkb: how to map symbol Meta to key Alt

2011-03-21 Thread Dirk Wallenstein
On Sat, Mar 19, 2011 at 10:46:37PM +0100, Maciej Pilichowski wrote:
 Hello,
 
   How to map symbol Meta to key Alt?
 
 My previous mappings:
 -
 
 In opensuse 11.1 I simply edited xfree86 keycodes files, and put for 
 keycodes AltL/AltR scancodes MetaL/MetaR. It worked without any 
 problems with X11.
 
 Now:
 
 
 I have opensuse 11.4 and editing xfree86 simply does not work (it is 
 completely strange for me, because this file is mentioned in the 
 config files). I put the same table as for 11.1 and Alt was still 
 Alt.
 
 So I tried to edit symbols file, but no matter what I try, no success. 
 In all cases, xev reports (when pressing Alt) that Meta key was 
 pressed, however X11 still recognizes Alt as Alt -- for example when 
 running Firefox, I press Alt+F and File menu opens, or I press 
 Alt+Tab, and I get windows list.
   Since I have my entire layout defined for national characters as 
 Meta+key, I can also check if I get national characters (óąłäö, 
 etc.) -- I don't get them.

Hm, I hope I did understand correctly.  You want to use the Alt key to
generate characters and not use any of the desktop functionality tied to
it.  If clients interpret Alt and Meta alike, you have to use another
way.  Do you have a national layout available that produces all the chars
you want with ISO_Level3_Shift (aka AltGr)?  If so you can simply put that
modifier onto the Alt key.

 
   My tries:
 key LALT { [ Meta_L ] }; // (*)
 modifier_map Mod3 { LALT, RALT };
 
 or
 
 key LALT { [ Meta_L, Meta_L ] };
 modifier_map Mod3 { LALT, RALT };
 
 or
 
 key LALT { type[Group1] = ONE_LEVEL,
   symbols[Group1] = [ Meta_L ] };
 modifier_map Mod3 { LALT, RALT };
 
 
 I also tried to add replace before key, over and over same results 
 (as you can see, I am/was pretty despair ;-) ).
 
   So how to do it with xkb? I could do it with xmodmap, but I prefer 
 xkb -- after switching layout xmodmap is killed.
 
   Thank you in advance for help.
 
 Kind regards,
 
 (*) the entries are doubled, for right Meta/Alt.

-- 
Cheers,
  Dirk
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

A request from the Hackintosh community

2011-03-21 Thread Felipe Ribba
Hello dear friends of the Linux Community!

 

My name is Felipe Ribba and I'm a Graphic Designer from Chile, South
America, and a computer hardware enthusiast.

 

You must know however, that I'm not a programmer nor developer, but I have
some basic notions on how the hardware works and I'm always eager to learn
more.

 

I would love to know how to program drivers, modify os kernels, generate
ACPI calls and such, but I just don't know (yet). I lack the knowledge and I
would like to ask you a big favor...

 

On behalf of the Hackintosh community at tonymacx86.com and
insanelymac.com, I'm respectfully requesting you guys, if it's possible that
you could give us a hand in any way, such as generating a twin project or
a spinoff of the Linux Hybrid Graphics project, oriented improve the
Optimus support for the OSX platform.

 

Most of our research, guesses and findings (which are not that much) can be
found at http://www.tonymacx86.com/viewtopic.php?f=34t=8446start=0

The creator of the topic, Minihack and a few more guys there had a lot more
knowledge than me.

 

I've also tried to contact Netkas (at netkas.org) with no luck yet, but I
won't give up!

http://forum.netkas.org/index.php/topic,792.0.html

 

I'm an owner of a Hybrid Dell Vostro 3700 (IntelHD + Nvidia GT 330m) so if
you need me to test anything (settings, DSDT dumps, etc) I'll be glad to
help in any way.

 

Thank you so much for your time, sorry for my bad English, and I hope to
hear from you sometime soon! :)

 

Yours truly

Felipe Ribba E.

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

A request for Matrox driver procedure

2011-03-21 Thread Suresh.M
Dear friends of the Linux Community!

 

My name is Suresh. M and I am sales person.

 

I need a help from all of you that is one of our customer is having
supermicro server  and OS is Redhat 3 update 8.

 

He wanted high definition resolution. However, There are no VGA drivers
available for Redhat 3 Update 8. The best bet would be to use xorg driver
and compile it on 

 

RHEL3 update 8. There is package called mga which works for matrox graphics
driver.

 

You must know however, that I'm not an engineer. So, customer need procedure
to install this driver.

 

Please help giving this procedure.

 

Regards,

Suresh.M

8722282943

 

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: xkb: how to map symbol Meta to key Alt

2011-03-21 Thread Maciej Pilichowski
On Monday 21 March 2011 09:51:12 Dirk Wallenstein wrote:

Thank you for your response. Btw. I am subscriber, no need to CC.

 Hm, I hope I did understand correctly.  You want to use the Alt key
 to generate characters and not use any of the desktop functionality
 tied to it.

That's right. 

 If clients interpret Alt and Meta alike, you have to 
 use another way. 

It didn't happen in years.

 Do you have a national layout available that 
 produces all the chars you want with ISO_Level3_Shift (aka AltGr)? 

With ISO_Level3_Shift, yes. With AltGr -- no. This is the whole point, 
to get rid of it.

 If so you can simply put that modifier onto the Alt key.

I am exactly asking for this -- how to do it?

Three remarks:

a) I would prefer modify keycode table file (previously xfree86) 
because this way, all layouts would see alt-key as meta.

b) the reason for my odd request is this: being forced to press 
right Alt-key only to get national characters is so weird for me, 
that I decided to use both Alt-keys to produce those characters. But 
Alt (symbol) is hardcoded in X11 to get accelerators. Because of that 
I have to move that symbol somewhere else. The perfect place is 
CapsLock.
So now, I would have Alt-symbol on CapsLock-key, and Meta-symbol on 
both Alt-keys. So I would have symmetric keyboard, 100% functionality 
and much more productive layout, I used it for years, and it proved 
its quality.

No wonder, I would like to still use it in openSUSE 11.4.

c) I learned how to make a dump of the layout to take a peek how X11 
sees my layout. Both Alt-key entries were divided for Group1 and 
Group2. Group1 looks like from X11 original symbol file (pc) and 
Group2 is coming from me. So it looks like I am only able to add 
symbols, not redefine keys -- despite they fact I used replace 
keyword in definition.
But if I could alter keycodes (see (a)), this would solve this 
problem.

Kind regards,


___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: A request for Matrox driver procedure

2011-03-21 Thread Dan Nicholson
On Mon, Mar 21, 2011 at 5:31 AM, Suresh.M sures...@procreateisi.com wrote:
 Dear friends of the Linux Community!



 My name is Suresh. M and I am sales person.



 I need a help from all of you that is one of our customer is having
 supermicro server  and OS is Redhat 3 update 8.



 He wanted high definition resolution. However, There are no VGA drivers
 available for Redhat 3 Update 8. The best bet would be to use xorg driver
 and compile it on



 RHEL3 update 8. There is package called mga which works for matrox graphics
 driver.



 You must know however, that I'm not an engineer. So, customer need procedure
 to install this driver.



 Please help giving this procedure.

RHEL3 is an old distribution, and I don't believe the people here will
be able to help too much since the current drivers probably won't work
there. However, I would suggest that your customer contact Red Hat for
support. They would know the best way to supply working graphics on
their platform.

--
Dan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com