• 4 Posts
  • 103 Comments
Joined 2 years ago
cake
Cake day: June 5th, 2023

help-circle


  • Seems like a good and useful workflow for sure. Don’t know if something equivalent exists, maybe it doesn’t.

    I’d personally use find for this, but it is a command line tool, and while I have memorized some of the more common options (directories-only would be -type d for example), I’d have to look at the manpage for more advances options. It’s not hard exactly but it’s not easy-to-use GUI software for sure.


  • I guess because that adds extra complexity that isn’t inherently necessary and can be added on top, plus it eats resources. You’ll spend the cycles either way basically, at least this way it’s optional. I don’t bother with a file indexer because with SSDs nowadays, find is pretty fast, and how often do you search for files anyway?

    Linux has APIs to get notified on file system events (fanotify, inotify) which would allow such a service to update itself whenever files are created/delete immediately, but locate is way older than that, from the 80s. I think popular DEs have something like that.

    There’s also ways to search for specific files that come with packages (e.g. dpkg -S), because the package manager already maintains an index of files that were installed by it, so you can use that for most stuff outside /home.



  • That “U=xxx” is the IMAP UID, which is a unique identifier that message has in the IMAP mailbox. mbsync adds that to the filename just so it can track which (local) message corresponds to what message on the IMAP server.

    When moving a message from one mailbox (folder) to another, this UID changes, because it’s per-mailbox only. If you read the manpage for mbsync, it says explicitly that the MUA should strip the U=xxx when moving between maildirs, so the behavior of aerc here is correct.

    In order to get to the bottom of this, you’d probably have to enable the debug output of mbsync and look at exactly what IMAP commands it sends to Gmail, then decipher the relevant command(s) by looking at the RFC, and then decide whether it’s Gmail or mbsync’s fault this gets lost. You could also contact the mbsync devs with this I guess.

    I found someone complaining about the same issue, without getting a reply, 7 years ago, except that person was using mutt: https://stackoverflow.com/questions/52218254/isync-mbsync-on-gmail-marks-mail-as-new-after-move-to-another-folder

    That doesn’t help you obviously but from this we might guess it’s probably not aerc’s fault.







  • First, check if you can login, with your new user, on the Linux console (i.e. Ctrl-Alt-F1 through F7). If you can, the username change probably went through correctly. Report back if you cannot login via console or you get warnings/errors.

    Your login session does automatically terminate if the session process for Cinnamon exits, booting you back to GDM (or whatever login manager you have). So probably the Cinnamon session process, started by GDM, craps out for some reason. The reason is probably, I suspect, that it cannot access or cannot find some file it wants to open.

    Check ~/.xsession-errors, it might tell you what went wrong.

    Also check the permissions of your home folder, the files in your home folder, and check if you correctly set up the symbolic link from /home/olduser to /home/newuser as the guide suggests.





  • I recommend anyone to do a backup (I haven’t always and it bit me). However, if you create separate /home partition you can keep that between re-installs, even re-installs of different distros. And you can also share the same home partition between multiple OSs you might have installed at the same time.

    Sharing /home between distros can cause issues though: If one distro’s $SOFTWARE is newer that the other distro’s, they will still share the same dotfile configuration, and while most software is designed to deal with older configuration/database/etc files, older software many times cannot deal with newer files.



  • Really long freezes, while it could be something else, are often caused by the RAM being full, this is called thrashing.

    Big memory hogs like the browser or discord could trigger thrashing behaviour if you’re already low on RAM. Since this happened after an update, the most likely cause is a bug in any one of the many processes that are running on your computer. That kind of bug is called a memory leak, where a process is requesting memory for something, but then fails to give it back when no longer needed.

    You should monitor memory usage to see if it is that, and to find out what process it is.


  • Bill Gates is a monopoly capitalist with zero scruples. He screwed over so many people, vacuumed up so much wealth from all other sectors of the world economy. He has zero qualms about doing this either: There’s video of his depositions in the anti-trust case against Microsoft, and the whole fucking time he just argues semantics in response to the questions, and when pressed after five minutes of defining every fucking word in a sentence, almost always claims he doesn’t know or recall. Obviously a guy that thinks being as dishonest as it is possible to get away with is perfectly good business. And he does that despite whatever the outcome of the case, he’d be richer than billions of humans collectively. What pathology is this?

    There’s so much more shit, like the incessant lobbying for medical patents worldwide, or how, according to Melinda, Gates loved hanging out with Epstein.

    Now, why would anyone want to have their picture taken with that guy? Torvalds is such an unprincipled lib.

    Edit: Listened to some of the deposition in the background. Here Gates is being extremely annoying for example: The interviewer reads back an email from Gates saying something like “browser share is a very, very important goal for this company”, and then asks what other companies he’s comparing browser share with. Gates goes several minutes arguing he’s not talking about any other companies, since literally there are no other companies mentioned in that very sentence, obviously pretending like he doesn’t understand the question. If you listen to all the shit before, they have to go over whether “browser share” means “market share” (Gates says no), whether “very, very important” and “important” have different meanings (Gates says not necessarily, could be hyperbole), and that sort of stuff for minutes on end. Like seriously listen to this, I cannot even describe how stupid it is.


  • Yeah that stuff I myself got rid of back in the Gnome 1 days when you could still customize all that. I appreciate that the Gnome devs came to the same conclusions as me.

    • Desktop icons are usually hidden behind windows. It makes more sense to put launch icons in front of everything else, like Gnome does when you hit the Win/Super key.
    • Minimize is unnecessary when you have workspaces and efficient window switching methods. Same for the task bar.
    • A long time ago, when I was young, I played around with themes and shit, when that was still supported. There were always problems. Theming any complex set of applications yourself is basically impossible without causing issues, and themes made by others also exhibited this problem. You need a concerted long-term effort, plus buy-in from basically all app development teams, to make a comprehensive theme. Note how Microsoft/Apple don’t want to support theming either.
    • Systray was always some excuse for apps to just keep running in the background while not taking up taskbar space. Steam can go fuck itself, just please exit when I ask you to, and don’t treat the close button as “minimize”. If I wanted Steam running in the background I would just put it on another workspace.

  • I have this working on Debian like how you have it set up, everything on an encrypted lvm volume, except for boot and efi. Just one disk though. When waking up, it asks for the password like it does during normal bootup. It then restores RAM from the encrypted swap after you type the password. I think it worked out of the box, but it has been a while, so not 100% sure if I had to enable this somehow. Anyway this looks good to me.

    If you manually run systemctl hibernate, does that work? Assuming this also does not work, you need to look at the logs during the failed hibernate attempt. Probably something like sudo journalctl -f and/or sudo dmesg -wH (for kernel logs). Open this up in two terminals, run systemctl hibernate and observe any errors or warnings.

    It’s possible this is a hardware/driver issue, i.e. a driver prevents hibernation or fails at it. You may be able to figure out which driver/device is responsible by looking at the logs.