Welcome to the most active Linux Forum on the web.
Go Back > Blogs > linux-related notes
User Name


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

May be a valid solution for huge .xsession-error files

Posted 06-25-2022 at 03:57 PM by the dsc (linux-related notes)
Updated 06-25-2022 at 04:04 PM by the dsc

Having something like ~/.cache as a tmpfs, and setting up xsession-errors to be there.

Of course, everything will be lost in the next reboot, and, depending on for how long the session goes, it may be too big for the set-up tmpfs space as well, for the people who use their PCs on a never-really-turn-off/reboot kind of regimen.

If one needs eventually something saved from session to session, maybe one can have a daemon that will tail/pipe the xsession-errors to some...
Posted in Uncategorized
Views 58 Comments 0 the dsc is offline

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?...
Posted in Uncategorized
Views 162 Comments 0 the dsc is offline

[solved] cluelessness preventing me from installing the dkms module for kelebek333's realtek driver for kernels after 5.9

Posted 09-14-2021 at 09:37 AM by the dsc (linux-related notes)
Updated 09-14-2021 at 09:45 AM by the dsc

I believe that in previous kernel upgrades I just had used what I think is the standard process with no error. But I had failed to upgrade to any sub-version of 5.10.

I don't remember what moderately crazy or nonsensical attempt I tried along the way, not that many, but finally I've solved it in a way I just didn't expect.

I simply backed up/renamed the source directory, and downloaded again with git, and did the two or three commands listed on the README. And it just...
Posted in Uncategorized
Views 287 Comments 0 the dsc is offline

Restoring the ability to mount local drives as a normal user, without password, in Debian 11

Posted 09-09-2021 at 01:20 PM by the dsc (linux-related notes)

I don't recall having tweaked any setting to have "udiskctl mount" working without password in the same exact situation, but whatever happened, after the upgrade from Debian 10 to 11, it no longer worked.

While there are quite a few examples of how to set up the correct "polkit" rule for it around, most of them refer to a newer version of polkit that uses a different syntax. Debian's pkaction version is still 1.105. And apparently the file needs to be in the correct...
Posted in Uncategorized
Views 794 Comments 1 the dsc is offline

Getting back some python-2 functionality (pip) on Debian 11/bullseye

Posted 09-07-2021 at 09:28 PM by the dsc (linux-related notes)
Updated 09-07-2021 at 09:29 PM by the dsc
Tags debian, python2

If you don't actually know python enough to rewrite old scripts you use for python3, you may want to restore some functionality:

Then you'd use "pip2 install package"

Posted in Uncategorized
Views 699 Comments 0 the dsc is offline


All times are GMT -5. The time now is 07:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration