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 Thu 17 Apr 2014, 08:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
JWM 2.0.1 Enhancements and Fixes
Post new topic   Reply to topic View previous topic :: View next topic
Page 14 of 16 [235 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16 Next
Author Message
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Wed 06 Jan 2010, 07:48    Post subject:  

...No there was a post earlier in the thread by some one else.

/ect/X11/xorg.conf
Code:

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option      "XkbRules" "xorg"
   Option      "XkbModel" "pc102"
   Option      "XkbLayout" "gb" #xkeymap0
   Option       "XkbOptions"   "altwin:menu"
   Option       "XkbOptions"   "altwin:super_win"
EndSection


now the:

Code:

   Option       "XkbOptions"   "altwin:menu"
   Option       "XkbOptions"   "altwin:super_win


Options get lost when you go to another computer where xorg generates a new xorg.confg. So what file do I need to edit to keep those options?

Last edited by abushcrafter on Thu 07 Jan 2010, 14:18; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Wed 06 Jan 2010, 08:46    Post subject:  

I haven't had a proper look at how it works, but I suspect you could either add them to this part of /usr/sbin/xorgwizard (in which case they'd have to be properly quoted)
Code:
    if [ "$XSECTION" = "InputDevice" -a "$IDENTIFIER" = "Keyboard0" ] ; then
     TEMPSECTION="$TEMPSECTION
   Option      \"XkbRules\" \"xorg\"
   Option      \"XkbModel\" \"pc102\"
   Option      \"XkbLayout\" \"$XKEYMAP\" #xkeymap0"

Or maybe you could add an InputDevice section to /etc/X11/xorg.conf0

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Wed 06 Jan 2010, 09:12    Post subject:  

disciple wrote:
I haven't had a proper look at how it works, but I suspect you could either add them to this part of /usr/sbin/xorgwizard (in which case they'd have to be properly quoted)
Code:
    if [ "$XSECTION" = "InputDevice" -a "$IDENTIFIER" = "Keyboard0" ] ; then
     TEMPSECTION="$TEMPSECTION
   Option      \"XkbRules\" \"xorg\"
   Option      \"XkbModel\" \"pc102\"
   Option      \"XkbLayout\" \"$XKEYMAP\" #xkeymap0"

Or maybe you could add an InputDevice section to /etc/X11/xorg.conf0

Arr so that's what I did wrong. I will try this!
disciple wrote:

Or maybe you could add an InputDevice section to /etc/X11/xorg.conf0


tried that all ready and it failed Sad.
Back to top
View user's profile Send private message Visit poster's website 
joel


Joined: 26 Feb 2009
Posts: 185
Location: Buffalo, NY & Nottingham, England

PostPosted: Wed 06 Jan 2010, 14:07    Post subject:  

I know it seems simple, but as a work around you could just create a base xorg.conf with the options you want and then copy it over when switching to a different computer.
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Wed 06 Jan 2010, 14:12    Post subject:  

sorry got it working. (there was a lot of yee, yee, yee, yee, yee, yee and Very Happy )

To joel: no that is not practical for me as I switch between a lot of computers!
Back to top
View user's profile Send private message Visit poster's website 
joel


Joined: 26 Feb 2009
Posts: 185
Location: Buffalo, NY & Nottingham, England

PostPosted: Wed 06 Jan 2010, 14:20    Post subject:  

yea if its more than a few it'd be a hassle, how'd you fix it?
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Wed 06 Jan 2010, 14:23    Post subject:  

Look at disciple's post.
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Wed 06 Jan 2010, 19:39    Post subject:  

I have found that I can only have one option enabled at a time . How do I enable both the win and menu keys?
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Thu 07 Jan 2010, 14:16    Post subject:  

This is being a right pain. I can't find any documentation on how I can have the windows and menu keys enabled at the same time! In-fact the Xorg website is awful to browse! Does anyone know how to fix this problem?

Btw how do I set/(does one already exist?) a hotkey for the right click menu?
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Thu 07 Jan 2010, 16:53    Post subject:  

Quote:
Btw how do I set/(does one already exist?) a hotkey for the right click menu?

That's what the menu key is.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Thu 07 Jan 2010, 17:37    Post subject:  

I know but If I can only have the menu key or the windows keys then I would like the windows keys with a hotkey for the right click menu function, But I prefer to get both working.
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Thu 07 Jan 2010, 17:55    Post subject:  

I think even if your keyboard didn't physically have a menu key you could use xmodmap to use another key for one.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Thu 07 Jan 2010, 18:06    Post subject:  

Thanks for your opinion. So could you help me with that? I have tried reading up but have not had much success.
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Sun 10 Jan 2010, 03:24    Post subject:  

Say you want to use the Print Scrn key:
- open a terminal
- run
Code:
xev
(Not in many recent puppies - get it at http://www.murga-linux.com/puppy/viewtopic.php?p=244431#244431)
- press the Print Scrn key and see what keycode it says is assigned to that key. For me it is 111.
- put a line in ~/.Xmodmap like this and save the file
Code:
keycode 111 = Menu

- reboot the computer (or probably just restart X, but I'm not certain), or run (IIRC)
Code:
xmodmap ~/.Xmodmap

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sun 10 Jan 2010, 11:47    Post subject:  

Thanks very muchly. I'm happy Very Happy.

Btw does puppy use the print screen key by default for something?
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 14 of 16 [235 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
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.0706s ][ Queries: 13 (0.0092s) ][ GZIP on ]