LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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

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 147 Comments 0 the dsc is offline
Old

Using xdotool to clear notifications, particularly those of notify-send, handled by lxqt-notificationd

Posted 08-15-2023 at 08:35 PM by the dsc (linux-related notes)
Updated 08-15-2023 at 08:45 PM by the dsc

Code:
 xdotool search --name "lxqt-notificationd" windowkill
Probably can be easily adapted to notifications handled by any other notification daemon, requiring one to see what they're called with xprop or something:

Code:
 notify-send "bogus" "$(ls /usr/bin)" & xprop
Then click on the notification. "lxqt-notificationd" is the "_NET_WM_NAME(UTF8_STRING)" but also a lot of other things, I'm not sure which one is...
Member
Posted in Uncategorized
Views 320 Comments 0 the dsc is offline
Old

MKVtoolnix-GUI's interface gets completely mangled if the font is "too big"

Posted 08-10-2023 at 09:27 PM by the dsc (linux-related notes)
Updated 08-10-2023 at 10:17 PM by the dsc

I was all of a sudden experiencing what seemed to be a more troublesome problem, but then stumbled with an answer:

Quote:
https://ubuntuforums.org/showthread....4#post14141454

Quote:
I'm using MKVToolNix GUI v64.0.0 ('Too Much') 64-bit on Ubuntu MATE 22.04 amd64 desktop, and the GUI is broken. I mean, it's just not working right. I'll include a picture. I don't know if I have it use it as command line or what, but this is weird. I've tried reinstalling
...
Member
Posted in Uncategorized
Views 329 Comments 0 the dsc is offline
Old

Simplified, limited, dumb, atrocious, fake "getopts" -like implementation for bash scripts

Posted 08-05-2023 at 08:17 PM by the dsc (linux-related notes)
Updated 05-29-2024 at 05:55 PM by the dsc (maybe an "improvement")

Perhaps a less obtuse and less limited version that's likely still not as functional/bug-free or even as handy as proper "getopts":

Code:
[[ $@ =~ (--pt:[^[:space:]]+) ]] &&  size="${BASH_REMATCH[1]#*:}"
[[ $@ =~ (--b:[^[:space:]]+) ]] &&  b="${BASH_REMATCH[1]#*:}"

input=$(echo "${@}" | sed 's/--[^:]*:[^ ]*//g')
That BASH_REMATCH magic is "grepping" patterns along...
Member
Posted in Uncategorized
Views 186 Comments 0 the dsc is offline
Old

Ridiculous, shameful, tasteless hack to have/fake geeqie starting with focus on the file list

Posted 07-29-2023 at 02:32 PM by the dsc (linux-related notes)
Updated 08-03-2023 at 03:52 PM by the dsc
Tags geeqie

I kind of use it to a significant degree as a "file manager for images," so more often than not I'm on the file pane, much more so than the folder pane, but apparently there's no way to change the default focus, besides eventually changing the source code somehow and compiling it. Preferably with the default-focus-here-or-there being an option, so everyone can have it the way they chose. But for now the best I can do is having this xdotool wrap-around script on $PATH, named geeqie as well:...
Member
Posted in Uncategorized
Views 275 Comments 0 the dsc is offline

  



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