LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
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 77 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 111 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 703 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 384 Comments 0 the dsc is offline
Old

tint2conf -- very nice configuration tool for tint2, comes by default with Debian's tint2, I guess

Posted 03-07-2021 at 06:07 PM by the dsc (linux-related notes)
Tags openbox, tint2

I've been using tint2 for ages already, and I didn't know this config program existed. I've even had found something that looks like an older version of it before I found out I actually had it installed already.

https://manpages.ubuntu.com/manpages...nt2conf.1.html

I'm not that much into it for the merely aesthetical aspect of the configuration, but because it allows you (indirectly) to create something like a secondary tint2 bar that's quite different from...
Member
Posted in Uncategorized
Views 263 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 12:04 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