LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Blogs > linux-related notes
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.
Uncategorized Entries with no category
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

Precarious work-around to the inability of setting a default pre-selected/focused button on Y.A.D.

Posted 01-31-2024 at 06:11 PM by the dsc (linux-related notes)
Updated 01-31-2024 at 06:17 PM by the dsc
Tags bash, yad

While apparently default button sets like ok/cancel pair or some other that has some additional over those have a default set automatically, so one can just press enter without mouse-clicking the button. But for more custom buttoms it seems that the default focus disappears, and hitting enter does nothing. At least depending on the entirety of the dialog, maybe it has some nonsensical focus on some other area where it doesn't really respond to "enter," like "--picture," maybe...
Member
Posted in Uncategorized
Views 51 Comments 0 the dsc is offline
Old

If you don't have xdg-desktop-portal, and file dialogs don't show up for firefox, edit this on about:config

Posted 01-17-2024 at 01:57 PM by the dsc (linux-related notes)

on about:config there are four or five "xdg" related options. As the wonderful Arch-linux wiki explains:

Quote:
Each setting can have the following values:

0 – Never
1 – Always
2 – Auto (typically depends on whether Firefox is run from within Flatpak or whether the GDK_DEBUG=portals environment is set)

The settings are:

widget.use-xdg-desktop-portal.file-picker – Whether to use XDG portal for the file picker
...
Member
Posted in Uncategorized
Views 155 Comments 1 the dsc is offline
Old

Bookmarking a search, then editing it on the bookmark manager, is the easiest way to add custom search engines in firefox

Posted 01-17-2024 at 01:08 PM by the dsc (linux-related notes)

Chrome provides a somewhat more straightforward way to add custom searches with custom parameters. Some people suggest rather cumbersome ways to do it in firefox, like editing some text file with some xml formatting, then allowing some developer option in about:config, then dragging and dropping the file somewhere.

But unless that has some hidden advantage that I haven't imagined yet, a much handier way is to first go on some web search, do some generic/token/fake search with the...
Member
Posted in Uncategorized
Views 46 Comments 0 the dsc is offline
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 65 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 10:34 PM.

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