libera/#devuan/ Monday, 2020-11-16

Wafficusyeah I plugged the cables in and out and my ssd is fine02:46
Wafficushad to reinstall Devuan, so I'll have to redo my Gentoo VM another time02:46
Wafficusquestion regarding jami02:46
Wafficusis it 'gnu_ring'?02:46
WafficusI can't remember how to make it run again02:47
WafficusI thought it was gnu-ring, or gnu_ring, but both don't seem to work02:47
Wafficusgot it, its "gnome-ring" nevermind ;)02:48
Junicchineed help with this https://i.imgur.com/ocE37gM.png10:54
Junicchijust added an additional encrypted partition with same pass and automounting it10:54
Junicchibut when performing poweroff it fails to stop10:55
Junicchii suspect apparmor since i also get "app armor failed to stop"10:56
Junicchioperating system is installed on sda3, additional partition is sda110:56
xinomilowhat devuan version?11:07
Junicchibeowulf11:07
Junicchifrom the latest iso11:07
xinomilohttps://dev1galaxy.org/viewtopic.php?pid=23957#p2395711:09
Junicchiwoah! i'm really glad that i'm not the only one lived this problem11:13
xinomiloapparmor issue is a different one...11:17
Junicchithe package in the thread fixed my problem11:18
Junicchiwhat do you suggest on apparmor problem?11:18
xinomilodisable apparmor completely if you don't use it, or try to check which apparmor profile causes the error..11:21
GyrosGeierapparmor logs to kernel log by default, doesn't it?11:24
GyrosGeierat least my logs are full of thunderbird trying to read files it has no access to11:24
xinomiloyes, thunderbird profile is the most common issue :) lots of debian bugs there iirc11:25
xinomilocheck this for some info : https://wiki.debian.org/AppArmor/HowToUse11:27
Junicchithanks12:22
danuancommand1 2>&3 | command2 | logging_func    , can anyone help with redirecting command1's stderr to a function like command2s stdout gets piped to one  , right now i am just i do exec 3>>logfile but would want it go to a function before output to log. thanx13:26
suavedandyfsmithred: So. You said that Cyrillic shows up as artifacts because of the lack of fonts.14:01
suavedandyWhat should I do to fix it?14:01
fsmithred I don't really know for sure. Maybe install some fonts. I think there might be some discussion on the forum that could help.14:02
fsmithredor debian documentation14:04
Junicchixinomilo: i just installed that cryptsetup functions patch14:22
Junicchiand saw that it just forces computer to shutdown altough it fails to stop disk?14:22
Junicchiisn't it harmful or a potential security leak?14:22
fsmithredno, it's not harmful, and I don't know of any security issues with it.14:29
suavedandyfsmithred: Solved it!15:11
suavedandysudo dpkg-reconfigure console-setup.15:11
suavedandyShould set there to "Guess the correct character set" instead of Latin1.15:12
suavedandyProbably should just be a default in your minimal ISO, IMHO.15:13
suavedandyfsmithred: Can I safely remove all these terminal emulators and text editors listed in upgrade-alternatives?15:33
luser978danuan ask in #bash15:54
danuanluser978 thanx ill try16:04
fsmithredsuavedandy, I don't know what's listed for removal, but --simulate is your friend with apt, apt-get and aptitude. Also, if it seems bad, try with aptitude and it may give you other possible solutions.16:18
suavedandyMay I ask what the difference between .Xresources and .Xdefaults is?19:02
GyrosGeier.Xresources is loaded via xrdb on session start, while .Xdefaults is loaded by applications19:03
GyrosGeierso for a networked client, you get .Xresources from the machine that controls the session, and .Xdefaults from the machine where the client is running19:04
GyrosGeierxrdb stores these as properties on the root window IIRC, and clients can query them19:04
suavedandyGyrosGeier: Should I use .Xresources or .Xdefaults for the window manager?19:09
GyrosGeierit doesn't matter there, since the WM is normally session leader19:09
masonsuavedandy: They have slightly different meanings. Look at the X man page.19:09
masonsuavedandy: In particular, read the bit about XENVIRONMENT.19:10
masonOh, duh, GyrosGeier already explained this. Never mind. I didn't read scrollback.19:10
GyrosGeierI didn't know about XENVIRONMENT though19:11
GyrosGeierso that has been helpful19:11
suavedandyNever mind. I already have .Xresources19:21
suavedandyAdding .Xdefaults is kinda redundant in that case.19:22
suavedandyMaybe.19:22
suavedandyI mean, Awesome is set to use .Xresources by default.19:22
masonI always use .Xdefaults here, but that's because .Xresources wasn't a standard thing back when I first used this stuff.19:25
suavedandymason: Is there a way to set the font size in .Xresources?20:08
suavedandyMy vision bad.20:08
masonsuavedandy: Depends on the application. For instance, here I have: URxvt.font: xft:DejaVu Sans Mono:style=Book:pixelsize=15:hinting=false:antialias=true20:14
masonBut that's specific to rxvt-unicode. You'd need to find the equivalent setting for the application in question.20:15
suavedandymason: Correct, Urxvt.20:21
suavedandyTho I thought about setting up st.20:21
masonI haven't played with that. Is it from suckless?20:21
suavedandyBut I'm not sure if it supports transparency or is easy to configure.20:21
suavedandyYeah.20:22
suavedandyThought about Alacritty but it isn't in the repos.20:22
masonA big win with rxvt is: URxvt.backgroundPixmap: /home/mason/Pictures/terminal-background.jpg20:22
masonI use a mottled parchment background that gives additional cues that let my broken eyes coordinate better.20:22
suavedandyYou mean you can set anime background to Urxvt or something?20:23
masonNot animated that I'm aware of - it's just hooking in libjpeg I believe.20:23
suavedandyNot talking about animated. Talking about a regular image.20:24
masonYes.20:24
suavedandyI didn't even consider an animated background. That would be pretty nuts if Urxvt supported it.20:24
masonFWIW, here's mine: https://pasteboard.co/JAFtKl1.jpg20:24
suavedandyIs that a gray screen with a line?20:25
masonThe image? Might need to allow it to run some JavaScript.20:26
suavedandyOhhhhhh.20:26
gnarfacesuavedandy: you can set the font size for all gtk2 programs in ~/.gtkrc-2.0.mine and gtk3 programs in ~/.config/gtk-3.0/settings.ini but if you're having trouble seeing, you should first make sure Xorg is auto-detecting your display DPI correctly before jacking around with the font sizes statically20:26
suavedandyI see.20:26
suavedandyWell, I don't have GNOME stuff, so…20:26
suavedandyLike, I have a terminal and… that's it.20:27
suavedandyAwesomeWM with Urxvt.20:27
gnarfacesuavedandy: it might be just ~/.gtkrc-2.0 then.  (if you look, inside it, the stock Debian one includes ~/.gtkrc-2.0.mine for user customizations)20:27
suavedandyI don't have any GTK apps.20:28
gnarfacewell my assumption is that even without gnome a large swath of your programs are using gtk2 or gtk3 even if you don't know it.  i could be wrong.20:28
suavedandyI really doubt that both of these use GTK.20:28
masonBefore I moved to rxvt, I used to say "gtk-can-change-accels=1" in .gtkrc-2.0 as various applications lost the ability to customize key bindings on their own.20:28
suavedandyI know how GTK apps look.20:28
masonFWIW, ldd /usr/bin/urxvt doesn't show it linking GTK, and I'd guess it's not dynamically loading it.20:29
suavedandyThose with thicc silver gradient Mac OS X-like theming.20:29
suavedandy*titlebars20:29
gnarfaceeven firefox is still using gtk3, isn't it?20:29
suavedandyHmmmm… Don't know.20:30
masonIt's not hardlinking it anyway. Hrm. Surprising.20:30
suavedandyIt def looks nothing like GNOME apps.20:30
gnarfaceyea, but it doesn't have to20:30
gnarfaceit's not a mandatory requirement to use the system theme20:31
gnarface(though sometimes the fact it doesn't can expose breakages)20:31
gnarfacehell, even Wine obeys my gtk2 Emacs keybindings setting20:31
masongnarface: https://bpa.st/KNZQ20:31
gnarfacemason: use paste.debian.net if you want me to look20:31
masongnarface: I don't then. Never mind.20:32
gnarfacemason: or just /msg it to me20:32
masongnarface: I choose that one because it's been there forever, is reliable, and doesn't force javascript on users. If you don't wish to use it, I'd be curious to know why.20:32
gnarfacemason: i don't recognize it20:32
gnarfacemason: i don't need any more reason than that, these days.  bad shit is going on20:33
masonRefusing to use pastebin.com would make sense to me, but bpaste is well-liked and reasonable.20:33
suavedandymason: That .Xresources entry is very long for just changing the font size.20:33
masonsuavedandy: That's not just size, it's also specifying rendering characteristics, the font itself, etc.20:33
suavedandyIs there a way to view Urxvt's default configuration tho?20:33
suavedandymason: Need just the font size changing. The font should remain standard for now.20:34
suavedandyI just need a quick set up before I start digging deeper. My vision is trash.20:34
masonsuavedandy: Ah, here we go. If you say urxvt --help it'll show all the compiled-in resources.20:35
masonOh, no, never mind. It's showing type, not default settings.20:35
suavedandyDamn it, I'm so used to i3's keybinds that I keep quitting Awesome instead of closing a terminal.20:37
masonYou should be able to tweak Awesome to match your finger-memory.20:37
suavedandyEh, I'll make it Vim-like anyway.20:40
suavedandyI'm starting fresh.20:40
masonWhenever I try i3, I have to change the keybindings so it's real vi keys.20:40
masonAnd then I give up because I can't easily have my 80x40 windows without a lot of pain. At a usable font size for me, they must overlap slightly. So I stick with my Openbox with tiling navigation.20:41
suavedandyAwesome is dynamic.20:43
suavedandyAnd it has master-stack.20:44
suavedandyYour last window will always be the biggest.20:44
suavedandyAnd you can switch it with another window from the stack.20:45
suavedandyJust like in DWM.20:45
masonOh, that's interesting. I've kind of wanted that. Always thought it was called monocle mode. I'll look.20:45
suavedandyThe monocle is the different one. Instead of looking like a stack of books it looks more like BSPWM.20:48
suavedandyNot sure that's optimal for large fonts or small displays, really.20:48
suavedandyMaster-stack is the second one in the default layouts.20:49
suavedandymason: What does "style=Book" mean in your config?21:12
masonsuavedandy: I'm trying to find the name. It's a variant anyway, with other variants being oblique, bold, etc.21:15
suavedandyAlso, there must be font.alias somewhere but I can't find it.21:16
masonsuavedandy: https://fontlibrary.org/en/font/dejavu-sans-mono21:16
suavedandyThat page has a bizarre snippet from a story about an office worker.21:18
suavedandyFor some reason, The Incredibles came to mind.21:18
masonDoes it???21:18
suavedandyYeah.21:18
masonOh, as the example text.21:19
masonI didn't even look at what they had there. Heh.21:19
suavedandyHave you watched The Incredibles, mason?21:20
masonYes.21:21
suavedandyGood family drama.21:21
suavedandyKinda like The Boys in that it's a deconstruction of the superhero genre.21:22
suavedandyOkay, I tried update-font-alias. Complains for whatever reason.21:23
suavedandyI set size=18, restart Xorg and WHOOAAAAA!21:30
suavedandyThat's SO BIG.21:30
suavedandyI mean, size=3221:30
suavedandyLike, in the terminal 16x32 isn't NEARLY as huge.21:31
masonsuavedandy: xrandr --dpi can also be useful21:32
suavedandyAlso, what does hinting mean?21:33
masonsuavedandy: Font placement. Related to kerning if I understand it.21:34
suavedandyDejaVu Sans Mono…21:38
suavedandyBut no DejaVu Sans Undertale…21:38
* suavedandy eh-eh-ehs21:38
masonheh21:44
suavedandymason: Have you tried using update-font-alias?21:45
masonsuavedandy: No, never have. What's it do for me?21:46
suavedandyWell, font alias.21:46
suavedandyI'm asking because it doesn't work, apparently.21:46
suavedandyAnd I can't find any previously generated alias file either.21:47
suavedandyTho your method of setting fonts works.21:52
suavedandyBut now I have this ugly scrollbar on the left.21:53
masonOh, you can turn that off too.21:55
masonURxvt.scrollBar: off21:55
masonIf it's useful for you, I also set URxvt.loginShell: true21:56
masonand URxvt.letterSpace: -121:56
masonThis one might not be as good for you as a lot of people just use the classic cut and paste, but I set this stuff for control-c/control-v copy and paste: https://bpa.st/YD7Q21:57
masonOh, sorry, might also need to turn off the ISO 14755 bits for that last to work: https://bpa.st/DA3A21:58
masonHere's some discussion of that: https://wilmer.gaa.st/blog/archives/36-rxvt-unicode-and-ISO-14755-mode.html21:59
hagbard_Is the chimera repository currently broken? Keep getting a file size mismatch.22:35
clorthey hagbard_22:40
clortceline22:40
hagbard_yes, that's who I stole the name of22:41
clortgood books, anti authoritarian.  join #devuan-offtopic for chat22:47
plexurehey guys, just installed devuan and for some reason my display manager always gets the resolution wrong (800x600) i've tried the default slim, lightdm and wdm (currently using), is there any fix for this?22:49
gnarfaceplexure: probably22:52
gnarfaceonly probably22:52
suavedandyAlright. No titlebars, baby. My screen just got cleaner.22:52
gnarfaceplexure: Intel integrated GPU?22:53
plexure@gnarface i mean i hope so22:53
plexureit makes my wmaker dock display wrong everytime i log in22:53
plexurenah gnar22:53
suavedandyRemember, kids. Titlebars bad.22:54
fsmithredsuavedandy, what do you grab to move a window?22:54
gnarfaceplexure: every major vendor has a different potential cause for this basic common malfunction.  it's fixable in ~80% of cases, but i can't help you if i'm guessing at the GPU brand22:54
fsmithredand how can you window-shade it without a titlebar?22:54
suavedandyfsmithred: The keyboard.22:54
plexurei'll get back to you in a sec, gnarface22:55
suavedandyAnd maybe you can move the window while holding shift.22:55
suavedandyJust how it should be.22:55
fsmithredyou'll have to pry my mouse from my dead hands22:56
suavedandy– Were we supposed to move windows with Shift?22:56
suavedandy– Always have been.22:56
fsmithredhow do you do that?22:56
suavedandyYou hold Shift and move while holding the mouse button.22:57
onefangI reconfigure all my windows functions to the Windows (tm) key.22:57
suavedandyStandard behavior of some window managers.22:57
n4diras long i used openbox i had it set to start applications always in full-max mode, without titlebars22:57
onefangIncluding moving windows.22:57
n4dirbut i didn't move them.22:57
fsmithredoh, I like to keep my windows smaller than the desktop22:58
plexuregnarface: it's an NVIDIA geforce 6150SE GPU.22:59
plexureit's an older machine22:59
fsmithredI would need three or four monitors if I always used maximized windows22:59
n4dirthe main idea was to do as little as possible.22:59
n4dirWhy? I just switch desktops.22:59
suavedandyMight as well just opes GUI apps from TTY.22:59
fsmithredI need to see two things at once for some tasks23:00
n4dirdesktop one is terminal, desktop two is another app, usually vcvrack, desktop 3 is web-browser, if opened23:00
fsmithredif I switch desktop, I forget what I was looking at23:00
gnarfaceplexure: not familiar with that model # but either way you'll need nvidia's official drivers from the non-free section of the repo to make it work right.  (nouveau would have been loaded by default and this is probably the best it can do)23:00
gnarfaceplexure: now, the question is whether current drivers are still gonna support that or if you need the nvidia-legacy ones23:00
n4dirfsmithred: if you do it for a while you know which app is on which desktop23:00
n4dirnot saying it is a good solution. Just saying that is how i do it23:00
gnarfaceplexure: (ubuntu ships nvidia's closed-source stuff stock so you wouldn't have needed to do this step)23:01
fsmithredgnarface, I'd have to check, but I think I had a 6150 and had to stop using it because it was no longer supported23:01
n4dirmainly too lazy too fiddle with configurations to set up a given WM or DE ... :-)23:01
plexurei'll try and get the legacy drivers from the repos right now, gnarface .23:03
onefangI have a two monitor / five virtual desktop setup.  On the right monitor I keep my messaging apps, all set to be on all desktops, so when I switch they stay there.  The left monitor is everything else, split between virtual desktops for easy switching.23:04
gnarfaceplexure: hmm, though fyi https://nouveau.freedesktop.org/FeatureMatrix.html is listing that card as decently functional... you might have better luck with the backports kernel than the stock one, but yea the legacy drivers are the only chance of getting "everything" working - unfortunately "everything" will probably not include Steam23:05
plexureoh that's alright, i have no intention on installing steam here :)23:05
plexuremy gpu's not on the non-free repos, apparently gnarface23:06
plexureyep it's not here23:06
gnarfaceeither way, auto-detect doesn't always work everywhere, so you might have to specify resolution and ram manually23:06
gnarfacenvidia-legacy isn't even there?23:06
gnarfacei was sure it was...23:06
gnarfaceoh, unless something broke and they had to move it to backports23:06
plexureit is, but not my specific model23:06
plexurehttps://pkginfo.devuan.org/cgi-bin/d1pkgweb-query?search=nvidia+legacy&release=beowulf23:06
plexuremaybe i'm missing something23:07
suavedandygnarface: Pop!_OS.23:07
* suavedandy runs23:07
gnarfaceplexure: i don't think you'd expect the specific card version mentioned in the package name23:07
plexuregnarface: oh i was lol23:08
plexurelots of options here though, i don't know which one to choose23:09
gnarfaceplexure: no, basically we have 2 versions of the nvidia-legacy driver here (350.108 and 390.138) split across dozens of packages.23:09
gnarface340.108 i mean23:09
plexuregnarface: ah i see. am i out of luck then?23:09
gnarfacehttps://pkginfo.devuan.org/stage/beowulf/beowulf/nvidia-legacy-340xx-driver_340.108-3~deb10u1.html23:09
gnarfacehttps://pkginfo.devuan.org/stage/beowulf/beowulf/nvidia-legacy-390xx-driver_390.138-1~deb10u1.html23:10
gnarfaceno23:10
gnarfaceyou pick one of the two main packages to start with23:10
suavedandyOkay. I moved the floating layout to the end of the list and now I have master-stack as my default. Brilliant.23:10
gnarfacenot sure which version23:10
gnarfacebut you pick one of them, and hopefully it will get the rest of the relevant dependencies23:10
gnarface(if not, install the rest of the same version manually.  but don't mix versions)23:10
plexuretrying out nvidia-legacy-340xx-driver 340.108-3~deb10u1 first23:11
plexureshould i just reboot after that?23:11
gnarfacewell, i'd check to get the rest of the missing packages from that version that didn't install, THEN reboot23:11
suavedandyBut really. Pop!_OS comes with nVidia stuff.23:11
suavedandyWhy not that instead of Bubuntu?23:12
gnarfaceplexure: that's the oldest one still supported so if that doesn't work, you're back to debugging nouveau23:12
HumanG33knvidia-stuff are non free right ?23:12
suavedandyYep.23:12
gnarfaceHumanG33k: yea23:12
HumanG33kso that for why ;)23:12
gnarfaceplexure: (and it's probably offtopic here, but i just switched to AMD because i got sick of that shit)23:12
suavedandyLinus hates nVidia.23:13
plexurenvidia-legacy-340xx-driver 340.108-3~deb10u1 pulled a lot of dependencies23:13
plexurelet's hope for the best23:13
gnarfaceplexure: it's expected23:13
HumanG33ki m waiting the AI amd framework gnarface23:13
HumanG33ki pretty tired of  all non-free stuff.23:14
suavedandyplexure: Are you installing stuff from nVidia's site?23:14
gnarfaceplexure: you're getting that from beowulf, right?23:14
gnarfacesuavedandy: i'm pretty sure it's the repo version23:15
plexurei'm not suavedandy, it's from the repos23:15
plexureand yeah it's beowulf gnarface23:15
HumanG33kuse the nvidia cleaner between each non-free nvidia stuff try23:15
suavedandyDevuan repos?23:15
suavedandyBecause Devuan has a non-free repo.23:16
HumanG33kand reboot btw (remember to have irc on some other device to be prepare to blackscreen attack)23:17
plexuregnarface: worked on first try!! thank you very much23:17
suavedandyHumanG33k: That's some horror-worthy shit. It's like installing a freaking trojan.23:17
HumanG33knvidia stuf ?23:18
plexureyeah HumanG33k, currently posting this on another device. i'm glad it worked out on first try, though23:18
suavedandyYeah.23:18
HumanG33ksooo agree23:18
suavedandynVidia are out of their freaking minds.23:18
suavedandyLunatics.23:18
HumanG33klast nouveau stuff have a good support but not really company ready …23:19
gnarfaceplexure: awesome.  glad to hear it.23:20
gnarfaceplexure: if you need to switch to nouveau in the future, the beowulf-backports version might work better than the stock one, but you'll might still have to do annoying things like manually specify the amount of video ram in your Xorg23:21
gnarfaceplexure: *in your Xorg.conf23:22
gnarfaceactually it's xorg.conf23:22
plexurewill keep it in mind, thanks gnarface :)23:22
gnarfaceno problem23:22
suavedandyI update the repositories and find out that there are 5 new packages.23:29
suavedandyAnd I have everything upgraded so those are unrelated to my packages.23:29
suavedandyAre these security upgrades for uninstalled packages or something?23:30
n4dirShort answer: No.23:32
suavedandyI thought Debian and its derivatives don't upgrade packages until release.23:32
suavedandyIs this something critical?23:33
suavedandyLike bugfixes?23:33
HumanG33kit depend of your repository configuration23:34
HumanG33k*ies23:34
HumanG33kstable => only security23:35
HumanG33kbackport => some fix and new version23:35
HumanG33k(stable have some fix too but not sure)23:35
HumanG33ksuavedandy, take the time to grab your free version of debian handbook.23:36
HumanG33kfull of nice stuff23:36
suavedandyThat's the thing. I have stable.23:37
suavedandyIs it because I've connected backports- BUT OF COURSE IT IS.23:38
suavedandyI am dumb.23:38
RhineDeviltaking a look at https://git.devuan.org/devuan/documentation/src/branch/master/maintainers/PackagingGuide.md, how could I create a basic ceres chroot and then copydelete it everytime I need to build something?23:38
RhineDevilI don't want to download the same packages over and over again if they're part of the basic system23:39
n4dirthe most easy solution is probably to copy the original chroot, work in the copy, delete that when done.23:42
RhineDeviln4dir, I'd wish to do this with something as-simple as the command written here23:42
RhineDevilDoesn't matter if I need to configure some weird things23:44
RhineDevilI just want something like, ok, build my package for ceres and it does it23:45
gnarfaceRhineDevil: try cp -a -l?23:53
gnarfaceRhineDevil: (-a -l would make copy-on-write hardlinks of the chroot instead of actually copying)23:54
n4dirprobably would be best to use something like rsync -auv --delete old_chroot work_chroot, hoping that that way you would only delete whatever was added to the working_chroot.23:54
n4dirnot saying that command would work, too late here, just to give the idea23:55
RhineDevilthere isn't something that does this by itself automatically? How does the devuan server do this?23:55
RhineDevil*servers23:55
gnarfaceRhineDevil: you could set up a caching proxy for apt or your own private repo if you wanted it to be transparent to the package management processs23:57
n4diras mentioned at the website you linked to one of the usual ways is to use pbuilder.23:57
suavedandyLovely. Set up a basic AwesomeWM config, scaled everything and enlarged the terminal's font, painted it black so it doesn't annoy my eyes and turned off titlebars.23:57
suavedandyNow I can have some sleep.23:57
suavedandyWait. Is there an X font that looks 80's like Terminus?23:58
suavedandyWant a cool hacker font for my terminal.23:59

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