libera/#devuan/ Thursday, 2025-01-02

Darthixgnarface: ThinkPad T580 with Intel. Default Devuan install that boots into XFCE. By default nothing happened on closing the lid so I enabled the option in XFCE to suspend on lid close and another option to lock screen on suspend. Both options work, but the unlock presentation is odd.00:02
DarthixI have been trying to fix this for the past four hours, but most internet searches are mentioning systemd00:03
plasma41Darthix: Which release of Devuan?00:10
gnarfacei think i may have heard of an issue like this with elogind that was fixable with a config file change00:11
Darthixplasma41: Daedalus with all updates up until today00:12
Darthixbrb00:13
DarthixI just ran this in tmux so I can detach when I go to sleep and catch answers later00:14
gnarfacegood plan00:14
gnarfacesome other people around here have that laptop, i'm sure someone knows the answer00:15
Darthixit would probably help if I knew which script is being triggered when I click suspend in XFCE power menu and which script triggers on laptop lid close00:15
gnarfaceuh, it might be one of the scripts in the pm-utils package00:16
gnarfacemaybe /usr/sbin/pm-suspend00:16
Darthixpm-utils was not installed by defaut on Daedalus00:16
gnarfacei think you probably want it00:16
DarthixI did install pm-utils but it did not solve my issue00:17
gnarfaceeven if the functionality is just redundant, it can help debugging certain issues00:17
gnarfaceyou have acpi installed too right? i assume so, but just to be sure...00:17
gnarfacei think none of this would work at all without acpi-support-base and acpid installed and running00:17
Darthixacpid? yes.00:18
gnarfacehow about acpi-support-base?00:18
Darthixyep, installed as well00:18
gnarfaceoh, maybe that's a meta-package with nothing in it but a changelog...00:18
gnarfacealright, i'm thinking this may be the elogind thing, but i don't remember specifics about the fix00:19
gnarfaceyou do indeed have elogind installed and running, right?00:19
fluffywolfI've started fixing elogind by nuking it on every install.00:19
plasma41Darthix: Is there an option to control what closing the lid does in xfce4-power-manager-settings(1)? I don't see such a setting on my system, but that could just be because I'm not on a laptop.00:19
gnarfacefluffywolf: heh, i'm not using it here either, but i'm also not using a laptop00:19
fluffywolfI am using a laptop.00:20
Darthixlet me re-check xfce power manager settings,00:20
Darthixlogin-handle-lid-switch boolean disabled00:21
gnarfacei do remember some stuff about optional xfce packages being needed for certain functionality at one point but maybe not related to this...00:21
Darthixlock-screen-suspend-hibernate boolean enabled00:21
gnarfacehmm, wouldn't you want that opposite?00:22
Darthixfluffywolf: what functionality do you lose by uninstalling elogind?00:22
gnarfacethe whole graphical login...00:22
gnarfaceright?00:23
plasma41Darthix: One easy way to find out :-P00:23
gnarfaceheh00:23
gnarfacei think at that point basically you just have to suspend or hibernate manually00:23
fluffywolfnone.  elogind does absolutely nothing beneficial as far as I can tell.00:23
Darthixlogin-handle-lid-switch I enabled it now, let's try it out. brb00:23
gnarfaceDarthix: make sure you know the difference between hiberante and suspend, that might help you test better00:23
Darthixnow the screen does not lock at all00:24
fluffywolfhibernate is non-functional on daedalus on most installs00:25
Darthixdefault swap file is 256MB so...00:25
Darthixbut hibernate is irrelevant right now, I know how to enable it if I will need it00:25
fluffywolfno, it's a "feature" - hibernate is disabled if secure boot exists.00:25
DarthixI must sleep because I get up for work soon. I will read replies later. Thank you00:34
gnarfacefsmithred: didn't you have a fix for this lid switch problem Darthix is seeing?03:52
gnarfacecould have sworn someone around here did anyway03:54
lolzinternetI am having troubles with keeping those so called "popout" videos from firefox/librefox/tor on top of all windows. Not too long ago I could work around that issue by right clicking the window buttons in my Xfce "task bar" and selecting "always keep on top of other windows", but that option is greyed out since, well, idk, 4, 5 months?07:38
lolzinternetis that firefox related, devuan related, xfce related?07:38
lolzinternetit's definitely not the GPU, i've tested an intel igpu with integrated graphics and now it's also here on a machine with an nvidia gpu running on novuea07:41
lolzinternetnuvueao07:41
lolzinterneti forgot the spelling07:41
lolzinterneton some windows the popout stay on top, on others it doesn't07:41
lolzinternetstays*07:41
rustyaxei dont think ive ever encountered popout video?07:42
lolzinterneton youtube or, ahem, naughty sites07:43
lolzinternetwhen you hover your cursor on top of HTML video elements some button will appear in the bottom right with the default firefox from today07:44
lolzinterneti think you can also disable that, maybe that's the case with your setup07:44
rustyaxeyeea i think i have disabled07:45
lolzinternetit would certainly make the issue disappear :P but it wouldn't fix it, would it? :$07:45
lolzinternetif i did like you, i mean07:45
lolzinternetand disable it07:45
rustyaxeive never intentionally disabled it, but ive never encountered it hmm07:46
lolzinternetyeah maybe it's some misconfiguration on my end, but this is install is now fairly vanilla. i didn't change _that many_ options07:46
lolzinternet-is07:46
lolzinternetsorry for the typos and thinkos :P07:47
lolzinternetanother question: I installed one test installation using XFS and it worked just fine08:09
lolzinternethowever, it is being claimed on wikipedia (english) that XFS does not support case sensitivity. which is the exact reason why I picked it, I am _against_ case sensitivity.08:10
lolzinternethowever, the resulting XFS filesystem _did have_ case sensitivity. unexpected behaviour on my end, to my knowledge.08:11
lolzinternet1. what is the reason for this? 2. are the wikipedia articles wrong? there are multiple, some containing comparison tables and complete articles. 3. how do I run devuan in a case insensitive state using EXT2/EXT3/EXT4?08:12
lolzinternetI need handholding, virtualbox and installers are ready08:12
lolzinternetI need to set it up in a VM first08:12
amarsh04Wish me luck, upgrading my i386 machine (on Prescott CPU) to amd6411:43
djphamarsh04: so ... a reinstall then11:47
amarsh04no, an "upgrade"11:51
djphyou can't "upgrade" from 32bit to 64 ...11:54
djphor well, at least you "couldn't" in the past11:55
amarsh04These instructions aren't the full story, but they at least help you get apt:amd64 up and running11:55
amarsh04Since then, I have aptitude:amd64 up and running11:56
djphehh, good luck with that then ...12:50
freaxeh_Prescott cpu, ooh laa laa12:51
freaxeh_me likey12:51
dosensuppehey. I tried putting the script into /etc/cron.hourly https://salsa.debian.org/debian/snapper/-/blob/debian/sid/scripts/snapper-hourly15:38
dosensuppeBut it doesn't work for some reason (yes I added execute permissions=15:39
dosensuppetyping the command manually does for some reason: snapper --config=$CONFIG --quiet create --description="timeline" --cleanup-algorithm="timeline"15:39
dosensuppethe issue is that the snapper package inside the repos doesn't do timeline snapshots15:40
dosensuppeso I was suggested that the scripts are still in the source15:40
djphcron has a different environment than your normal user, so is "snapper" in a $PATH that cron can locate?16:25
fsmithredgnarface, Darthix I don't have the solution, but I can offer some data points. Normally I use xfce-power-manager to suspend when lid is closed, whether on batter or AC. I keep xscreensaver disabled. The laptop suspends and comes up when I raise the lid. Not locked, no login needed.16:26
fsmithredIf I set it to lock the screen instead of suspend, when I shut the lid, it does not suspend - I can ssh in from another box.16:27
fsmithredwhen I raise the lid, the screen is frozen. Mouse cursor moves but can't click on anything.16:27
fsmithredctrl-alt-F2 and login and 'pkill xscreensaver' releases the frozen desktop.16:28
fsmithredIt's definitely screwed up.16:28
fsmithredOther places to mess with lid actions is in /etc/elogind/logind.conf and you already mentioned acpi. I don't really know how all these things interact.16:29
fsmithredoh yeah, if using lightdm maybe install light-locker.16:30
fsmithredThat's all I got.16:30
dosensuppe@djph17:54
dosensuppeSomehow the script doesn't run at all even if I run it directly in command line17:57
dosensuppeI removed all other lines: https://pastecode.io/s/hsb8nt6417:57
dosensuppeI mean its just supposed to cylcle through the config files and create a snapshot for each config17:58
dosensuppethough ideally it should do this several times an hour like it is specified to do in the corresponding config. on artix (systemd free) it works fine without this script18:01
plasma41dosensuppe: The snapper cron scripts not working is a known issue (https://bugs.debian.org/976888). AIUI, it's the result of a brute-force solution by the Debian package maintainer to fix https://bugs.debian.org/791726. The proper fix for the original issue is reasonably straightforward (make the cron scripts fail gracefully if the snapper binary is absent) and has been on my TODO list for ages, but I keep getting sidetracked by other th18:01
plasma41ings.18:01
dosensuppehttps://archlinux.org/packages/extra/x86_64/snapper/18:01
* plasma41 just realized with minor horror that the snapper cron issue has been on his back burner of bugs to address for four years now O_o.18:08
dosensuppeplasma41: ok. should be simple enough, but still doesn't run, even if I execute the script manually18:09
dosensuppeany idea pls18:09
dosensuppehttps://pastecode.io/s/hsb8nt6418:10
dosensuppeI guess I'm just missing something very obvious here.18:10
plasma41dosensuppe: Which file is ^that paste?18:11
dosensuppethe hourly cronjob https://salsa.debian.org/debian/snapper/-/blob/debian/sid/scripts/snapper-hourly18:12
dosensuppehttps://pastecode.io/s/5tfdbbbk18:12
dosensuppejust removed the other lines except for the loop18:13
dosensuppebut it still won't run18:13
dosensuppeworks though if I manually type: sh /usr/bin/snapper --config=root --quiet create --description="timeline" --cleanup-algorithm="timeline"18:13
plasma41dosensuppe: What's in /etc/snapper/configs on you system?18:15
dosensuppeonly root18:16
dosensuppehttps://pastecode.io/s/9uck00af18:20
plasma41dosensuppe: hmm, let me take a few hours to refresh my memory of the code, and finally get around to implementing what should be the fix to https://bugs.debian.org/976888 and get back to you. I find it easier to solve a problem when I can hyperfocus exclusively on it for a few hours without multiplex my attention across hacking on code and checking IRC. Thanks for the pastes; I'll consult them once I've rebuilt my mental model of the cod18:26
plasma41e.18:26
* plasma41 dives deep into long overdue code spelunking.18:28
dosensuppethanks a lot18:31
dosensuppelet me know I can be of any help18:31
dosensuppe(I propably can't since I'm a shell noob)18:31
* plasma41 pops his head up from the code caverns just long enough to say, "Will do!", before disappearing back into a twisting maze of little passages, all different.18:33

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