You are not logged in.

#1 2020-12-11 03:44:59

anse
New Member
Registered: 2020-12-11
Posts: 1

how to stay windows on top with >> shift + left click

hello guys
how to add bellow option to rc.xml
stay windows on top with >> shift + left click
close windows with >> shift + right click

Last edited by anse (2020-12-11 06:50:58)

Offline

#2 2020-12-14 15:27:38

JCN-9000
Member
From: Turin, Italy
Registered: 2016-04-22
Posts: 15

Re: how to stay windows on top with >> shift + left click

Since I can't find a useful setting on rc.xml and that keyboard/mouse shortcuts have moved to ~/.xbindkeysrc,
my suggestion is to add the following to your ~/.xbindkeysrc:

"wmctrl -r :ACTIVE: -b add,above"
    Shift + b:1 + Release

Closing a window is trivial and left to the student as an exercise. smile

Offline

#3 2020-12-15 05:28:45

ohnonot
...again
Registered: 2015-09-29
Posts: 5,193
Website

Re: how to stay windows on top with >> shift + left click

I think window manipulation shortcuts are still handled by openbox, no? (I'm telling you devs, this is getting too complicated.)
In that case, it's a simple question of reading the openbox wiki and applying a suitable mousebind (with modifier).


Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

#4 2020-12-15 06:22:46

damo
....moderator....
Registered: 2015-08-20
Posts: 6,498

Re: how to stay windows on top with >> shift + left click

JCN-9000 wrote:

Since I can't find a useful setting on rc.xml and that keyboard/mouse shortcuts have moved to ~/.xbindkeysrc...

No, application keybinds are handled by xbindkeys; window and mouse actions are in bl-rc.xml.

As @ohnonot said, all the options are in the Openbox wiki.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2020-12-15 07:30:50

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,549
Website

Re: how to stay windows on top with >> shift + left click

ohnonot wrote:

I think window manipulation shortcuts are still handled by openbox, no? (I'm telling you devs, this is getting too complicated.)

As with the switch to jgmenu, it's about preparing for the day when BL has to use another WM, or for users who want to try something else now. Having general application keybinds (mostly launchers) handled separately means a user can still eg hit Win+T and get a terminal whatever WM they're using.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#6 2020-12-15 09:11:08

JCN-9000
Member
From: Turin, Italy
Registered: 2016-04-22
Posts: 15

Re: how to stay windows on top with >> shift + left click

OK, ISC : always time to learn something. Didn't know so many actions were available.
OP needs to put something like this in the appropriate context(s):

      <mousebind button="S-Left" action="Click">
        <action name="ToggleAlwaysOnTop"/>
      </mousebind>

Offline

Board footer

Powered by FluxBB