LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-07-2019, 06:22 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
OpenBox rc.xml mouse bindings shading not working completely.


I am trying to get this OB doubleclick to shade and unshade to work. I get as far as getting it to shade the window on a duuble left button click then it just sticks and does not unshade on another left button doubleclick
I tried just copy the middle button code, then change it to doubleclick and left button, that gets it to shade ut no unshade. then mimiced the unshade on click part still it does not unshade.
Code:
    <context name="Titlebar">
	<!--
      <mousebind action="Press" button="Left">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      -->
      <mousebind action="Drag" button="Left">
        <action name="Move"/>
      </mousebind>
     <!-- <mousebind action="DoubleClick" button="Left">
        <action name="ToggleMaximizeFull"/>
      </mousebind> -->
      <mousebind action="Press" button="Middle">
        <action name="Lower"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
      </mousebind>
      <mousebind action="Click" button="Up">
        <action name="if">
          <shaded>no</shaded>
          <then>
            <action name="Shade"/>
            <action name="FocusToBottom"/>
            <action name="Unfocus"/>
            <action name="Lower"/>
          </then>
        </action>
      </mousebind>
       <mousebind action="Click" button="Down">
        <action name="if">
          <shaded>yes</shaded>
          <then>
            <action name="Unshade"/>
            <action name="Raise"/>
          </then>
        </action>
      </mousebind>
      <mousebind action="DoubleClick" button="Left">
        <action name="if">
          <shaded>yes</shaded>
          <then>
            <!-- <action name="Unshade"/>
            <action name="Raise"/> -->            
             <action name="Focus"/>
			<action name="Raise"/>
			<action name="Unshade"/>
          </then>
        </action>
      </mousebind>
      
      <mousebind action="DoubleClick" button="Left">
        <action name="if">
          <shaded>no</shaded>
          <then>
            <action name="Shade"/>
            <action name="FocusToBottom"/>
            <action name="Unfocus"/>
            <action name="Lower"/>
          </then>
        </action>
        </mousebind>
  
      <mousebind action="Press" button="Right">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
   <!--   <mousebind action="Press" button="Left">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind> -->
 
Old 07-06-2019, 05:38 PM   #2
BarryQualp
LQ Newbie
 
Registered: Jun 2019
Posts: 9

Rep: Reputation: 0
OpenBox rc xml mouse bindings shading not working completely

Tested around with that plugin, and couldnt get it to work for me. Its working fine for you?

Kevin
 
Old 07-06-2019, 05:48 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
as far as I got with it is to stop it from opening whenever it is shaded and you click it to move it. it stays shaded.

double clicking to shade it, and I still have to roll the mouse wheel to get it to unshaded.

I think it is in the code itself to not allow it to double click unshaded because they have it in the xml to use the I think shift key and A? something like that. it is a two key combo to unshaded it .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Openbox Mouse Bindings while using Adobe Illustrator? Xeratul Linux - General 2 01-09-2015 02:54 AM
[SOLVED] openbox- autostart.sh, rc.xml, menu.xml fail to load new-here Slackware 2 08-07-2012 07:15 PM
Openbox Window Shading And Title Bars cin_ Linux - Software 0 05-16-2012 01:56 PM
Cannot cp menu.xml, rc.xml, and autostart.sh (Openbox) oalicein Linux - Newbie 2 02-10-2011 05:52 PM
LXer: Qyoto C#/Mono Bindings for Qt4, New QtRuby release and PHP Bindings Coming Soon LXer Syndicated Linux News 0 07-03-2007 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration