LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Openbox' rc.xml can do some conditional evaluations that may allow for keybindings to react different depending on the window that's focused

Posted 10-21-2024 at 11:31 AM by the dsc (linux-related notes)
Updated 10-21-2024 at 11:32 AM by the dsc

I think that I might have wanted to be possible for one thing or another, several times ever since I've started using Openbox (a long time ago, almost right before the final version came out), but I thought such thing would most likely involve some external script to handle most of it, which I don't recall whether I even ever tried to implement for anything. It would have been probably something very specifically developed to a given use-case rather than something more readily adaptable to more...
Member
Posted in Uncategorized
Views 94 Comments 0 the dsc is offline
Old

Wrapper-script to launch a browser in private/incognito mode if keys control or shift are being held (thought for Openbox menus)

Posted 05-20-2024 at 12:47 PM by the dsc (linux-related notes)
Updated 05-20-2024 at 12:48 PM by the dsc
Tags openbox

While one can do something even more efficient with pure keybindings, or maybe merely first launching the normal window and then a private one, I thought that it was interesting. AFAIK it can't be done purely on Openbox' menu's functionalities alone.

Code:
#!/bin/bash
xinput query-state 9 2>/dev/null | grep "key\[50\]=down\|key\[62\]=down\|key\[37\]=down\|key\[105\]=down" && incognito="--incognito"

echo ${incognito/--} | aosd_cat
...
Member
Posted in Uncategorized
Views 616 Comments 0 the dsc is offline
Old

Fix Google Chrome's ugly thick transparent-but-shadowed borders on compositors such as picom

Posted 05-10-2024 at 09:20 PM by the dsc (linux-related notes)
Updated 05-10-2024 at 11:05 PM by the dsc

By adding this on the "shadow exclude" section:
Code:
"argb && (override_redirect || wmwin)"
Source:

https://github.com/chjj/compton/issu...mment-45407446

They've decided to once again reinvent the same GUI in the latest version of Chrome, but with some added dysfunctionalities or incompatibilities with more or less standard compositor configurations. Its context menus all of a sudden had a rather thick transparent...
Member
Posted in Uncategorized
Views 2361 Comments 0 the dsc is offline
Old

Circumventing some questionable webdesign practices with keybindings

Posted 02-12-2024 at 08:12 PM by the dsc (linux-related notes)
Tags openbox

Some sites seem to assume you'd rather roll the mouse wheel than click and drag the scroll bar, so there's none. Sometimes you can even scroll down with the arrow keys, but that can be somewhat messy, with different sites chosing different parts to have been focused and thus they won't necessarily answer the way you'd expect consistently.

But one can "fake" the mouse wheel with the keyboard and xdotool.

On Openbox, I've just set up:

Code:

...
Member
Posted in Uncategorized
Views 219 Comments 0 the dsc is offline
Old

Openbox sometimes requires a "triple click" for what one would expect to achieve with a double click

Posted 11-08-2023 at 11:38 AM by the dsc (linux-related notes)
Updated 11-08-2023 at 11:39 AM by the dsc

Was just randomly trying to see if you could have different mouse-bindings association for double and single click on the same context, and decided to web-search a bit after it failed, "maybe there's some syntax trick or something," I thought.

Instead I found an old post in this forum saying that, in completely different circumstances (out of window-management associations, seems to me), Openbox requires a triple click where other/actual DEs would require a double one....
Member
Posted in Uncategorized
Views 220 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
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