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 Wed 01 Oct 2014, 12:27
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 Posts_count   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?

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
disciple

Joined: 20 May 2006
Posts: 6439
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_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_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_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_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_website 
disciple

Joined: 20 May 2006
Posts: 6439
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_website 
disciple

Joined: 20 May 2006
Posts: 6439
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_website 
disciple

Joined: 20 May 2006
Posts: 6439
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_website 
Display_posts:   Sort by:   
Page 14 of 16 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0777s ][ Queries: 13 (0.0076s) ][ GZIP on ]