I’ve been using i3 for a while now, but the xfce power manager doesn’t work outside the desktop environment, is there any alternative you can recommend? It doesn’t matter if it is a terminal based or graphical interface program, I just need something that can suspend the computer after a certain time or lock it when the...
I also have a battery info using i3status in the status bar, and a script I named battery-check, which warns me via a dunst popup and a beep when the battery gets low:
Der Grüne Anton Hofreiter kritisiert Olaf Scholz als »unglaublich unverantwortlich«, kaum einer spricht so hart über die Politik des Kanzlers. Unterwegs mit einem, der nichts zu verlieren hat.
Was Hofreiter da nahelegt: dass Olaf Scholz im Sinne Russlands handeln würde. Es ist eine krasse, eigentlich ungeheuerliche Unterstellung, sie übertrifft alles, was Hofreiter in den beiden Tagen zuvor über Scholz gesagt hat. Nicht mal Friedrich Merz würde das dem Kanzler unterstellen.
Der Moderator lässt das so stehen, er hakt nicht nach, da bekräftigt Hofreiter den Satz noch mal: »Das sagen Leute, die sich damit beschäftigen. Dass das die eigentliche Hidden Agenda ist.«
Und niemand im Saal widerspricht.
Die Ukraine verliert, weil der Kanzler ihr mit dem Dolch in den Rücken gefallen ist, anders können sich Hofreiter & Bubble den Widerspruch zwischen Realität und den eigenen Brainworms nicht mehr erklären.
There are various different ways in which USB keyboards can encode keypresses. I’ve seen some BIOSes that just cannot deal with some keyboards due to this. The USB keyboard driver that will be in use during GRUB should be the BIOS/UEFI driver. So I would try updating the mainboard firmware/EFI or try a different keyboard maybe? Or disable the GRUB password if that’s an option.
I’m thinking of picking up a used ThinkPad on eBay for cheap to serve as my daily driver. I’ll likely run LMDE, and primarily use it for web browsing, office programs, coding, and FreeCAD. Any recommendations on which model would best hit the sweet spot of capability vs price?
More expensive business-class laptops, like the T-series, is I think what RedHat and others give to their employees, thus they are usually better supported than cheaper consumer models.
Thousands of protesters rallied Tuesday in Georgia after parliament adopted a law to brand overseas-funded NGOs as groups under “foreign influence”, a measure Brussels has warned will undermine Tbilisi’s European aspirations.
The US has the Foreign Agents Registration Act, which is actually stricter. The “Russian law” shit is just framing. Countries have a right to know who’s meddling in their shit, in fact meddling is illegal under international law. The fact that they feel this threatened by a mere transparency law speaks volumes.
How would you like it if some politicans from other countries (let’s pretend it’s Russia since you seem very concerned about them) came to your capital and threatened “severe consequences” for even daring to want to monitor foreign influence. These protestors are basically demanding to surrender all sovereignty to EU/US/billionaire funded NGOs.
Imagine living in country where core government functions, like writing laws, regulation, and social services are provided by NGOs which are beholden to foreign donors. No oversight by any local authority and definitely not beholden to the people. This is about as far from democracy as you can get, this will ruin a place.
Volksverpetzer liest glaub ich nur, wer eh schon deren Meinung teilt. Und zwar nicht um gut informiert zu sein, sondern weil man sich gerne aufregt und lustig macht. Das erfüllt mehr so die Funktion wie bei mir r/ShitLiberalsSay, oder wieso die Leute Bild lesen, nur halt für grünliberale Abiturabsolventen.
Nur als Beispiel wieso ich die nicht ernst nehmen kann: Die letzten Monate hat Israel eine ganze Welle an Desinformationen rausgehauen, das meiste davon wurde in Deutschland fast komplett unkritisch in der Presse weiterverbreitet. Und ich stolper in der Zeitung auch jetzt noch regelmäßig über Falschinformation, die bereits vor Monaten ausgiebig debunked wurden.
Könnte man meinen, das wäre gefundenes Fressen für das “Blog gegen Desinformation”, aber der letzte “Faktencheck” zu Israel ist mehr als 7 Monate alt.
Wo ist die Brandmauer gegenüber völkermordenden Ethnonationalisten hin? Ach ja die hat’s nie gegeben. Statt einer Brandmauer ist da eine Brücke der grenzenlosen Unterstützung, über die täglich tausende von Granaten geliefert werden.
Vollkommen schamlos, wie der da vor irgendwelchen hypothetischen Horrorszenarien warnt, während Israel ein Massaker nach dem anderen begeht. Am Ende von Artikel sagt er noch, “am wütendsten” würden ihn Deutsche machen, die glauben, ohne einen Staat Israel könnten dann alle “ohne Unterdrückung” zusammenleben. Ja wie denn sonst du Horst??? Wie soll das denn funktionieren in einem Staat, der sich ausdrücklich über jüdische Vorherrschaft definiert? Unterdrückung und Vertreibung sind ja offensichtlich reale Konsequenzen dieser Idee. Aber so meint der das gar nicht: In seinem Weltbild muss halt immer irgendwer unterdrückt werden, und mit den Palästinensern kann man’s ja machen. Ist ja selber keiner.
Man denkt vielleicht: sinnlos. Aber der Sinn ergibt sich, wenn man bedenkt, dass das für’s Militär entwickelt wird. Gleis ablaufen, dabei nach Menschen Ausschau halten (am besten autonom, falls der Funkt gestört wird), ist hier ein potentieller Einsatzzweck. In der Ukraine wird gerade regelmäßig entlang von Gleisrouten angegriffen, und auch Roboter (ferngesteuerte Kettenfahrzeuge) wurden schon zur Versorgung von Frontpositionen verwendet.
Ist halt nur Schade, dass die Bahn bei solchen Feldtests bzw. PR-Stunts mitmacht.
As others have said, if you quote your variables, they won’t get split on spaces. The Unix shell unfortunately has ton of gotchas like this, and the reason this is not changed is backwards-compatibility. Lots of shell scripts depend on this behavior, e.g. there might be something like:
If you quote this (ls “$flags”), ls will see it as one argument, instead of splitting it into two arguments. You could patch the shell to not split arguments by default, and invent some other syntax for when you want this splitting behavior, but that would break a ton of existing shell scripts, and confuse users who are already familiar with the way it works right now. It would also make the shell incompatible with other shells, and violate the POSIX standard.
I disagree. The vast majority of the time when writing shell scripts, I quote variables, because that’s almost always what I want. Splitting is basically only useful if you have a list of arguments, and you know for sure there are no spaces in any of the arguments (so no filenames).
(The workarounds in pure POSIX shell are btw super annoying if you want to pass a list arguments that may have spaces in them: You can abuse the special “$@” variable. Or you could probably also construct something with xargs.)
Ah that’s your point. Yeah I agree that splitting literal a b c is convenient. It is surprising to many (like here) that this happens after variable substitution, and that’s not very convenient since you almost never want that. You could define this to happen the other way around, but then you’d obviously have to invent a new syntax for explicit splitting, which would be its own kind of annoying.
For those of you who don’t know, Linux From Scratch is a project that teaches you how to compile your own custom distro, with everything compiled from source code....
I did it during the gcc 3 transition. I used a very new gcc 3 (maybe even pre-release), which wasn’t at all recommended. A couple of (most?) C++ packages didn’t compile (some change having to do with namespace scope), which meant I had to fix the source of some packages (generally pretty trivial changes, usually having to prepend namespace:: to identifiers). Overall this problem was pretty rare, like it affected less than 1% of C++ files, but with things like Qt or Phoenix (or whatever Firefox was called back then), with thousands of files, I had to fix dozens of things. I guess running into problems made it more interesting and fun actually.
Did I learn anything? The main thing I learned is about all the different basic packages and what sort of binaries and libraries are included in them and why you need them. Also about some important config files in /etc. And a bit of shell experience, but I dare say I knew most of that stuff already. How much you learn depends a lot on how much you already know.
Overall what I learned was not very deep knowledge, nor was it a very time-efficient way to learn. But it was a chill learning experience, goal-oriented and motivating. And it made me more comfortable and confident in my ability to figure out and fix stuff.
Also it’s obviously not practical to keep that up to date, so I switched back to a distro after a couple of months of this.
I’m using linux mint 21.3, and a process (brave aka chrome) sometimes memory leaking, so eats all the RAM, and then linux goes into swap death loop, when everything freezes (sometimes the mouse cursor is moving), and nothing can’t be done, i can just see the HDD led blinking, and do a reset. Is there a way to make the system...
This doesn’t work to avoid thrashing. The kernel may invoke the OOM killer slightly quicker if you have no swap, so I guess that can sort of help, but it doesn’t properly solve the problem.
On Linux, there’s a thing called the page cache (aka disk cache): Every time (part of) a file gets read to or written from, that (part of) the file gets copied to RAM. The file is then kept there unless that RAM is needed for something more important. It is cached in RAM. But since it is also on disk, the kernel can drop the file from RAM anytime it wants.
If you’re low on RAM, the kernel therefore evicts all of the disk cache, because it can, because those pages can be reloaded from disk if needed. This means it will drop all the programs you’re running, the binary code. So any program you’re running is constantly interrupted, because its code is not in RAM.
So it runs a couple of instructions, but oh no! Call to function foo() from glibc, but guess what? That’s on disk. Queue wait for the kernel to load that. Oh now it wants function bar() from zlib, shit! Need to load that. Since loading stuff from disk is about as slow as running like a gazillion instructions, all your programs are like 1000x slower now.
This happens even with zero swap.
The correct advice is the one from @RedWeasel: install/enable systemd-oomd or earlyoom.
I’ll make an appeal to authority (kernel developer working on memory management):
Disabling swap does not prevent disk I/O from becoming a problem under memory contention, it simply shifts the disk I/O thrashing from anonymous pages to file pages. Not only may this be less efficient, as we have a smaller pool of pages to select from for reclaim, but it may also contribute to getting into this high contention state in the first place.
And then he goes on to say what I said, that it can make the OOM killer quicker to react.
FDP-Fraktionschef Dürr befürwortet die Durchführung von Asylverfahren in Drittstaaten außerhalb Europas. Diese Möglichkeit solle zeitnah und grundsätzlich geprüft werden.
Die stb-care Holding GmbH betreibt das Heim seit 1. März.
Das ist so gewollt, irgendwas mit Markt und Wettbewerb. Das ist die effizienteste und rationalste Art um die gesamte Gesellschaft zu organisieren, das ist klar.
Since that bug seems related to the X server somehow, I wonder if your monitor is showing black or actually off/standby (as in backlight off)?
If it’s the backlight, maybe it’s related to DPMS (monitor power management), and you can jolt it back to life with something like
<span style="color:#323232;">xset dpms force on
</span>
after waking up. Or maybe disable DPMS completely and see if that changes anything.
It would also be interesting to know if this problem also happens outside of XFCE. If you just use (say) openbox (which I don’t think does any power management or DPMS stuff by itself), does that work?
It actually starts, and then turns off. I didn’t notice it before you drew my attention.
That does sound like DPMS (“vesa display power management signaling”) shenanigans though.
Maybe you can disable XFCE’s display power management stuff completely? Systemd’s logind (/etc/systemd/logind.conf) can do (and does by default I think) suspend on lid-close without any window manager involvement at all, works fine with i3 here. So disabling XFCE’s stuff probably “only” messes with your monitor not going standby after a while, and you can maybe use xset or xscreensaver and set this by hand (after making sure it’s actually properly disabled in XFCE, so XFCE doesn’t override that stuff).
Found this about how to stop xfce4-power-manager and disable DPMS:
Since when is aluminium biologically important? I’m under the impression that humans (and other life?) do not need aluminium at all.
Having said that, my info is that it’s nothing to worry about. It is very common in food (naturally and since forever), and the body can get rid of it, and they haven’t been able to show adverse effects except in very very high doses. That’s the messaging I’ve been seeing anyway.
While I was writing a shell script (doing this the past several days) just a few minutes ago my PC fans spinned up without any seemingly reason. I thought it might be the baloo process, but looking at the running processes I see it’s names block-rate-estim . It takes 6.2% CPU time and is running since minutes, on my modern 8...
Btw, based on the name, and looking at the source, I think this block-rate-estim is a benchmark helper program for the libde265 video decoder. I think it takes in a file with log data (like debug output or something) and does some statistical calculation on it. My guess is the “block rate” is the speed/throughput.
It’s not available on Debian here (not part of any package, i.e. not installed/compiled, not sure why Fedora Arch would include this in the package tbh), since I think it’s supposed to be an internal dev tool or something like that.
It expects two arguments: a tag (whatever that is) and a filename for input data. It definitely doesn’t understand –help and I suspect it endlessly loops when it doesn’t get valid filename as the second argument.
I’m sticking to my hunch from my other comment, that it is one of your vim (or maybe shell) plugins. It possibly runs every binary installed on your system with –help, to provide some sort of autocomplete or something like that. If that is the case, that seems like a bad idea honestly.
I see no reason why FreeTube would run this, but if it did, it surely wouldn’t incorrectly run it with just –help as an argument.
Alternatives to xfce power manager
I’ve been using i3 for a while now, but the xfce power manager doesn’t work outside the desktop environment, is there any alternative you can recommend? It doesn’t matter if it is a terminal based or graphical interface program, I just need something that can suspend the computer after a certain time or lock it when the...
Dauerstreit in der Ampel: Warum Toni Hofreiter die Politik des Kanzlers so verachtet (archive.is) German
Der Grüne Anton Hofreiter kritisiert Olaf Scholz als »unglaublich unverantwortlich«, kaum einer spricht so hart über die Politik des Kanzlers. Unterwegs mit einem, der nichts zu verlieren hat.
[Help] Keyboard key presses are extremely sensitive in GRUB
I recently upgraded my PC to a AM5 motherboard. My system runs KDE neon with full disk encryption....
What is the best model of used ThinkPad to purchase?
I’m thinking of picking up a used ThinkPad on eBay for cheap to serve as my daily driver. I’ll likely run LMDE, and primarily use it for web browsing, office programs, coding, and FreeCAD. Any recommendations on which model would best hit the sweet spot of capability vs price?
Thousands protest in Georgia after lawmakers pass controversial ‘Russian law’ (www.france24.com)
Thousands of protesters rallied Tuesday in Georgia after parliament adopted a law to brand overseas-funded NGOs as groups under “foreign influence”, a measure Brussels has warned will undermine Tbilisi’s European aspirations.
Volksverpetzer: Blog gegen Desinformation verliert die Gemeinnützigkeit (netzpolitik.org) German
Wo ist die Brandmauer gegen Islamisten hin?: Die Sympathisanten der Hamas verlieren jede Scham (www.tagesspiegel.de) German
Deutsche Bahn: Roboterhund Spot ertappte keinen Sprayer (www.heise.de) German
why does noone inprove bash such that you can write a normal foor loop with whitespace in file names?
I know that there are ten different alternatives. Why don’t we simply improve the basic stuff?
Has anyone here ever tried Linux From Scratch?
For those of you who don’t know, Linux From Scratch is a project that teaches you how to compile your own custom distro, with everything compiled from source code....
Auto kill memory leaking processes before swap death loop
I’m using linux mint 21.3, and a process (brave aka chrome) sometimes memory leaking, so eats all the RAM, and then linux goes into swap death loop, when everything freezes (sometimes the mouse cursor is moving), and nothing can’t be done, i can just see the HDD led blinking, and do a reset. Is there a way to make the system...
Asylpolitik: FDP fordert Debatte über Ruanda-Modell für Deutschland (www.zeit.de) German
FDP-Fraktionschef Dürr befürwortet die Durchführung von Asylverfahren in Drittstaaten außerhalb Europas. Diese Möglichkeit solle zeitnah und grundsätzlich geprüft werden.
Russia says Polish discussion on hosting US nuclear weapons is dangerous (www.reuters.com)
Bark (www.t-online.de) German
(partially solved, will update when completed) Please help with an xfce/powerup bug: black screen after suspend/hibernate
MX Linux, Xfce 4.18...
Is Neofetch abandoned?
Ive noticed its has been any activity in their github for a longtime. github.com/dylanaraps/neofetch...
Aluminium drawback? Why US still uses so many plastic bottles?
Thoughts? I am currently trying to avoid using plastic packed drinks as much as possible due to it’s limited and finite recycle count
What is this block-rate-estim?? Suddenly came to life
While I was writing a shell script (doing this the past several days) just a few minutes ago my PC fans spinned up without any seemingly reason. I thought it might be the baloo process, but looking at the running processes I see it’s names block-rate-estim . It takes 6.2% CPU time and is running since minutes, on my modern 8...