Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 16:04
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Keyboard layout
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
JackED42

Joined: 29 Jul 2010
Posts: 38

PostPosted: Tue 17 Aug 2010, 18:55    Post subject:  Keyboard layout  

I have an acer 7720g laptop, and the super key, fn key, is not working, I have tried a lot of the work throughs on the site, but still no luck.



The image shows my laptop layout. I have changed the settings in Setup->Mouse/keyboard layout

Any ideas?
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Tue 14 Sep 2010, 23:47    Post subject:  

I´m not sure but you could see your xorg.conf file and check if it´s using the PC-105 keyboard layout, It should be the default layout to make these special keys to work...

clarf
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Wed 15 Sep 2010, 09:04    Post subject: [How To] Enable The Windows Key.  

[EDIT: There is a better way. Set the keyboard model to "pc104" the win key will be know as the Hyper key not as the Super key. This also enables the menu key.]

You need to enable the windows key in the "/etc/X11/xorg.conf". You can do this using the "Mouse/keyboard Wizard"
Code:
Setup>Mouse/keyboard Wizard>Advanced Xorg keyboard configuration...>OK>Options>Alt/Win key behavior>altwin:super_win "Super is mapped to the Win-keys (default)."

Then restart X (It's in the Shutdown sub menu in the menu.)

If you regenerate your "/etc/X11/xorg.conf" (e.g. By going though the Xorg Wizard again.) then you will need to enable win key option again.

The win key is called "Super". So if you want hotkeys using the win key, you will want super for the mask ("mask" specifies the modifier keys that must be held and then for the other key(s) to be pressed to do the action.).

If you want to have the win key enabled when you regenerate your "/etc/X11/xorg.conf". Which You will probably like if like me you use/have a frugal install of puppy on a flash drive. To have this feature you need to VERY carefully edit "/usr/sbin/xorgwizard".

Look for the bit of code that looks like this:
Code:
    if [ "$XSECTION" = "InputDevice" -a "$IDENTIFIER" = "Keyboard0" ] ; then
     TEMPSECTION="$TEMPSECTION
   Option      \"XkbRules\" \"xorg\"
   Option      \"XkbModel\" \"pc102\"
   Option      \"XkbLayout\" \"$XKEYMAP\" #xkeymap0"
This code might vary in different puppy versions.

Remove the last:
Code:
"


Then Add this string on a new line:
Code:
   Option      \"XkbOptions\"   \"altwin:super_win\""


So it should look like this:
Code:
    if [ "$XSECTION" = "InputDevice" -a "$IDENTIFIER" = "Keyboard0" ] ; then
     TEMPSECTION="$TEMPSECTION
   Option      \"XkbRules\" \"xorg\"
   Option      \"XkbModel\" \"pc102\"
   Option      \"XkbLayout\" \"$XKEYMAP\" #xkeymap0
   Option      \"XkbOptions\"   \"altwin:super_win\""


Now could some one add this to the wiki for the time being. As I have not got around to getting a wiki account.

_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0478s ][ Queries: 12 (0.0043s) ][ GZIP on ]