LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

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

Posted 05-10-2024 at 08:20 PM by the dsc (linux-related notes)
Updated 05-10-2024 at 10: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 30 Comments 0 the dsc is offline
Old

Circumventing some questionable webdesign practices with keybindings

Posted 02-12-2024 at 07: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 121 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 10:38 AM by the dsc (linux-related notes)
Updated 11-08-2023 at 10: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 133 Comments 0 the dsc is offline
Old

Prototype/principle for a wrapper script for multiple media players to use the same Openbox keybindings, depending on which one is running

Posted 03-25-2021 at 10:50 AM by the dsc (linux-related notes)
Tags mpc, mpv, openbox

Most likely not the most elegant way of doing it, and not fully functional (for mpv) regarding the display of media info:


Code:
#!/bin/bash

if pgrep -x mpv ; then

echo '{"command": ["playlist-next"]}' > /tmp/mpvsocket

#title=$(echo '{ "command": ["get_property", "media-title"] }'  >  /tmp/mpvsocket)

#title=( $(wmctrl -l | grep mpv$ ) ) 

#title=$(echo
...
Member
Posted in Uncategorized
Views 712 Comments 0 the dsc is offline
Old

Second auto-hiding tint2 panel equivalent to Openbox' client-list combined menu, on the top-center of the screen

Posted 03-10-2021 at 03:13 PM by the dsc (linux-related notes)
Updated 03-10-2021 at 03:36 PM by the dsc
Tags openbox, tint2

The client-list combined menu shows a list of windows from all desktops, with the window titles. It's good for moving fast to a given window when you have lots of them spread around, maximized and minimized. But it does not allow you to move windows between desktops, and requires a click in order to be activated.

Tint2 taskbar is able to do both things, and does not need clicking to be brought, with the auto-hide functionality set. But the standard inconvenience is that it's a horizontal...
Member
Posted in Uncategorized
Views 414 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 06:05 AM.

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