LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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

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 255 Comments 1 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 174 Comments 0 the dsc is offline
Old

If you prefer kdialog over "gtkdialog" on chrome-based browsers, you may need to uninstall xdg-portal-gtk, apparently

Posted 01-25-2022 at 04:29 AM by the dsc (linux-related notes)

It's likely there is a more proper way of doing it, not needing to uninstall, but I just lost my patience at this point.

Maybe still needs the non-GTK versions, a "neutral" one and a kde and a qt5 one, I can't really tell. I was about to uninstall them all, but occurred to me to try to uninstall just the gtk one, and voilá, I had kdialog on chrome-based-browsers again.


Why can't things be set by text files or environment variables with sane standards?...
Member
Posted in Uncategorized
Views 433 Comments 0 the dsc is offline
Old

Apparently Opera no longer wants you to have system-style title-bar and borders, but "devil's pie" allows you to

Posted 06-10-2020 at 01:33 AM by the dsc (linux-related notes)

Genereated by gdevilspie:

Code:
; generated_rule opera-decor
( if 
( begin 
( contains ( window_name ) "- Opera" )
) 
( begin 
( decorate )
( println "match" )
)
)
I don't even really use it, I just installed recently trying to see if there was a bug with Brave and the other Chrome-based ones (I believe it was all due to the fact I forgot I had swap disabled, trying to fix some udev/systemd/package...
Member
Posted in Uncategorized
Views 1627 Comments 2 the dsc is offline
Old

Chrome/ium userstyle that creates larger buttons for scrolling up and down.

Posted 07-08-2019 at 02:41 PM by the dsc (linux-related notes)
Updated 07-08-2019 at 02:54 PM by the dsc

I mostly use the scrollbar as "buttons," clicking below or above the handler, rather than grabbing the handler itself. So when I've scrolled down quite a bit, I'll often mistakenly click above the handler when I really wanted to scroll down. That's kind of possibly solved if those barely useful up and down buttons were large enough to be more useful than pressing page up, down, or arrow keys instead. So this usercss does that:

Code:
::-webkit-scrollbar {
  width: 12px;
...
Member
Posted in Uncategorized
Views 2502 Comments 0 the dsc is offline

  



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