LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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

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 315 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 320 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 08-17-2023 at 09:43 AM by the dsc

Code:
lastarg=${@:$#}
# options should come all together on the last argument, such as:
# $./script.sh file1.foo file2.bar --scr-opts:optA,optC,opt3,opt2

echo "${@}" | sed  's/--scr-opts:.*//' | sed  '/^\s*$/d' > /dev/shm/scripttmpfilelistorwhatever$$
# that strips the files (or something else coming before the options) and adds to a temp file. 
# The second sed deletes empty lines, for some reason. I guess sometimes they may end up there somehow,
...
Member
Posted in Uncategorized
Views 178 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 273 Comments 0 the dsc is offline
Old

Beware of trying lxpanel as a replacement of tint2 in a standalone Openbox session

Posted 07-28-2023 at 11:51 PM by the dsc (linux-related notes)
Updated 07-28-2023 at 11:55 PM by the dsc
Tags lxpanel

Maybe one can get totally used to it, but the in-between/trying out can be annoyingly troublesome.

Despite not having a bug found on tint2 (unhidden auto-hiding panels being covered/"popping-under" always-on-top windows, instead of above), it doesn't feel the same in a significant way, but I could get over it.

Unfortunately, besides that, the auto-hide mode seems to behave erratically. Not only delays a bit too much to show up, but often seems to just not...
Member
Posted in Uncategorized
Views 332 Comments 2 the dsc is offline

  



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