libera/#devuan/ Wednesday, 2019-01-30

KatolaZshnaps: ok but then gnarface is right in saying that you must have something else in that .xinitrc00:00
shnapsHm, I can try to copy xinitrc from /X11 folder00:01
shnapsI seen example somewhere00:01
KatolaZshnaps: what do you want to run in .xinitrc?00:01
KatolaZand, more importantly, are you using any login manager?00:02
KatolaZ(like xdm, wdm, slim, etc.?)00:02
shnapsNope, not using right now. Going to use later. Slim or lightdm00:02
KatolaZthen just simplify your life00:02
KatolaZget lightdm or slim installed00:02
shnapsIt is not so interesting!00:03
KatolaZoh boy :)00:03
gnarfaceshnaps: just fyi, this might work as a way to finish an automated install, in principle, but there is actually something called preseeding that's actually for this purpose.  you're sortof misusing the ~/.xinitrc here.00:03
gnarfacethat's not why it's not working though00:03
shnapsBasically, I want to put in .xinitrc stuff that supposed be in statusbar: wicd, volumeicon, some other icons00:03
gnarfacebut if this did work, your Xorg startup would be really heavy00:03
KatolaZshnaps: then if you want to learn, you need to study00:03
KatolaZshnaps: start with a simple example in .xinitrc00:04
KatolaZlike00:04
KatolaZexec xterm00:04
KatolaZand try to see what happens00:04
KatolaZthen add stuff later00:04
shnapsI have like 15 tabs with different examples and wiki pages rn00:04
KatolaZyou can't start with a complex example and expect to make it work00:04
KatolaZwalk first, run later00:04
KatolaZ:)00:04
gnarfaceshnaps: a bunch of the lines in this ~/.xinitrc, you wouldn't even want to be running more than once, let alone every time Xorg starts up00:05
gnarfaceshnaps: i agree, try to get it working with a simpler version first :)00:05
shnapsRn my .xinitrc is empty00:05
gnarfacewell, not THAT simple, obviously00:05
shnapsAnd I wanted to have volumeicon everywhere00:06
KatolaZshnaps: minimal viable program00:06
KatolaZput in your .xinirc:00:06
KatolaZexec /usr/bin/xterm00:06
shnapsWhat's next?00:07
KatolaZhave you tried?00:07
shnapsNot yet. So, do I need to exit i3?00:08
shnapsRestart it?00:08
KatolaZobviously00:08
KatolaZhow did you start i3?00:08
shnaps(I'm just using irc on my laptop rn)00:08
shnapsWell, it is a good question00:08
shnapsstartx and it works00:09
shnapsI tried to find place where it is supposed to choose dm but no luck00:09
KatolaZmmmhhh00:09
KatolaZdo you have other wms installed?00:09
shnapsNope00:09
shnapsFresh install, nothing here00:09
gnarfacewouldn't it just be /usr/bin/i3wm?00:09
shnapsAlso, restarting i300:10
KatolaZok00:10
KatolaZthen00:10
KatolaZls -l /usr/bin/x-window-manager00:10
KatolaZsorry00:11
KatolaZls -l /etc/alternatives/x-window-manager00:11
shnaps_Yeah, I got idea00:11
KatolaZit will point to i300:11
KatolaZactually, that choice is made in /etc/X11/Xsession00:12
KatolaZwhich is launched by X at startup00:12
KatolaZto find out if it should launch a login manager, a window manager, or just xterm00:12
shnaps_KatolaZ, yeah, it is linked to i3!00:13
KatolaZX is launched by xinit00:13
KatolaZactually00:13
KatolaZxinit will first launch the X server00:13
KatolaZthen, it will execute ~/.xinitrc to start launching clients00:13
shnaps_So, I have 2 ways here: put code before i3 in .xinitrc or put code in i3config?00:14
KatolaZno shnaps_00:14
KatolaZyou should not put i3 in .xinitrc00:15
KatolaZthere is no need00:15
KatolaZstartx will start it atm00:15
KatolaZsince Xsession will look for any login manager installed in yout system, and find none00:15
KatolaZthen it will look for a window manager, and will find /usr/bin/x-window-manager00:16
shnaps_Which is pointed to i300:16
KatolaZ(which points to /etc/alternatives/x-window-manager which points to i3)00:16
KatolaZso i3 will be started in any case00:16
shnaps_i3config then?00:17
KatolaZdunno i300:17
KatolaZbut you can use ~/.xinitrc if you like00:18
shnaps_Got it!00:19
LatrinaKatolaZ:  got it installed with openwrt00:24
Latrinameant openrc lol00:25
KatolaZ:)00:25
Latrinayou needed a tricky eye to spot it, thanks ^^00:25
KatolaZyou just need to know what to look for :)00:25
KatolaZit will be in expert-install by default in beowulf00:25
Latrinayeah, indeed I didnt00:25
KatolaZhopefully with more choices ;)00:25
Latrinathats grand. I am going to setup TDE on it now00:26
ejrdoes anybody know how to turn off the laptop display in a devuan tty entirely, without X? i am trying sudo vbetool dpms off but this only echoes "Real mode call failed" and then does nothing.13:05
ejrfwiw, setterm also doesnt work13:08
buZzsetterm doesnt work?13:13
buZzwhy not13:13
buZzdo you get a actual error?13:13
r3bootunload the console driver?13:14
ejrbuZz: no error13:15
ejrr3boot? how do i do that?13:15
buZzsetterm --powersave off --powerdown 113:16
buZzthat doesnt make the display turn off after 1 minute?13:16
r3bootejr: recompile the kernel w/o the driver, make sure you set your console to something else then your display (serial for instance). What is it you're trying to achieve btw?13:17
buZzoh maybe --powersave powerdown13:17
ejrr3boot: i sometimes have a bigger screen attached to my laptop, so i want the laptop screen backlight to be off completely as I dont need it13:20
buZzhehe13:20
buZzthats quite a advanced topic yeah13:20
ejrshould be pretty basic imo though13:20
buZzwhy?13:20
r3bootWith X, that's trivial; With a console, not so much13:21
buZzi've never seen textmode to be able to do any fancy >1 monitor stuff13:21
ejryeah, with X I've got my keybindings for that13:21
r3bootno, Xrandr13:22
ejrr3boot: i will recompile the kernel later on, though I've never done that before and hope I won't break anything. Can I set the console during the process, or do i have to pass it as an argument?13:22
ejryeah, the keybindings are based on xrandr13:22
r3bootnah, dont do that :) I was working under the assumption that you want to get rid of your console13:22
ejr(i use i3wm)13:22
ejrahh ok13:22
rrqsudo tee /sys/class/backlight/*/brightness <<< "100"13:23
rrqsudo tee /sys/class/backlight/*/brightness <<< "0"13:23
buZzhehe13:23
buZzrrq: that would turn off the second monitor aswell13:23
buZzbut , nice option perhaps13:23
rrqhmm it didn't for me13:24
ejri have two screen folders in /backlight, will check which one is which screen :) one sec13:24
KatolaZejr: what's your plan to restore the backlight *after* you succeed?13:24
ejrKatolaZ: i'd have backlight on my second screen still, so basically just setting it back to on/10013:24
KatolaZfair enough :)13:25
ejror maybe a small script with entr or read13:25
r3boot/sys/class/brightness is hooked up to a specific video driver, and afaik you cannot set the brightness value per monitor from there (checked with 4.20.2, intel gpu)13:25
ejryeah, also didnt work here13:25
ejrwell, i would also like to use this for my other laptop which is currently used as a server, just for energy saving and hardware wearout reasons13:26
ejrand i remember once having done it under (i think) debian13:27
jyrianything from: sudo find /sys -name brightness ?13:39
jyrior sudo find /sys -name "*backlight*" ?13:42
ejrjyri: yes, many lines pointing to particular files, but i would not know which one to modify13:46
ejrthe latter command gives as files backlight, intel_backlight, disable_backlight_sysfs_if, enable_dpcd_backlight13:47
ejrthe first command even more13:47
jyrion the first you can ignore the lines with usb in them, anything else in there?13:48
KatolaZejr: which make and model is your laptop?13:50
jyriejr: this page might give some hints https://wiki.archlinux.org/index.php/Backlight13:51
ejrjyri: this is the entire output: https://pastebin.com/5kwxW2qb13:51
ejrKatolaZ: thinkpad x60 (librebooted)13:52
jyriejr: ok, lines 8 and 913:53
KatolaZthen ejr you need to use /sys/class/backlight/intel_backlight/brightness13:54
KatolaZejr: the value you put in there must be smaller than max_brightness13:55
KatolaZ(a file in the same folder)13:55
ejrok, the current value of that file is 4426545. i will echo a 0 to it now. if i don't reply within the next minute, i guess that means darkness forever on my side, haha13:55
KatolaZ:D13:55
KatolaZjust get an ssh console13:55
ejryay, it works!13:56
ejrthanks a lot13:56
rrqejr: intel_backlight/max_brightness tells maximum for brightness13:57
ejryes, just looked at it. it's the same value as brightness had before13:57
KatolaZok13:57
KatolaZgood13:57
ejrjust tried, it also works on my server laptop (which is also an old x60) :)13:58
ejrnow the only question is how i can bind this to a tmux binding that works, because i first need to be root (sudo echo ... doesn't suffice apparently)14:10
rrqsudo sh -c "echo 100 > /sys/class/backlight/intel_backlight/brightness" .. it's the writing to the file that needs root14:14
rrqs/10//14:14
_stephen_You can make a udev rule to make it so anyone can write the file.14:15
_stephen_Or switch that redirect to a sudo pipe...14:15
_stephen_echo 100 | sudo tee /sys/class/backlight/intel_backlight/brightness >/dev/null14:16
Tuorsudo might need password... Maybe write the `echo ...>...` line into a file owner:root;group:root; 755 and then add a sudo rule, so you can run the file with out any password.14:16
ejrrrq's command works fine, thanks14:17
ejri think i'll stick with that solution14:17
ejr(i have the sudo PW deactivated anyway)14:17
Tuorejr: ah then my stuff is not required. :)14:18
TuorAh co-worker is running devuan on his laptop and most stuff works. I might be one of the next... Comming from Ubuntu 16.04 (can't upgrade to 18.04 for obvious reasons).14:20
sxpertwhat sort of obvious reasons that don't appear obvious to me ?14:21
Tuorubuntu 18.04 has systemd only. no other init available.14:22
sxpertah yeah14:22
sxpertof course14:22
sxpertthe antichrist14:22
Tuor^^14:25
Tuormy distribution was very great (KDE Neon) until they decided to switch to Ubuntu 18.04 and not support 16.04 any more...14:25
James1138General question about Devuan. Kodi 18 just came out Jan 28th. Will it be available for Devuan as it is now available for Ubuntu?14:42
KatolaZJames1138: it might be available in beowulf14:42
KatolaZhttps://tracker.debian.org/pkg/kodi <- James113814:43
KatolaZit looks like only 17 is in unstable14:43
KatolaZ(man Jan 28th is TWO days ago...)14:43
ejris devuan's testing/unstable soon going to be as up-to-date as that of debian?14:46
sxpertthere's "stale" and "usable" ;)14:46
KatolaZejr: they are more or less on the same page14:47
ejrhmm, still thinking about upgrading to testing... but on the other hand i don't want to break anything.14:50
ejrweÄll see14:50
ejr*we'll14:50
KatolaZejr: maybe wait for a couple of days more14:50
KatolaZthere is an issue with policykit which will be fixed soon14:51
ejrgood to know, thanks14:52
_abc_The latest irssi for devuan ascii per apt-get update + later install irssi is 1.0.7-1~deb9u1 but irssi.org has irssi 1.1.2 out and a security fix from 2019 already. Is there a way to upgrade other than manually?15:03
KatolaZ_abc_: the security fix seems to be already in 1.0.7-1~deb9u1, AFAIK15:04
djph_abc_: you are aware how debian "stable" behaves with versions, right?15:04
KatolaZ_abc_: 1.1.2 is in testing and unstable15:05
KatolaZhttps://tracker.debian.org/pkg/irssi15:05
_abc_djph: I did not ask whether manual upgrade is the only option by hazard15:05
_abc_ok so the latest 1.1.2 bug was only affecting 1.1.x not 1.0.x15:05
KatolaZ_abc_: I don't know15:05
KatolaZlook at the CVE please15:05
_abc_ascii is jessie-backports level right?15:06
KatolaZnope15:06
djphascii is stable ...15:06
KatolaZascii is ascii15:06
buZzascii-backports exists15:06
KatolaZand merges stretch15:06
KatolaZhttps://irssi.org/security/15:06
djphjessie is oldstable15:06
_abc_stretch does not appear on the page KatolaZ linked above at debian15:06
KatolaZo_O15:07
buZz_abc_: fyi, irssi github master has a native OTR plugin ;)15:07
_abc_KatolaZ: search for stretch the word?15:07
KatolaZ_abc_: which one?15:07
KatolaZstable15:07
_abc_https://tracker.debian.org/pkg/irssi15:07
KatolaZstretch is the codename15:07
_abc_Yeah so I hate hate hate debian's codename release names.15:08
* KatolaZ shrugs15:08
_abc_Thanks for the quick answer.15:09
buZzwe aim to please15:09
djphKatolaZ: devuan is also sticking to 'oldstable' / 'stable' / 'unstable' / 'testing' to describe the various versions, right?15:09
KatolaZnope15:09
KatolaZdevuan uses codenames15:09
KatolaZmainly15:09
_abc_djph: it's a conspiration.15:09
KatolaZbecause the releases are not always aligned with the corresponding debian one15:09
KatolaZ_abc_: read above ^^ :)15:10
KatolaZthis is just to avoid confusion15:10
djphKatolaZ: OK, so there's not necessarily a concept that "jessie is oldstable" for example15:10
_abc_It "avoids" is "just fine"15:10
KatolaZdjph: nope15:10
KatolaZdjph: the main issue is that a devun version might be still unreleased (testing) while the corresponding debian version is stable15:11
KatolaZwe are currently in a time of grace15:11
KatolaZwhere this is not the case15:11
KatolaZ(everything is in sync)15:11
KatolaZbut it has not always been like that15:11
djphKatolaZ: er, wait, I think we're saying the same thing but from different points of view.15:12
KatolaZwe had devuan jessie still to be released, and ascii incomplete, when stretch became stable15:12
djphKatolaZ: what I meant was that "within the confines of the Devuan project, there are four active versions mapped to the descriptors 'oldstable' / 'stable' / 'unstable' / 'testing' ... "15:13
KatolaZdevuan jessie was stable for about one year while debian stretch was stable15:13
KatolaZyes djph15:13
KatolaZbut I would not put that much attention on those15:13
KatolaZit's better to use codenames15:13
KatolaZin order to avoid confusion15:13
djphKatolaZ: okay, perfect. I don't have to re-learn new words to think of the codenames.15:13
KatolaZyou actually might need to, djph15:14
djphKatolaZ: err...15:14
KatolaZif debian buster becomes stable tomorrow and devuan beowulf takes three more months, then what is stable in debian is testing in devuan15:14
djphKatolaZ: "so"?15:14
KatolaZthat's totally clear for me15:14
djphI don't care about Debian.15:14
KatolaZand maybe for you as well15:14
KatolaZbut apparently this causes "distress"15:15
KatolaZ:)15:15
djphShort version is that as long as "I" can still think of Devuan Jessie as "oldstable" and Devuan Ascii as "stable", I can keep things straight.15:15
KatolaZyep15:16
djphWhile still talking as "Devuan Jessie" to others.15:16
KatolaZissues arise if you make comparisons between a devuan version and the corresponding (merged) debian one15:16
djphin which case, it'd be codenames (and some googling) so I was accurate.15:16
KatolaZthat's why it's better to say "Devuan ASCII" and "Devuan Beowulf" instead than "Devuan stable" and "Devuan testing"15:17
KatolaZyep15:17
djphlike, I didn't know Beowulf was the upcoming version.15:17
KatolaZdjph: www.devuan.org15:17
KatolaZ:)15:17
djphKatolaZ: As if I have time to read upcoming things (much less test them) with a 2 year old running around15:18
KatolaZdjph: don't mention that to me :P15:22
djphKatolaZ: have kiddos of your own?15:23
KatolaZ:)15:23
djphwell, this is #1, so every day is a new adventure15:24
KatolaZit will get better15:24
djphOh, I'm not saying it's not great.  Just, well, time-consuming :)15:24
Liebach2-year olds are endless fun, and a lot of work. :-)  Enjoy it while it lasts.15:25
djphhaha, yeah, it's definitely that15:26
djph(uh, and sorry for going way ot, before the ops tell me off)15:26
KatolaZdjph: I am not saying it's not great either15:28
KatolaZ:)15:28
KatolaZa lot of fun, and it gets better15:29
djphand then worse, when she discovers boys.15:29
djph(aaaa)15:29
fsmithredor girls15:29
djphat least with girls there's a pretty low chance of getting knocked up ... :|15:31
fsmithredgood point15:31
buZzyou'd think that15:31
KatolaZwell...15:31
buZzbut nowadays there girls with a outtie15:31
buZzand boys with a innie15:31
LiebachIf your kids do stupid things, they have it from you. So, be your very best. When my son become a man, he will be somewhat like me. When my daughter drags her first boyfriends home and present them, I will see part of myself in them. I better like what I see.15:32
buZzwelcome to teh futurrrrre15:32
djphbuZz: I hate you.15:32
buZz:(15:32
buZzi dont dislike you15:32
buZzfull disclosure, i'm dating a girl with a daughter ;)15:32
djphbuZz: more for ruining my little walled garden that girls don't have outies...15:32
djphLiebach: quite.15:33
buZzdjph: ppl didnt like me when i made gender a longint either15:33
buZznow they're all happy15:34
djphugh15:34
buZzadam's apple removal surgery is supposedly one of the hardest, so you might like that cheat to check15:35
buZzmeh nvidia-driver 390.87-6~bpo9+1 in ascii-backports still :(15:37
buZzi want 4xx already15:37
buZzand totally dont want to install it manually :P15:37
LiebachAny guesses when beowulf become stable?15:40
KatolaZLiebach: when it's ready?15:40
fsmithredcertainly will happen after buster freezes15:40
LiebachKatolaZ: Obviously. Just asking because if it could happen within the next 2 weeks I'd rather wait, instead of installing ASCII now.15:43
KatolaZLiebach: it seems unrealistic for it to happen in the next two weeks15:43
LiebachKatolaZ: Thanks.15:43
KatolaZyw15:43
_abc_If devuan development cycles will follow debian's in timing in any kind of way, we'd have a few years between releases I think.16:52
furrywolfwe should do the web browser thing, and immediately release devuan 10, followed by a new version every time we fix a typo in a man page.16:52
KatolaZfurrywolf: that would be called ubuntuan17:05
golinuxAdvice to all here reveling in parenthood:  http://vhemt.org17:24
furrywolfgolinux:  that's offtopic, take it to #debianfork.  :)17:27
* furrywolf hides17:27
* FlibberTGibbet peers under the carpet in case furrywolf is hiding there17:46
furrywolfnope, but there might be a wolf-sized pile of shed fur there.  :)17:47
MinceRnakedwolf?17:50
furrywolfheh, you've never seen how much fur a canine can shed?  :P17:52
fsmithredI have. Friends of mine have a rake for their living room. Not kidding.17:53
golinuxfurrywolf: Touche!!17:55
PinkBellyNaggersyslog is reporting some hard disks in my mdadm raid5 are over 100c20:11
PinkBellyNaggerMy bet this is a bug by pottering20:11
gnarfacestill, maybe you should check the case fans20:14
PinkBellyNaggergnarface I've checked everything is fine. hddtemp reports normal temps20:14
PinkBellyNaggerilo looks fine too20:15
PinkBellyNaggerIt's a bug in debian20:15
furrymcgeethere is recurring sytemctl not found with different packages, could devuan provide its own systemctl?20:55
amesserwhy?20:56
amesserthe point is to not depend on systemctl(systemd)20:57
furrymcgeesome packages use it for installation, maybe a dummy or replacement is possible20:59
amesserwhell, systemctl is used in most cases to manage systemd services. So if a package does not ship with e.g. init script, then it wont help to emulate systemctl. And if a package ship with init and systemd.service files, it should detect automatically if systemd or sysvinit is required21:06
amesserOr even better, user the command "service" instead. it should work on systemd and sysvinit systems.21:06
gnarfaceseems like a logical argument.  one has to wonder why Debian didn't do it that way to begin with.21:10
gnarfaceit's almost as if they're purposefully making choices that will increase compatibility issues even when it's clearly more work to do so21:10
amesserFor me its more the packagers responsibility. there now rule against supporting sysvinit.21:12
amesserOne could try to file a bug against apackage which doessn't work properly on sysvinit21:12
furrymcgeeyes I think of a common script named /bin/systemctl that executes /usr/sbin/service with the same arguments21:12
amesserurgs, my today's typing is even more worse than usually21:13
amesserit wont help, if the package doesn't install /etc/init.d/<package> script.21:14
amesseralso, in many cases, the systemd service files have different names than the sysvinit scripts21:14
gnarfaceof course they do.  why would they bother being even a little orderly.21:15
* gnarface sighs 21:15
amesseractually, the post install hook of a package could decide. But this would require some manual handcrafting by the packagers, it wont be handled by deb-builder magic21:15
furrymcgeelets do this ln -s /bin/true /bin/systemctl21:34
KatolaZfurrymcgee: which packages?21:35
KatolaZplease report them to bugs.devuan.org21:35
furrymcgeeone is third party repository the other is apache in a devuan chroot that checks pid1 of debian and calls systemctl21:38
rwpIt would be good to collect up at least an initial list of packages that are offenders in the systemctl/service issue. To be able to understand the general problem.22:31
rwpAnd then I think it would be beneficial to have a systemctl script in Devuan that calls service after checking that the packge has installed a sysvinit compatible script.22:31
rwpIf not then it can complain.22:31
rwpThis could facilitate in automated finding of problems by installing and removing every package in devuan.22:31
rwpDid I say "service" in the above?  I meant to say "invoke-rc.d" for postinst scripts instead.22:32
rwpActually... (brain? Where brain?) I meant to say "update-rc.d" since that is really what I meant to say.22:34
ttkvfor your edification, application or mirth:23:39
ttkvhttps://capsule8.com/blog/exploiting-systemd-journald-part-1/23:39

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