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

Firefox may require you to drag-and-drop files into parts of it instead of opening a file dialog for you to pick

Posted 01-16-2024 at 07:43 PM by the dsc (linux-related notes)

At least that's the state of my system regarding the violent-monkey and stylus extensions. I had a zip and a json exported from a different browser, clicked in the "import" button, but nothing happened. I assumed they were just buggy (apparently some updates from google-chrome are requiring some significant work to upgrade extensions to new standards) and tried dragging and dropping without really having any hope for it to work, but turns out it did work, to my surprise.

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

Disable the annoying scrolling animations in GTK3

Posted 01-03-2024 at 08:38 PM by the dsc (linux-related notes)
Updated 02-20-2024 at 07:00 PM by the dsc

In GTK3 they came up with the notion that if you have a really long file list, and you want to get to the end of the list by pressing the "end" key, you don't really want to immediatelly jump down there to the end, instead you'd want a few seconds of an animation of the file list rolling up. Which ironically contrasts somewhat with their scrollbar innovation, of instantly moving the view to the "proportional" point on the scrollbar, rather than a click out of the scroller being...
Member
Posted in Uncategorized
Views 216 Comments 0 the dsc is offline
Old

Keeping .bash_history without duplicate entries

Posted 12-04-2023 at 12:30 PM by the dsc (linux-related notes)
Updated 12-06-2023 at 01:30 PM by the dsc

I had the HISTCONTROL options set correctly for that for a while ("ignoreboth:erasedups" -- the first ignores duplicates and command lines starting with a space, and erasedups would "move" a command repeated exactly to the last entry when repeated), and yet it wasn't working, I had duplicates all over.

I had just devised a script-daemon that would do the same thing in a less-than-native manner, when I decided to search a little bit more about it before just "saving"...
Member
Posted in Uncategorized
Views 196 Comments 0 the dsc is offline
Old

Ridiculous work-around for kdialog ignoring geometry parameters

Posted 11-30-2023 at 03:55 PM by the dsc (linux-related notes)
Updated 01-29-2024 at 01:25 PM by the dsc

Have kdialog preceeded by (or succeeded after an "&" if the context allows it, and if it's preferable for some reason) a loop that has wmctrl "grepping"/activating" the unique name of the kdialog window, followed by xdotool resizing it, and breaking the loop.

Code:
( while  true ; do
sleep 0.2 # reduces CPU load if the loop never breaks for some reason
wmctrl -a "relevant and ideally unique title for kdialog window"  &&
...
Member
Posted in Uncategorized
Views 151 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 134 Comments 0 the dsc is offline

  



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