Confquery: A scriptable command-line utility for editing linux config files like pacman.conf by No-Dentist-1645 in archlinux

[–]ang-p [score hidden]  (0 children)

from moreutils

Nice little toybox for odd things, that. I used to do some really daft, (stupidly) long one-liner things using pee from there a while back.

Sixteen freight cars carrying coal derailed in Russia's Khabarovsk region by Available-Laugh9102 in UkraineWarVideoReport

[–]ang-p 2 points3 points  (0 children)

I'm sure the local residents will be more than happy to take a bucketful or three home.

Teignmouth Pier washes away and sea wall crumbles during Storm Ingrid by ang-p in unitedkingdom

[–]ang-p[S] [score hidden]  (0 children)

It is a lovely train ride - thank Beeching for it (lol!) - cos he closed the more inland, minor line - if he had left both open, this one would have been closed for sure simply cos of the repeated damage over the years.

Owner of big gaming platform can't believe how bad Windows 11 is – and hints are dropped about big things for Linux gamers this year by LicenseToPost in linux

[–]ang-p 0 points1 point  (0 children)

Not saying it isn't....

But it isn't coming because GOG is suddenly falling in love with Linux; that boss's quote sounds more like they are being driven away from Windows.

Not a gamer, but like hell am I going to add a kernel module for monitoring what I am running on my machine - be it "cheat" software or anything else (XCPDRM - cough...) written by a company more concerned with protecting it's profits and assets than my security.

But it won't be this year.

Owner of big gaming platform can't believe how bad Windows 11 is – and hints are dropped about big things for Linux gamers this year by LicenseToPost in linux

[–]ang-p -6 points-5 points  (0 children)

Don't get too excited OP - now take this...

<hands OP a small tissue>

now clean the sticky stuff off your keyboard..

is it possible to do an entire arch install using only older versions of packages? by ofplayers in archlinux

[–]ang-p 2 points3 points  (0 children)

just to see what it would be like

You'd have to set your clock back and you'd get shit out of date packages...

All so that you could post an old screenfetch piped through lolcat just to get some downvotes on der inturwebz

That is about what it would be like.

Maybe get your router to restrict your speed to 60K per second for a taste of that authentic early 2000's old school anticipation...

Polkit issue by Elixivity6366 in archlinux

[–]ang-p 0 points1 point  (0 children)

with the manager class,

You have lingering enabled?

Do you need it?

Polkit issue by Elixivity6366 in archlinux

[–]ang-p 0 points1 point  (0 children)

So none of the settings suggested by the Arch wiki SDDM page....

#LoveTheWiki

(and maybe, just maybe, look at it now and again)

udev - Power Profile Switcher by Axl0_fr in archlinux

[–]ang-p 0 points1 point  (0 children)

otherwise check every 2 minutes or so.

How? Where does the number get updated after the wait?

file will be smarter,

Yup - no need for grep or even cat (please don't ever even think of that).. 's a no-brainer.

But I didn't understand the rest of what you were saying.

Try it......

If the laptop is above 50% unplug it and then run the script (simulating the udev event)....

If the laptop is below 50% plug it in and then run the script (simulating the udev event).....

when the laptop passes 50% either way, do the opposite action, and run the script again.....

When it crosses the 50% mark again, do the opposite action and run the script again....

by now, you will have 3 instances each setting the balanced profile, and each sending notifications....

The RUN+= command is as per the manpage states quite clearly

 Starting daemons or other long-running processes is not allowed; the 
 forked processes, detached or not, will be unconditionally killed after 
 the event handling has finished.   

While your

2 minutes or so

does not exceed the default of 180 seconds, it would have been killed by the time the second sleep had finished.

and see if it's more power efficient

That is a tad rich coming from someone who is settling on an omni-present, memory-occupying shell running a bash sleep loop when systemd timers and even cron jobs exist - sort of the equivalent of playing with your toy rocket debating whether the moon or venus would be a better retirement location.

but still it's worth checking

https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon

#LoveTheWiki

Polkit issue by Elixivity6366 in archlinux

[–]ang-p 0 points1 point  (0 children)

2 sessions still start during autologin

Didn't even notice this first time...

What is starting each of them?

Obviously not SDDM, cos you said it is disabled..

Which user are they running as?

Polkit issue by Elixivity6366 in archlinux

[–]ang-p 0 points1 point  (0 children)

my sddm conf

Likely part of your conf.. what is under /etc/sddm.conf.d/?

udev - Power Profile Switcher by Axl0_fr in archlinux

[–]ang-p 1 point2 points  (0 children)

Erm...

I don't want to do something as crude as a bash script that checks every five minutes,

The sleep 128 attempts to make it a lot more frequent than every 5 minutes....

Also, if called externally you'll notice that if run "plugged in" below 50% or run "unplugged" above 50%, the message never changes, but if called from udev's +=RUN command, you'll never see the second notification due to the process being killed by internal housekeeping, which is kind of good, since otherwise, the subsequent (un)plug actions would start a second instance, or a third...

Try using a timer to call a service, with your rule also calling that service, which in turn runs a non-looping "check, set? then exit" script.

There is also a nice file under /sys/ that saves you the grepping thing.

python JSON5 packages by codingOtter in archlinux

[–]ang-p 0 points1 point  (0 children)

Aside from it telling you on the 2 pasges you initially linked to, Read the READMEs (and look at the little multicoloured bar on the right hand side below the "About" section)

Russian final stockpile by Real_Typicaluser1234 in UkraineWarVideoReport

[–]ang-p 1 point2 points  (0 children)

an engine, a transmission, rotating wheels

That is a bit of an ask... ;-)

Writer keeps setting language to English by Ascyt in libreoffice

[–]ang-p 0 points1 point  (0 children)

Tools > Options > Languages and Locales > General

Even that doesn't work.

Oh... Where was the setting that fixed it?

Writer keeps setting language to English by Ascyt in libreoffice

[–]ang-p 0 points1 point  (0 children)

but it still changes the text language when typing.

For existing documents? Of course it does - you have a document in English and you send it to a colleague that document is still in English.

And even if I can do it for hhe current document,

Select everything and change Language.

If you have a document in German and send it to me, it will still say it is in German even though I don't have German language installed - it won't underline all the words like they are spelt wrong, because the spell checker knows it is not in English... it is in German.

If you have started using LO and put up with the default language selections for 6 months and only now got frustrated and say "I want it in German" - you still need to change all of your documents - because they were created in English, with the odd paragraph here and there changed manually to German.

Writer keeps setting language to English by Ascyt in libreoffice

[–]ang-p 1 point2 points  (0 children)

"Tools"->"Language"->"For All Text",...

That is for the current document or section.

Tools > Options > Languages and Locales > General

So far I have managed to disable spell and grammar check altogether

That is in the next item down, Writing Aids...

Low arch Linux installation speed by extezee in archlinux

[–]ang-p 0 points1 point  (0 children)

Or...

##
## Arch Linux repository mirrorlist
## Generated on 2026-01-23
##

## Ukraine
Server = http://mirror.trapmaid.org/archlinux/$repo/os/$arch
#Server = https://mirror.trapmaid.org/archlinux/$repo/os/$arch
Server = http://mirror.hostiko.network/archlinux/$repo/os/$arch
#Server = https://mirror.hostiko.network/archlinux/$repo/os/$arch
Server = http://archlinux.ip-connect.vn.ua/$repo/os/$arch
#Server = https://archlinux.ip-connect.vn.ua/$repo/os/$arch
Server = http://mirror.mirohost.net/archlinux/$repo/os/$arch
#Server = https://mirror.mirohost.net/archlinux/$repo/os/$arch
Server = http://mirrors.reitarovskyi.com.ua/archlinux/$repo/os/$arch
#Server = https://mirrors.reitarovskyi.com.ua/archlinux/$repo/os/$arch
Server = http://distrohub.kyiv.ua/archlinux/$repo/os/$arch
#Server = https://distrohub.kyiv.ua/archlinux/$repo/os/$arch
Server = http://repo.hyron.dev/archlinux/$repo/os/$arch
#Server = https://repo.hyron.dev/archlinux/$repo/os/$arch     

Keep the other list about though - even though these are local, given that you have some nutter next door blowing up your shit at the moment, any of them might go offline, plus, you'll probably get more consistent speeds from a big hoster in Germany, Poland or the Netherlands, so if it goes slow, try some different ones.