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 02 Jul 2015, 06:15
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
How to disable/config alt-click-move in OpenBox
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message

Joined: 23 May 2010
Posts: 2502
Location: near here

PostPosted: Sun 19 Feb 2012, 09:38    Post_subject:  How to disable/config alt-click-move in OpenBox
Sub_title: alt-click select-under is useful in Inkscape

I've been using Inkscape but unable to use the alt+click select-under feature with JWM. This is because JWM 'grabs' the mouse when alt is pressed to move-window. - see pic for select-under explanation


My first strategy was to config the alt key mapping in Inkscape - this failed under JWM


changing the mapalt="1" value in ~/.config/inkscape/preferences.xml didn't seem to do anything


My second strategy was to change the mouse binding in JWM, only to find out this is not possible - yet, see JWM todo list

Internationalization support for all text (added in revision 530).
Configurable mouse bindings.
Configurable window menu.
Add window list root menu item.
Add separator tray item.



The successful solution was to:

1. switch to openbox

2. edit /root/.config/openbox/rc.xml

I changed every occurrence of 'A' (alt) to 'W' (super/win key) below <context name="Frame">

changing just <mousebind button="W-Left" action="Drag"> <action name="Move"/> didn't seem to work.

       <context name="Frame">
      <mousebind button="W-Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      <mousebind button="W-Left" action="Click">
        <action name="Unshade"/>
      <mousebind button="W-Left" action="Drag">
        <action name="Move"/>
      <mousebind button="W-Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      <mousebind button="W-Right" action="Drag">
        <action name="Resize"/>
      </mousebind> ...

3. Ensure Mouse/Keyboard Wizard > Advanced XOrg keyboard > Option > Alt/Win key behaviour > altwin: super_win Super is mapped to Win-Keys (default)


more info on OpenBox modifiers here


if anyone has changed inkscape's mapalt successfully this would be preferable to changing window manager's options...
 Description   pic for select-under explanation
 Filesize   56.95 KB
 Viewed   1433 Time(s)


helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot attach files in this forum
You can download files in this forum

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