Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)G
Posts
6
Comments
356
Joined
3 yr. ago

  • 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.

  • man switch_root

    switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process. WARNING: switch_root removes recursively all files and directories on the current root filesystem.

    If you look at the source code, it uses mount(2) with the MS_MOVE flag to move the /proc, /dev, /sys, /run to the new root, then deletes all the files on the old root fs recursively, then MS_MOVE-mounts the new root over the old one. As the comment in the source code points out:

    /* Don't try to unmount the old "/", there's no way to do it. */

    This is presumably why it deletes the files on the initrd, because it is a ram disk and the files would be eating up memory if left there.

  • On Linux/Unix (not sure about other platforms), you can configure a "Compose key" (people usually use something like the Menu key, or the right Alt key).

    You can then hit that Compose key, followed by multiple other keys and they will be combined into a character, usually roughly relating to the shapes.

    • Compose L / gives Ł
    • Compose + - gives ±
    • Compose 1 2 gives ½
    • Compose C = gives €
    • Compose - - - gives —
    • Compose c s gives š

    etc. There's a big table somewhere where all these are defined.

    On android keyboards you can hold down the letter and get a list of "alternative" letters (seems to depend on the keyboard and keyboard layout configured what you get), you can also configure multiple languages/keyboards and then switch between them, by holding the spacebar.

  • Source?

  • Because people here accuse Poettering of being an asshole: I've read some of his blogposts and seen some talks of his and him doing Q&A: He answered professionally, did his best to answer truthfully, did acknowledge when he didn't know something. No rants, no opining on things he didn't know about, no taking questions in bad faith.

    As far as I can tell all the people declaring him some kind of asshole are full of shit.

  • Es gibt unter Linken (und ich meine hier Kommunisten, Antiimperialisten oder (wie Varoufakis) marxistisch geprägte demokratischen Sozialisten, nicht Linksliberale wie z.B. der überwiegende Teil der Linkspartei, besonders deren Parteiführung) zwei Sichtweisen auf den Russland-Ukraine-Krieg:

    1. Das ist ein zwischenimperialistischer Konflikt. Westliche und russische Kapitalisten bekriegen sich, auf dem Rücken der Arbeiterklasse die kämpft und stirbt, für Märkte, Rohstoffe und strategische Positionierung. Die Aufgabe von Linken Orgas ist es (nach Lenin/Luxemburg) sich mit der Arbeiterklasse des angeblichen Feindes zu solidarisieren, und die Fähigkeit der Imperialisten, Krieg zu führen, zu untergraben, um das sterben und töten von Arbeitern zu stoppen. Im besten Fall führt das zu günstigen Bedingungen für die Revolution (wie Oktoberrevolution in Russland, oder die gescheiterten Aufstände in Deutschland nach dem 1. Weltkrieg). Dazu sollte man in erster Linie die Fähigkeit des eigenen Staates bekämpfen, Krieg führen zu können, und nicht wie die SPD damals den Staat gegen den externen Feind unterstützen. Nennt sich revolutionärer Defätismus.
    2. Der Ukraine-Krieg ist ein Versuch des westlich-imperialistischen Blocks, Russland zu unterwerfen und (wieder) zu einer westlich dominierten Semikolonie zu machen, wie dies in den 90ern de-facto der Fall war. Russland sollte gegen diese imperialistische Aggression kritisch (d.h. nicht allgemein, sondern in diesem speziellen Zusammenhang) unterstützt werden, wie man auch verschiedene nationalistische Befreiungsbewegungen in vielen (semi-)kolonisierten Regionen unterstützt hat und immer noch tut (wie z.B. jetzt gerade in Palästina). Die Logik dahinter ist, dass die Befreiung von der kapitalistischen Klassenherrschaft untrennbar mit dem Kampf gegen koloniale Herrschaft verbunden ist, und dass Kampf gegen das eine Freiräume für Kampf gegen das andere schafft.

    Da gibt es einiges an Streit zwischen den Lagern, manche Organisationen haben sich darüber gespalten (z.B. in Deutschland die KO (die Abspaltung hat die KP gegründet)). Unter deutschen Linken (und im Westen allgemein) ist die erste Sichtweise glaube ich prominenter, im Globalen Süden eher die zweite.

    Beide Einschätzungen haben lange Tradition im linken Spektrum. Die Tatsache, dass du das für russische Propaganda hältst, ist meiner Vermutung nach deswegen, weil liberale Medien abweichende Meinungen zum Ukraine-Krieg grundsätzlich und präventiv als russische Propaganda verunglimpfen. Die Bevölkerung wird gewarnt, auf der Hut zu sein vor den russischen Propagandisten und ihren Narrativen, damit, wenn die Kriegslogik von irgendwem hinterfragt wird, reflexartig der Gedanke kommt, es handle sich um Feindpropaganda, die man nicht konsumieren oder ernst nehmen sollte.

  • Ok that's weird. My first guess would be something kernel-related, so maybe try booting the old kernel if you still have it, or just try a different kernel.

  • 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.

  • Mal sehen. Ich glaube ja die haben den Iran und seine Verbündeten unterschätzt. Die Amis machen in solchen Situationen (siehe z.B. erster Irak-Krieg) die komplette Infrastruktur (Strom, Wasser, Treibstoffversorgung, Internet, Häfen, Raffinerien, ...) kaputt. Aber damit stürzt man die Regierung eher nicht. Und mit der Hilfe von China lässt sich das alles danach wieder reparieren. Die Amis müssten also die Angriffe sehr lange fortsetzen.

    Während der Zeit können der Iran und Ansarallah den Ölhandel stören. Es gibt da Anreize für die USA, irgendwann wieder aufzuhören mit der Bombardierung. Zum Beschießen von Öltankern brauchen der Iran keine wahnsinnige Qualität oder Quantität an Raketen. Ich glaube die Amis können denen diese Fähigkeit nicht komplett wegbomben.

    Außerdem ist das US-Militär dauernd am losen. Zuletzt in Afghanistan und im Yemen. Luftabwehrraketen sind knapp und funktionieren nur so mittelmäßig gegen neuere iranische Raketen, die Produktionsraten sind gering und Abhängig von chinesischen Inputs. Flugzeugträger sind sitting ducks. Gegen den Yemen habe sie drei Flugzeuge verloren: Einmal friendly fire, und zwei sind vom Flugzeugträger gefallen, eins davon offenbar weil der Flugzeugträger ein Ausweichmanöver machen musste. Die F35s sind absurd teuer, werden sehr langsam produziert, und sind fragil. Über Bodentruppen wird nicht mal geredet, weil eh vollkommen unrealistisch.

  • Es geht hier nicht darum Freiheit herbeizubomben. Für die US-Neocons geht es um Geostrategie und Hegemonie, Israel will alle seiner Gegner kaltstellen, damit es "in Sicherheit" Großisrael von Palästinensern und sonstigen Arabern ethnisch säubern kann.

    Der Auslöser war keineswegs der 7. Oktober. Netanyahoo drängt schon seit Jahrzehnten auf einen US-Iran Krieg, und in den USA gab es ebenfalls schon seit Jahrzehnten Kriegspläne und Vorbereitungen.

  • Deleted

    Permanently Deleted

    Jump
  • 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.

  • Interesting, thanks.

  • The tokens can be worth different amounts. There can be 1 ¢ tokens, 10 ¢ tokens, 1 € euro tokens, 10 € tokens, whatever. Your wallet app will, when withdrawing, generate various tokens worth different amounts.

    Using those tokens will be somewhat like paying in cash at a store that does not return any change. You gotta pay the exact amount. In order to facilitate that, you'd withdraw tokens worth only small amounts. There wouldn't be like be any 50 € tokens in practice. If you wanted to withdraw 50 €, you'd get 1000 1 ¢ tokens, 100 10 ¢ tokens, and the rest 1 € tokens or something like that, to make sure you always have the exact amount ready to pay for anything.

  • I looked at this a looong time ago, but the basic idea is that the tokens (equivalent to cash coins/banknotes) are generated on the end user's device, through some public-key cryptographic back-and-forth protocol. The issuer (bank/central bank/payment provider) does not see these tokens (they're only on the end users device), but can verify that they're legit (i.e. issued by them) somehow.

    You can take one of these tokens to them, and deposit it in an account. They won't know who it's from but they know it was legitimately issued by them. Depositing a token is also supposed to be the only way of figuring out if it is a legit token, the bank will not tell you if a token is legit unless you deposit it.

    When someone pays with these tokens in a shop, the shop will want to immediately (during checkout) deposit them, to make sure they're legit, and also to make sure the token hasn't been double spent. A shop that doesn't do that makes itself vulnerable to fraud. This means shops will have a hard time hiding their revenue (to dodge taxes) compared to cash.

    If someone you trust gives you a token (birthday money from your grandma, say), you don't have to immediately deposit said token, since presumably you trust your grandma to not give you fake or double-spent tokens. Since you trust you grandma, there is no need to deposit the token and involve the bank, and that transfer would be untraceable (it's literally just copying a number from her phone to yours).

    The idea is that shop owners would have a hard time dodging taxes without opening themselves up to fraudsters using fake tokens, while the customer cannot be identified. You'd also be able to exchange tokens with family and friends in a way that isn't traceable, as long as you trust them to not screw you over.

  • Ok so it's not the uinput permissions.

    When you use lightdm, do you use it to log into a Gnome wayland session, same as with GDM? Or is there any other difference between using GDM and LightDM? What exactly is/isn't working, and how can you tell it is related to the XTEST extension?

    Also I can use the PS5 controller as a mouse just fine.

    Ok, this could maybe be the kernel driver creating a "real" touchpad device. Steam is able to create fake/virtual mouse and keyboard devices, I suspect that's what steam uses XTEST and/or uinput for. So even though your PS5 touchpad works, that does not invalidate my theory that steam wants XTEST for mouse/keyboard input fakery, because that's what exactly what XTEST is for.

    So technically, Steam wouldn't require XTEST for controller input, it would require XTEST to map controller inputs to fake mouse or keyboard inputs. I don't know what exactly steam does if XTEST isn't present, like what exactly doesn't work?

    And XTEST is an X11 protocol extension, it probably doesn't work properly under Wayland anyway.

    The null here is concerning to me.

    Dunno, '(null)' might just refer to the default connection (or server or screen or whatever X11 object this refers to), so not sure if this something to be concerned about. I presume X11 clients in general do work? Like xterm or xeyes work, right?

    I am having the same bug as in here :/

    The fact that you cannot log in may seem/look like that exact issue you linked to, but that's from 2019 and may have a different cause. In general, GDM will start some executable, (i.e. gnome-session or something like that, or at least it used to be gnome-session, haven't used gnome in a while) which if it exits/crashes this will kick you back to GDM. It could crash for many reasons.


    You should check the logs for sure for both issues. X11 session logs (relating to Gnome X11 not starting), should be in ~/.xsession-errors (or ~/.xsession-errors.old for the previous session, I think). There may be a /var/log/Xorg.0.log for xorg, which I guess could also be the thing crashing (maybe). There may be other things logged with journald that could be relevant. journalctl --user should show all the logs for the user session. Logs from Gnome, since it runs as your user, would presumably show up there. My guess is all the relevant logs for a Gnome wayland session would also be there, as well as (hopefully) Xwayland errors/warnings, since Xwayland is actually the thing that would report it doesn't support XTEST.

    Note that journalctl likes to show the oldest logs first, so look at the timestamps. You can press G to scroll to the end. There are various ways to filter messages, look at journalctl --help. You might want to use --grep to look for anything related to XTEST or xwayland.

    Lightdm and GDM are systemd units (systemctl list-units), the logs would show with something like sudo journalctl -u lightdm.

  • Interesting. I will say I suspect still this is to make the controller act as a mouse or keyboard somehow, which steam can do.

    One interesting thing is that it says in the bug report, that steam also requires uinput, which is used to create virtual input devices from userspace. And maybe (speculating) you need that for XTEST to work on wayland or something, or maybe steam can use uinput instead of XTEST if it's not available.

    Or maybe it's security-related somehow (Regular programs being able to create virtual keyboards is kind of a security issue).

    For me the output of getfacl /dev/uinput will list my username with read/write permissions. I have no idea what is responsible for giving me this permission but there it is.

    Can you check with getfacl in both sessions?

  • I have never heard about this, can you link to your source for this? Also what's the symptom here exactly?

    AFAIK steam and games directly use the kernel devices for controller input, not any X11 extensions.

    Edit: Wait!? Do you want to use the controller as keyboard + mouse? Inside of GDM? Because that might use XTEST after reading about it, since XTEST seems to be some kind of testing protocol that allows one to emulate a mouse.