libera/#devuan/ Saturday, 2024-10-05

AlexLikeRockhi01:51
debdogoy!01:52
AlexLikeRockih debdog01:52
AlexLikeRockhow to down the brigthnes by terminal ?01:53
debdogdefine "terminal" in that context01:54
freema terminal emulator, that you have on a graphical desktop, or the linux PTY, that you could get with i.e. CTRL+ALT+F1 ? (might still, unsure)01:55
drizztAlexLikeRock: using some file in /sys01:56
fsmithredctrl-alt-F1 still works unless you ran startx on tty101:56
freemin most case anyway, a solution is to adjust the brightness of the screen directly, via ACPI or the /sys stuff01:56
drizztI have this on my laptop :01:57
drizztalias brighter='echo 7 > /sys/class/backlight/acpi_video0/brightness'01:57
drizztalias darker='echo 0 > /sys/class/backlight/acpi_video0/brightness'01:57
AlexLikeRockhahaha01:57
AlexLikeRockthanks drizzt01:58
AlexLikeRockat my laptop :     /sys/class/backlight/nv_backlight01:59
drizztif you have something under /sys/class/backlight/ you may find some brightness file in one of the sub-directories01:59
fsmithredI use xrandr or redshift01:59
drizzton my desktop I don't even have /sys/class/backlight/02:00
drizztAlexLikeRock: then /sys/class/backlight/nv_backlight/brightness ?02:00
AlexLikeRockyes02:00
AlexLikeRockactual_brightness  brightness  max_brightness  scale  type02:01
AlexLikeRockbl_power   device      power       subsystem  uevent02:01
AlexLikeRockreading ...02:01
drizztfsmithred: did not thought about xrandr, but this works fine :)02:03
drizztxrandr --output DP-1 --brightness 1 (for me) restores "normal" brightness02:04
drizzt0 turns black02:04
drizztbetween 0 and 1 lowers the brigntness02:05
fsmithredyeah, I've got that scripted with yad (like zenity) so I can do it the clicky way02:05
drizztbut I can also go above 1, wich saturates the colors but works :)02:05
freemIIRC xrandr does a software change, so won't affect energy uses. Also, might not work with wayland systems?02:08
fsmithredwash your mouth out with soap02:09
freem?02:09
debdoglol02:09
fsmithredoh, maybe that doesn't translate well. That's a punishment for saying bad words.02:09
freemsure, but I'm more wondering about which one is the bad one.02:09
freemxrandr?02:10
freemsoftware?02:10
fsmithredlol02:10
freemsystems?02:10
debdogw...02:10
fsmithredyou're wayoff02:10
freemthat one got the last letter correct, for me, but...02:10
freemwhat I mean is that the /sys one is simply the best, when available. Sadly I only seen it work on laptops.02:11
debdogx and w do not compute02:11
freempretty sure a LLM bot can do that02:11
* freem goes back at reading C code02:12
freem(checking if libgd could be used to actually need neither of wayland nor Xorg to do some trivial stuff in framebuffer+libinput, because neither x nor w compute alone, anyway)02:13
AlexLikeRockXDDD    "xrandr --output DP-1 --brightness 2"02:18
fsmithredif you want it less bright, try 0.802:25
drizztanyone has news about debian-arm ?02:50
drizzt#devuan-arm has 30 users ... #debian-arm only 4 ...02:50
drizztI've been thinking about build a build farm to re-build and maintain packages for ARM some time ago ... looks like it's going to become mandatory if debian drops support of ARM for lack of users02:52
rwpI have one Devuan ARM Banana Pi still running Chimaera running hostapd and two USB WiFi adaptors providing 5GHz and 2.4GHz WiFi to my house.02:54
drizztrwp: yep, but if no one runs tests on development branches (understand ceres/sid) then the stable branch has to be cut soon after02:56
drizztrwp: wasn't it what we spoke about ... yesterday ? (community involvment, packaging vs appimage, and so on ...)03:00
rwpYesterday I would say we debated the merits of appimage versus native packages.  Not quite the same thing.03:02
drizztit's exactly the same problem : community involvment03:02
drizztonce there's no-one left to run (and as such, test) the base system, then the system dies03:03
AlexLikeRockdone  my script , to edit brigtness ,03:08
AlexLikeRockok, next question03:09
AlexLikeRockmy other devuan partition ,  X11 not detect  INPUT  (mouse and keyboard )03:09
AlexLikeRocksuggestions ?03:09
drizztxserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse installed ?03:17
drizzt/etc/X11/xorg.conf ?03:18
AlexLikeRockruning ...03:18
drizztSection "ServerLayout"03:18
drizzt    Option         "AutoAddDevices" "On"03:18
drizztEndSection03:18
drizztand remove all "InputDevice" sections03:19
AlexLikeRockok03:19
drizztremove /comment03:19
drizztin fact, my /etc/X11/xorg.conf has almost only what I pasted here03:20
drizztonly a "Identifier     "Default Layout"" in the ServerLayout Section03:20
drizztand     Option         "StandbyTime" "0"03:20
drizzt(and SuspendTime, OffTime, BlankTime options also set to 0)03:21
drizztbut no more03:21
AlexLikeRockhttps://paste.debian.net/1331353/03:21
drizztand this could be done using xrandr I think03:21
AlexLikeRockcat /etc/X11/xorg.conf03:22
AlexLikeRockcat: /etc/X11/xorg.conf: not found the file03:22
AlexLikeRockthis old partition, i install by REFRACTA03:22
fsmithredthere's also xserver-xorg-input-libinput03:24
fsmithredmost of the time you don't need xorg.conf03:24
drizztAlexLikeRock: apt-get update03:24
AlexLikeRockdrizzt, , im workin on update03:24
drizztto fix the missing package error03:25
AlexLikeRockhow to change apt  to english ?03:33
AlexLikeRockFAIL  update v03:35
AlexLikeRockhttps://paste.debian.net/1331354/03:35
fsmithredAlexLikeRock, I think do: LC_ALL=C apt install whatever03:39
AlexLikeRocknot LOCALES03:44
AlexLikeRockhttps://paste.debian.net/1331355/03:44
AlexLikeRockdrizzt,03:47
AlexLikeRockfsmithred,03:47
drizztAlexLikeRock: LANG=C apt update03:48
drizztyou can also eport LANG=C03:48
drizztAlexLikeRock: su -03:49
drizztinstead of su03:49
drizzt(I think it should be added on top of welcome message, with the associated explanation)03:49
AlexLikeRockdrizzt, take a look   https://paste.debian.net/1331355/03:49
drizztAlexLikeRock: you used "su" to become root insn't it ?03:50
AlexLikeRockim root  by : su  -03:50
drizztAlexLikeRock: yep, that's what I'm talking about03:50
AlexLikeRocki tink "locales" are uninstaling03:50
drizztecho $PATH ?03:51
drizztanyway, sorry but I need to go get some sleep03:52
drizztgot to drive "tomorrow" morning03:53
drizztmeaning in about 6 hours03:53
AlexLikeRockecho $PATH03:55
AlexLikeRock /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin03:55
AlexLikeRock dpkg -i locales_2.36-9+deb12u8_all.deb03:56
AlexLikeRockdpkg: atención: `ldconfig' no se ha encontrado en el PATH o no es ejecutable03:56
AlexLikeRockdpkg: error: no se ha encontrado 1 programa esperado en el PATH o no es ejecutable03:56
AlexLikeRockNOTA: El PATH de root debería incluir habitualmente /usr/local/sbin, /usr/sbin y /sbin.03:56
AlexLikeRocksorry03:57
AlexLikeRockdpkg: warning: 'ldconfig' not found in PATH or not executable03:57
AlexLikeRockdpkg: error: 1 expected program not found in PATH or not executable03:57
AlexLikeRockNote: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin03:57
drizztls -l /usr/sbin/ldconfig03:58
drizztand03:58
drizztexport LANG=C03:59
drizztso all your messages on this shell will be in english03:59
AlexLikeRock LC_ALL=C  ls -l /usr/sbin/ldconfig04:00
AlexLikeRockls: cannot access '/usr/sbin/ldconfig': No such file or directory04:00
drizztbad one04:00
drizztls -l /sbin/ldconfig maybe ?04:01
drizztand do you have usrmerge installed ?04:01
AlexLikeRockls -l /sbin/ldconfig04:01
AlexLikeRockls: no se puede acceder a '/sbin/ldconfig': No existe el fichero o el directorio04:01
drizztor only partially installed04:01
AlexLikeRocknot exist04:01
drizztyour system seems to be in a really bad state04:02
drizztsorry, but I really need to go :(04:02
AlexLikeRocksorry i lost , energy04:05
AlexLikeRock hold on ...04:05
AlexLikeRocklet me mount againt04:05
AlexLikeRockdone04:09
AlexLikeRockdrizzt, , im ready04:10
onefangOh goodie, firefox-ESR decided to jump 13 versions.  Hope I'm not unlucky with this update.04:32
AlexLikeRockbackup your passwords04:36
AlexLikeRocki lost so many times04:36
rwponefang, That's the normal upgrade for ESR.  They hold stable through all of those upgrades and then leapfrog.  Repeat.04:37
AlexLikeRockbye04:37
onefangThe comment was more about the 13 version jump.  Unlucky for some, plus the local shops are full of Halloween stuff right now.04:50
onefangTells me that "English is incompatible with Firefox 128.3.0."  LOL04:53
rwpLucky number 13!04:54
rwpIt's bad luck to be superstitious.04:54
onefangVery true.04:55
onefangAfter updating all my extensions, Firefox knows English again.04:56
rwpOn my long lived Unstable system way back I somehow made a customization that I have lost in the intervening storms of time.  I can't remember how I did it then.04:58
rwpFirefox uses some gtk keybinding configuration somewhere on the system.  The default being the MS-CUA keybindings.04:58
rwpI much prefer Emacs.  Wherever that file lives I remember I removed the CUA file and replaced it with the Emacs file.  And Firefox from that time until now has Emacs keybindings.04:59
rwpI now want to replicate whatever it was that I did on a new system.  But I can't figure it out.  Anyone know where that CUA keybinding file lives?04:59
onefangI'm not blaming Firefox for the local weather radar page being broken.  The next nearest radar works fine.  Thought that sudden appearance and disappearance of some really nasty looking clouds for just a few seconds, centred around where the currently broken radar is, seemed suspiciously like "someone just dumped a big bucket of water on the radar".04:59
rwpMaybe the weather radar dome was taken out by some bad weather?05:00
onefangI would have noticed that from here.05:01
fluffywolfgrep -iR "some phrase you remember being in that file" .mozilla05:01
gnarfacerwp: put this line in your ~/.gtkrc-2.0.mine and your ~/.config/gtk-3.0/settings.ini: gtk-key-theme-name = "Emacs"05:03
gnarface(this will also apply the change to programs running in Wine)05:04
gnarfaceactually in fact also all gtk2 and gtk3 programs05:05
gnarfaceiirc sometimes the programs' native bindings override certain things though05:05
gnarfacehmm... i guess i was sure it used to also apply to Wine but it doesn't look like it is anymore05:06
rwpThe ~/.gtkrc-2.0 is insufficient.  But I will try ~/.config/gtk-3.0/settings.ini right now.05:06
onefangDid Wine whine about Emacs?  Well, it IS an opposing operating system.05:07
rwpHumorously the date on that latter file on my desktop is Aug 20  2016.  Tragically it already has gtk-key-theme-name = Emacs in it.05:07
gnarfaceah, no, i'm wrong; it still applies to Wine there's just more native overrides than i remember... ctrl+b and ctrl+f still work right though so it must be paying attention05:08
rwpOh wait, that's on my old machine where it is working so maybe, maybe, let me try it on the correct machine this time.05:08
fluffywolflol05:08
rwpgnarface, THAT WAS IT!  Yay!  (!!happy dance!!)05:09
* onefang thinks rwp has had too much wine.05:09
* rwp is actually consuming a Boston lager right at this moment, so maybe05:10
gnarfacecool05:10
rwpThis can also be set globally (I am the only user) in /etc/gtk-3.0/settings.ini too.05:21
rwpSomething I do very often in Firefox is Control-L to jump to the Location Bar and then edit the URL.  That's easy with emacs keybindings which are all on the keyboard home row.05:24
rwpWith the defaults it requires moving the hands from the home row over to the arrow keys first to tap right-arrow to de-highlight the entire thing and put the edit cursor on the right side.  Any other key destroys everything and then must reload the page to get it back and then start again.05:24
rwpWith emacs bindings it is C-l to get to the location bar then C-e to get to the end of it then type or backspace or whatever to modify it without ever leaving the keyboard home row.05:25
gnarfacectrl-a, ctrl-b, ctrl-d, ctrl-f, alt-b, alt-f all work too05:38
gnarfaceeven ctrl-k, but not ctrl-y05:38
rwpAnother happy customer! :-)05:39
rwpThe real one that catches us all is Control-N in a textarea.  We want to move down, not open 37 new browser frames!05:40
onefangNo other glitches spotted, just that being forgetful about English for a minute thing.05:57
fluffywolfis this the version of firefox that finally fixes the memory leaks and ui nonresponsiveness while waiting on network connections?06:05
onefangThis is Firefox-ESR.  My 256 GB of memory means I get to ignore memory leaks.06:06
rwpI don't know if it is Firefox but gosh I hope so.  Since the past few months it has been nothing but chunk, chunk, kill, restart, okay, okay, chunk, chunk, kill, restart for me.06:06
rwpBut I have been suspecting my graphics driver.  Since I changed two things at once.06:07
fluffywolfthat was a joke.  that version is probably never going to exist.  :P06:07
* rwp was suckered into that one06:08
onefanglol06:08
rwpThat's the problem with hope.  Hope will get you every time.06:08
rwpI suspect the graphics driver is involved because when things chunk then my entire X is also rather stuck.  I can change window focus and type but I can't change rooms until things get unstuck.06:09
golinuxFWIW . . . FF getting stuck happens to me also. Sometimes I kill it. Sometimes I let it sit and it eventually seems to "reset" something and starts working normally again.17:31
AlverstoneHello hackers18:33
golinuxHi Alverstone . . . just ask your question if you have one.18:35
AlverstoneUnfortunately Larry Finger passed away and now my Wi-Fi driver is not maintained. Linux developers do an outstanding job of breaking drivers, so I am resolved to stay with 6.5 for a while. It is in daedalus' backports, but according to Debian, packages in backports "do not get as much attention". So my question is essentially this, do is there a magic button that makes me a working kernel from source? So I can keep it up to date myself? Or is it18:36
Alverstoneredundant and using the backport is alright? I do not have experience doing things with kernels.18:36
Alverstone>do is there18:37
Alverstonejust 'is there'18:37
AlverstoneAh yes I plan on using excalibur for the sake of being in the testing branch18:39
AlverstoneSadly Debian folks only package 6.10 for testing. Funny thing is that the driver compiles but doesn't work. Makes me angry. 6.5 is alright18:40
fsmithredwhat driver are we talking about?18:41
fsmithredwhat's your wifi hardware?18:41
fsmithredthere are kernel compile instructions at wiki.debian.org18:43
Alverstonehttps://github.com/lwfinger/rtl8188eu v5.2.2.4 branch is the one that works, and works well18:43
AlverstoneYeeeeah there are instructions. A whole frickin' ton of instructions. My life would be a good deal more easy if there was a magic script that just did everything for me ;)18:44
AlverstoneAnother problem is that debian rules are a makefile. If it was a shell script, OK, but I don't know my way around makefiles18:45
gnarfaceapt get linux-source && dpkg-buildpackage -us -uc ./linux-source18:46
gnarface(something like that, anyway)18:46
AlverstoneAnyway, if there isn't a solution for clueless people, I'll figure it out when I have more time18:46
fsmithredis the problem that your hardware is too new? installing firmware-realtek is not enough?18:46
Alverstone8188eu isn't new, the problem is that every new kernel update from 6.n to 6.(n+1) breaks the driver18:47
Alverstone6.5 kernel works. 6.10 doesn't18:47
AlverstoneThat's just it18:47
gnarfacefor what it's worth, the backports kernel might be fine for most purposes, it's worth a try18:47
AlverstoneI want to stay with the kernel that works. I'm stuck with 8188eu for a while yet18:47
gnarfaceit's true backports stuff doesn't get much attention, but the biggest risk over stable versions that are known-broken for you already anyway is just using too many backports packages and finding unexpected conflicts between them18:49
Alverstonegnarface, `apt get linux-source` sound good in theory, but that downloads the distro's source, then I have to somehow put upstream sources in there, apply patches and hope it works. A lot of job to do and I don't know yet how18:49
gnarfaceAlverstone: uh, i think it's "cd linux-source && uupdate -v newversion ../linux-source-newversion.tar.gz"18:51
gnarfaceagain; or something like that18:51
gnarfacehttps://www.debian.org/doc/manuals/maint-guide/update.en.html18:51
gnarfacethis is the official docs18:51
gnarfacefor the upstream packaging18:51
fsmithredcheck liquorix kernel18:52
peterrooneyAlverstone: if you get kernel from source, not distribution, `make help' has a lot of info - but maybe, "make deb-pkg" - which makes a kernel and puts in in a .deb ready for install - is what you're looking for.18:55
Alverstonepeterrooney, but Debian applies a ton of its own things on top of upstream, I though that should be preserved if possible18:56
fsmithredI see 6.4 and 6.5 for trixie (excalibur) https://liquorix.net/debian/pool/main/l/linux-liquorix/18:56
AlverstoneIt's a custom kernel though18:57
fsmithredwhat's the problem?18:57
peterrooneyAlverstone: the `make deb-pkg' is part of the kernel source, *direct from kernel.org* - that part does not originate with debian19:00
Alverstonefsmithred, the problem is me. Don't wanna third party custom things tunes to solved problem I never thought existed19:02
Alverstonetuned*19:02
Alverstoneproblems*19:02
Alverstonepeterrooney, yes I understood. I am thinking about preserving Debian patches to the kernel if possible though19:03
Alverstonebut as far as I can see I'll have to figure out packaging and kerneling myself :'(. Why is magic never exactly where you need it? :D19:04
Alverstonethe thing is apt/dpkg have huge tooling, hard not to break legs19:06
gnarfaceas far as i know, that page i linked you tells you how to handle patches too19:07
gnarfacethough fetching the kernel source package will apply them to it automatically and i think that uupdate might also re-apply them automatically19:08
AlverstoneOn the other hand, Debian patches do a lot of job, including security fixes and removal of blobs, which are then installed from firmware-nonfree anyway. Maybe building upstream kernel and not giving a damn would be a more sensible solution19:09
AlverstoneAlright thinking is not my domain. I'll have to give it a few days (or even weeks) to settle in my head19:17
AlverstoneThank you nonetheless19:17
gnarfacejust try the backports kernel, it'll probably be fine19:17
gnarfacejust make sure you only install that19:17
gnarfacenot the kitchen sink19:17
Alverstonegnarface, do you think it'll receive security fixes in time? I'm not exactly bent on security, but I prefer when it's not too late19:18
xrogaanthe tree hasn't changed in a year. Code seems quite stable.19:25
xrogaanWouldn't worry too much if I were you.19:25
Alverstone:'( I just looked it up again and it's i38619:27
gnarfacethere should be both i386 and amd64 kernels...19:28
gnarfaceif you used the i386 installer though it'd only show you the i386 ones by default19:29
xrogaanBTW, there are no security fix for the kernel. All "security" stuff isn't even tagged as such. They're considered as bug, and reported fixed as such. If your wireless driver has a bug and is being used, it'll be solved by the kernel people.19:31
Alverstonegnarface, bookworm backports only have i386 6.5 kernel19:31
xrogaanthat's not true.19:31
Alverstonexrogaan, https://packages.debian.org/search?keywords=linux-image-6.5&searchon=names&suite=all&section=all19:32
xrogaanRunning: Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux19:32
Alverstone6.10 breaks my Wi-Fi driver though19:33
AlverstoneNobody cares about 6.5 because testing already went ahead to 6.1019:33
AlverstoneI'm basically choosing between somehow upgrading an existing debian kernel source to 6.5, which I don't know how to do, and installing from kernel.org19:34
gnarfacehttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=%5Elinux%5C-image%5C-6%5C..*bpo.*amd64%24&x=submit19:34
gnarface6.9 is still there, did you try that?19:34
xrogaanthere is no 6.5 in bpo. only 6.9 and 6.1019:34
AlverstoneNo, didn't try 6.9 to be honest19:34
gnarfacefor that matter, did you try the debian 6.10 or only the upstream one? sometimes those debian packages fix things...19:35
gnarface*patches19:35
xrogaanAlso, if your wireless is broken, then you ought to report it. Or try to get a newer hardware, whichever path is easier.19:36
Alverstone:) Tried it on Void Linux, did not try Devuan's or Debian's version.19:36
Alverstonexrogaan, maintainer is dead, unless somebody took up the job, I'm stuck. Nobody cares about wireless traditionally. I will get better hardware later, but now I'm sort of stuck19:37
gnarfacewell, let's try to build it, maybe it won't be that hard19:41
gnarface"apt-get build-essential"19:42
gnarface"apt-get build-dep linux-source"19:42
gnarfaceapt-get linux-source19:42
gnarfaceetc19:42
Alverstoneuupdate/19:42
Alverstoneuupdate?19:42
gnarfaceyea then get the kernel tarball you want to try to update it to and try running uupdate on it19:42
gnarfacesee what happens19:42
gnarfacemost the errors you get at first will probably just be missing dependencies, and once they're identified you can just install them and try again19:43
gnarfacerepeat till it works19:43
gnarfaceall you've got to lose is the bandwidth and the time19:43
gnarface*apt-get install linux-source19:45
gnarface^ this is a bit confusing, because normally you'd "apt-get source [package]" to get a package's source package, but for some weird reason the kernel source is in a binary package, i don't know why really19:45
gnarfaceit won't actually install anything, it will still just extract it to the current directory19:46
Alverstone v19:46
Alverstone /usr/src/linux-source-4.3.tar.xz19:46
gnarfacemake sure you've got enough free space for the build objects and the dependencies19:46
Alverstonetar xf19:46
Alverstonehow much19:46
gnarfacenot sure exactly, just a few gigabytes normally19:47
Alverstone116 kb/s19:47
* Alverstone hoots19:47
AlverstoneI've got 1TB of space occupied only with products of my brain activity19:47
gnarfacemaybe only about 450MB for the kernel and modules once built19:48
gnarfaceassuming a fairly default config where you don't pare the stock settings way don that is19:48
gnarfaceway down*19:48
AlverstoneI don't wanna config please no19:49
AlverstoneI want it to just work19:49
gnarfaceit will come with a stock config, don't worry19:49
gnarfacemost the time you can just load the running one too19:50
AlverstoneI guess I should download older source19:52
Alverstonei.e. 6.119:52
gnarfaceyea, if you're on daedalus right now then the package named linux-source should be the 6.1 debian sources, including all patches and config19:52
gnarfacewe're gonna see if uupdate can merge the 6.5 tarball from kernel.org into it successfully, right?19:53
gnarfacei don't know if it'll work but i'm excited to find out! :)19:53
Alverstonegnarface, gonna be funny if it ends my machine by a small bug haha anyway with this internet I'll sooner die waiting20:51
gnarfacemaybe if you try one of the other mirrors it might go faster?20:52
Alverstoneinstalling already21:06
Alverstonebuild-dep21:06
AlverstoneYou know, I'm still paranoid over 5.19 killing monitors under intel gpus21:07
Alverstonewhat21:08
Alverstonewhat did I do21:08
AlverstoneI slapped mouse accidentally21:08
Alverstone!*@*21:09
XenguyI learned about 'ccrypt' today.  Looks like it's a bit easier to use than GPG for casual use, and easier to use also22:51
XenguyWrong window, sorry22:51

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!