libera/#devuan/ Sunday, 2025-01-19

freaxeh2I'm trying to install discord .deb, how do I handle that? as gotten from here: https://discord.com/download03:56
freaxeh2ty in advance03:56
freaxeh2when I run it I get:04:01
freaxeh2./discord-0.0.80.deb: line 1: syntax error near unexpected token `newline'04:01
freaxeh2./discord-0.0.80.deb: line 1: `!<arch>'04:01
freaxeh2its been aaages since I've messed around with .deb files04:01
n4dirapt install <name>.deb04:02
n4diri usually just use "dpkg -i <name>.deb"04:02
n4dirthere is or was also gdebi. gdebi will take care of dependencies, dpkg doesn't, apt i don't know04:03
freaxeh2tyvm04:05
n4dirthere is a very little more to it, sometimes, i hope it works right away.04:07
rwpapt and apt-get have gained the code to install .deb files now too.  "apt-get install ./foo.deb" will install foo and also required Depends of foo.04:07
n4diroh, apt-get too, i didn't know that. thanks04:08
freaxeh2synaptic package manager should be the default installer for .deb files imho04:10
freaxeh2to make it a seamless installation similar to ubuntu *cough*04:10
freaxeh2I had to run it as "apt install ./discord.deb", I tried "apt install discord.deb" and it didn't work04:11
freaxeh2discord is installed and running, thanks04:11
freaxeh2oh also i had to su04:11
freaxeh2I'm just getting used to desktop Linux again, been on the server side of things for a couple of years now04:12
rwpThe problem with synaptic is that it, by nature of being a graphical application, requires graphics and this does not work on a headless server and therefore cannot be used everywhere.  Yet apt and apt-get are completely general being usable everywhere.04:19
schillingklausi hate graphics even on a desktop04:19
n4dirit's quite a while i heard someone speaking about synaptics. In fact i forgot it even existed, before you mentioned it rwp04:22
n4dirno idea why no one seems to use it anymore04:22
schillingklaussynaptic also uses way too much memory04:22
gnarfacesynaptics and synapitc are not to be confused04:25
gnarfacesynaptics is a touchpad driver04:25
gnarfacekde has its own native gui installer solution, so my assumption is that many are just using that instead04:26
schillingklauskde and gnome both prefer systemd, so they are always a pain04:27
freaxeh2Is it possible to change window managers post installation?04:27
n4diryes04:28
freaxeh2how difficult is it?04:28
n4dirjust install the next.04:28
n4diryou use a display-manager or startx?04:28
gnarfacedepends really on the window manager, some of them are harder to extract than others04:28
gnarfacesome of them coexist better than others04:28
freaxeh2how do I answer that question n4dir ?04:29
n4diri can't say i ever experienced different Window Managers having a problem with each other04:29
gnarfaceand yea, it can depend on which display manager you're using too, if you do use one04:29
n4dirfreaxeh2: after you have booted, you see a gui-thing to enter username and password, or you see a terminal?04:29
freaxeh2I'm using xfce at the moment04:29
freaxeh2gui thing04:29
n4dirOh. It might be using lightdm as a display-manager.04:29
n4dirxfce is a DE, not a WM (desktop environment, not window manager)04:30
freaxeh2oh right04:30
schillingklausit also depends on whether using xorg or wayland04:30
n4dirif you installed it during installation, removing it usually will take all with it as soon you deinstall it. Some metapackage problem04:30
n4dirnot the end of the world, just saying04:31
n4dirwhat you want to use instead, or alongside?04:31
gnarfacei don't personally draw a distinction between "window manager" and "desktop environment" though i note that the window managers that tend to characterize themselves as "desktop environments" have been the ones more problematic to switch away from... some of those problems may have been inherent to running the unstable release though, since i was usually on sid when i used to switch window managers a lot04:31
schillingklausit is also possible tp stay withing xfce and just replace its default wm with a different one04:31
freaxeh2https://imgur.com/a/LMKqVjr04:33
freaxeh2I took a screenshot of neofetch and xfce about04:33
gnarfacethat won't help04:34
n4dirfreaxeh2: what other DE or WM you would want to use?04:34
freaxeh2still it looks pretty04:34
n4dirin general xfce is rather small, if you installed it during installation, it comes with a heck lot of non-xfce stuff though04:34
gnarfaceoh, yea, sure, i just thought you were trying to identify the "display manager" (aka "session manager" or "login manager")04:34
n4dirthe mentioned metapackage problem04:34
freaxeh2I was :D04:35
gnarfacejust run "ps aux --forest"04:35
gnarfacethere's only so many of them, it should be easy to pick out04:35
n4dirfreaxeh2: i mean, it can still be done. If all you want is a Window Manager, it is like no nothing04:35
freaxeh2something dark, i'd prefer n4dir04:35
n4dirif you want another DE Desktop Environment, and get rid of xfce, that is doable, but a bit of a brainfeck04:35
n4dirfreaxeh2: just pick another theme then?04:36
freaxeh2ok I'll try that04:36
gnarfacexfce is gtk2 in current stable? or gtk3?04:37
n4dirlooks like gtk3, not too sure04:38
gnarfacehmm, yea looks like gtk3 from the deps04:38
n4dirand i am on old-stable, forgot that04:39
gnarfacewhich is a shame kinda, because gtk theming peaked at gtk2)04:39
freaxeh2https://docs.xfce.org/xfce/xfce4-settings/4.18/appearance04:39
freaxeh2I've only got one theme available, how do I install more?04:39
gnarfaceoh, hmm, i wonder if it can actaully use either gtk2 or 304:39
gnarfacethat would be weird, right?04:39
n4dirfreaxeh2: you got a few listed "dark" no?04:40
gnarfacefreaxeh2: they should be packaged, i'm trying to remember a common substring for them04:40
n4diri slightly remember something about gtk engine04:41
freaxeh2https://imgur.com/a/H81UPGQ04:42
freaxeh2this is all I've got04:42
n4dirapt-cache gives result, the brutal truth is that i hardly know about themes though04:42
gnarfacethere are a couple engines packages but i'm not sure gtk3 uses those anymore04:42
schillingklausit's easier when installing the minimal iso and then adding xorg server, drivers, and clients manually04:42
n4diri am with schillingklaus on that question04:42
gnarfacefreaxeh2: try this search:  apt-cache search ^.*\-theme\-\?|grep -i gtk04:42
n4diri did it with gtk engine; and that gives results04:43
gnarfaceseems like a lot of them have package naems that end with "-theme" or have "-theme-" in them, but that pulls in false positives too04:43
freaxeh2ok ty04:43
gnarfacegtk engines are not gtk themes, though some of the themes also need special engines04:43
freaxeh2https://paste.debian.net/1345821/04:44
freaxeh2that search gives me this list04:44
freaxeh2i should be able to just apt install them then huh04:44
gnarfaceprobably just these 4 will get you a long way toward your goal, to be honest: darkblood-gtk-theme darkcold-gtk-theme darkfire-gtk-theme darkmint-gtk-theme04:44
freaxeh2yep04:45
gnarface(they all share the short description "dark GTK2/GTK3/Metacity theme"04:45
gnarface)04:45
gnarfacenot sure if you'll have to restart xfce to see them or not04:45
gnarfaceooh, devaun exclusives! clearlooks-phenix-darkpurpy-theme04:46
gnarfacelooks like some of the default themes from previous releases can be installed04:47
freaxeh2blackbird looks nice04:47
gnarfacei like blackbird04:47
freaxeh2all i did was close and reopen the apperance app04:47
gnarfacestill looking for a good gtk3 port of Wii-Black though04:47
freaxeh2they popped right up04:47
freaxeh2now to turn my terminal amber04:48
gnarfacedepends on the terminal, some of them will still obey ~/.Xdefaults or ~/.Xresources, but most the newer ones can just be themed by adding a bunch of command-line options to a bash alias or shortcut icon04:50
freaxeh2nah i mean my gui terminal, xfce4-terminal app04:51
freaxeh2I just ended up going into edit -> preferences -> colours and choosing a custom colour, #FFBF0004:52
gnarfaceyea, that statement was meant to include gui terminals. check the man page first, and if it doesn't support all the things you want i recommend urxvt (package name rxvt-unicode)04:52
gnarfaceoh, heh, fancy menus04:52
gnarfacewell whatever works04:52
freaxeh2I see04:52
freaxeh2how do you install a .ttf truetype font in linux?04:53
freaxeh2*devuan04:53
gnarfacethere are a bunch of packaged ones04:53
gnarfacemake sure it's not packaged first04:53
freaxeh2yeah this is "Glass_TTY_VT220.ttf"04:54
freaxeh2ok04:54
gnarfacemany of the font packages have "font" or "ttf" in the name04:55
gnarfaceotherwise you just have to find a font directory and drop it in there and then i think maybe re-run fontconfig (do you still have to do that?)04:55
gnarfaceeh, this is a bit rough but here's a search to try: apt-cache search '^ttf|^x?fonts\-'04:58
gnarfacesomeone know if there's like a meta-package for all the fonts?04:58
gnarfaceor even just most of the english ones?04:59
gnarfaceoh, freaxeh2 found it!04:59
gnarfaceapt-cache search '^ttf|x?fonts\-'|grep -i glass04:59
gnarfaceheh04:59
gnarfacefonts-glasstty - VT220 terminal font05:00
gnarfaceit's totally there already05:00
freaxeh2I installed it into /usr/share/fonts/truetype/vt220 as root05:00
freaxeh2and it worked 100%05:00
gnarfaceyea but no need, it's packaged already05:00
freaxeh2yep I'll delete the directory and install the package :P05:00
gnarfaceno sense in having unpackaged stuff in /usr/share/ if there's already a package for it05:01
gnarface(though i've put stuff there manually myself many times before)05:01
gnarface(i speak from experience; finding that stuff decades later after you forgot about it can be traumatic)05:01
freaxeh2man that looks nice05:02
freaxeh2very rustic05:03
freaxeh2https://imgur.com/a/Bu0CfEb05:03
freaxeh2:D05:04
gnarfacehah! awesome05:04
gnarfacevery retro style, i like it05:04
gnarfaceCRT mystique05:05
freaxeh2thanks for your help, I'm off to make dinner :P05:05
gnarfacereminds me of the Commodore 128 shell font05:05
gnarfacea little05:06
gnarfacehave a good one05:07
n4dirnot much in fonts, just like not much in themes, but i liked terminus05:07
n4dirhttp://0x0.st/8Hb_.png05:08
gnarfaceit also appears to already be packaged in the repos05:08
gnarfacetwice for some reason: fonts-terminus fonts-terminus-otb05:08
gnarface???05:09
gnarface5 times? no 6!05:09
gnarfaceoh, wait, no one of those is actually a terminal05:09
gnarfacethese other three though: xfonts-terminus, xfonts-terminus-dos, xfonts-terminus-oblique05:09
gnarfacemust be popular05:10
n4dirit had a hype a while ago05:10
gnarfacehmm, yes looks familiar...05:12
n4dirfreaxeh2: i guess you used user1 as username as user was already taken by me? :-)05:12
freaxeh2yep thats it exactly n4dir05:46
cousin_luigiI need to start multiple instances of dnsmasq: until now I duplicated init scripts, but with the latest (2.90-4) update, too many things were moved to a common file in /usr/share/dnsmasq. The configurations still work with /etc/init.d/dnsmasq start foo, but how could I automate that on startup?13:00
gnarfacecousin_luigi: why do you need multiple dnsmasq instances, exactly?13:02
cousin_luigignarface: I've found it impossible to have a single configuration support the three segments of my network suitably.13:03
cousin_luigiI've done my research, including asking the developer. There is no way, so I need to run two additional instances.13:04
gnarfacecousin_luigi: usually the proper solution to "i need to do something too complex for dnsmasq" is to use bind9 instead13:04
cousin_luigiBy the way, dnsmasq does support instances.13:04
cousin_luigignarface: Which is no longer supported. And doesn't even do dhcp.13:04
cousin_luigikea, on the other hand, has its own shortcomings13:05
gnarfacewait, bind is no longer supported?13:05
gnarfaceare you sure...?13:05
cousin_luigiSorry, it's isc-dhcp that isn't13:05
gnarfacei'm not sure what dhcp could possibly have to do with this13:05
cousin_luigiBut I found out that bind was way overkill. Like a gig of memory for a handful of zones.13:05
cousin_luigignarface: I use dnsmasq for both.13:05
gnarfacewell, but bind can handle multiple network instances with just 1 daemon13:05
gnarfaceand i doubt it really takes a gig of memory13:06
cousin_luigignarface: No doubt. But it wasn't the main problem.13:06
gnarfacewell you can just run custom start commands from /etc/rc.local if you want13:06
cousin_luigiWill the additional instances of dnsmasq be also terminated properly on shutdown?13:07
gnarfacedunno, but there's also unbound, dunno if it will do what you want either but it was popular around here for a while13:08
cousin_luigihmm, shutdown.d13:08
cousin_luigignarface: I do use unbound13:08
cousin_luigias authoritative server13:08
cousin_luigiok, boot.d and shutdown.d appear to be working, but I would like some feedback on console13:13
cousin_luigioh nevermind, it's there.13:14
gnarfaceit's probably not the most ideal way to do things, but short of forking dnsmasq i don't really know anything better to recommend13:44
msiismApparently, I'm not the only one who had to "fix" LibreOffice Draw's permanent crashing on start-up by installing LibreOffice Impress as well. Is this generally a known problem?16:03
msiismI'm on Devuan Daedalus.16:06
gnarfacenot something i've heard of, but the whole libreoffice suite is typically installed together so it's probably just not tested very well in individual parts16:13
msiismI got the tip at https://unix.stackexchange.com/questions/681123/how-to-stop-libreoffice-draw-from-crashing-in-debian-bullseye16:13
freemyeah, libreoffice is split by debian, and that breaks it in random areas. I had the problem with "LO base". Installed another part fixed it (but in the end, Base was still unusable, so I abandonned the project entirely, as I do not have ms access licence)18:55
freemif someone knows a good replacement, I'm all ears.18:56
n4dirdepending what you need you could try abiword18:56
freemfor those who want lightweight GUI tools for word/excel I'd recommend abiword and gnumerics18:57
freemyeah, those are quite ok, I agree. But I could not find a ms access replacement (rapid application development, allows to quickly draw a database schema and to quickly hack a user interface on top without being too comfy with tech, which was important point for my target)18:58
freemthat does not replaces draw neither though. For that there's dia, but it's pretty bad imo, may depend on tastes and needs though.19:01
n4dirand installing just all of libre-office doesn't do it?19:02
freemfor which tool?19:04
freemin my experience, for writer and the excel thingy (don't remember the name) it works, but for less used components, you're going to face problems19:04
freemI didn't knew about Draw, but knew about Base. That's already 2 problematic components. How many are there?19:05
freemthe only problem is the fact they do not have correct hard-dependences mind you19:05
n4dirif i said all i meant really all, libreoffice19:06
freemah, ok. Yes, it does, that is what was said?19:06
freemthat it is not a good idea to install only a part of libre office, as this may make it bug in random manners19:07
freemdepending on the component you installed19:07
freemand if you are asking about "does Base work with whole LO package" then, it technically does, but it is a very horrible experience still19:10
freemand that is compared to the ms access I got some basic trainings on, 15 years ago. YMMV  I guess.19:11
freemI'll stop here as I'm afraid this may be off topic19:11
masonpipewire setup is funny. Transferring a laptop to my oldest kid, and she needs videoconferencing for school. So I looked at https://dev1galaxy.org/viewtopic.php?id=5867 and for the life of me I couldn't get it to go. Had to run pipewire *before* wireplumber.21:42
masonOh, heh, further down in that thread someone else has the same ordering.21:43
n4dirmight be stupid but isn't it obvious you have to start pipewire before wireplumber (am using jack)21:45
masonn4dir: While normally I would say "yes, absolutely", there are a lot of instances where another order is specified as being required.21:46
masonOh, hm, my desktop also starts pipewire first.21:47
n4dirmason: ah, i see. I had only a short look at pipewire in live-distros yet. But sure not enough to make much sense of it21:47
n4diri startx, then use cadence to start jack (then a pulse-plugin), then do the rest21:48
masonn4dir: It's not PulseAudio and it more or less works. Mostly it lets me do things like record sound with vokoscreen that's not possible with plain ALSA.21:48
n4diryeah, most claim it "just works", and what they claim sounds valid to me21:48
freemif "order is important" in the 1st message of that forum, then there is a problem already: nothing guarantees that those programs will be ready in the order they are called21:48
masonfreem: Later in the thread it's noted that there are systemd dependencies specified, which is I guess how it works on many systems. There are of course no sysvinit files shipped. That might be something to address.21:49
n4dirwell, say you got app X configured to use audio-server Y, then of course it needs to be running if you wanna use it21:49
mason...except that it's run by the user, so... dunno.21:49
n4dirto me it seems clear, perhaps i am stupid21:49
freemI was simply refering to the fact that the 3 programs are started in a specific order, but one may get a bigger CPU share than it's predecessors21:50
masonComment #23 in the thread seems to have a nice script that should be relatively straightforward to drop in. I'd have saved a few minutes if I'd noticed that first. :P21:50
freemideally you'd need a utility that blocks until it's target is, indeed, ready. I guess one can tinker something to talk systemd's basic protocol? I am refering here to the openssh shitty patch some people thought was a good idea to make linking to libsystemd021:51
masonOpenSSH packages linking to systemd-anything is kind of funny honestly.21:52
freemthere may be other more or less reliable ways, such as testing the presence of a socket or something21:52
freemit is, but also, I think daemons advertising their readyness is *not* a stupid idea from systemd folks21:53
freema broken clock is right twice a day, as they say :)21:53
masonfreem: Was that theirs, or is it from launchd? Not actually sure.21:53
freemvery good point21:53
n4dirwait, during boot things need to start in a certain order?21:53
freemdepends what you are operating, but yes, sometimes it can be useful21:54
n4dirwell, i thought the topic was pipewire21:54
freemI had such a case at work, for embedded kiosk systems21:54
freemyes, but it is related21:54
freemI used systemd/openssh's example to illustrate the fact that those daemons are not necessarily ready in the order they are started21:55
freemand that you need a tool to verify such readyness, or otherwise bad things may happen21:55
n4diryou probably need sound after boot.21:55
freemI don't know the dependency chain or needs of pipewire though, I prefer my systems simple, and alsa is fine to me21:56
freemexcept when videoconferencing over a web browser is needed, sadly21:57
masonfreem: videoconferencing has generally worked for me with straight ALSA21:57
freemreally? I never managed to achieve that, 4-5 years ago21:57
freemwhich browser do you use?21:57
masonDepends on the videoconferencing platform I think.21:58
freemI tried with firefox myself, back then, and chromium as well. None would work.21:58
masonFirefox mostly21:58
masonChrome for some things21:58
freemso I have a systemd partition to handle those cases...21:58
masonAll just Firefox recently.21:58
n4dirso from the linked thread it looks to me as if you could just start pipewire and friends from X22:02
n4dirjust run the command22:02
masonYeah, for my kid's rig I'll show her how to have a .desktop file on when she logs in I think.22:03
masonFor my own stuff I just use .xsession.22:04
n4dirmason: yeah, right, point was no need to do it during boot22:04
masonYeah, in this case.22:04
masonI looked at the packages, and it's evidently a user service under systemd.22:04
n4diryeah, found those web-results22:04
masonn4dir: The packages themselves have it too.22:05
n4diraye22:05
n4diranyway, for now i'll stick to jack. Took me long enough to figure it out22:05
masonFair enough.22:05
n4dirjust interesting to slowly get a better understanding22:05
onefangI think it's best to stick with JACK, especially if you got it working already.22:06
n4dironefang: it is just that a lot of distros, and mainly the audio-distros, switch, i look now and then, so at least the basics are good to know22:09
psionicthank god Devuan still have i38623:26
psionicI hope it will never be abandoned23:26
schillingklaushow can devian continue support for i386 if it has been abandoned upstream in debian?23:28
schillingklausbackports maybe?23:28
freemthere is also the question of how to support it if contributors no longer have such system or interest for those. i386 is *really* old, after all. I doubt it really is supported, I'd bet what really is is i68623:29
schillingklausare there no vm'sfor i386?23:35
* freem still have a "designed for windows millenium" computer around, but it can not be used to anything real with it's less than 200 megs of ram)23:35
schillingklausvim, lynx etc. will still run comfortably on it23:36
n4diralso might fool with tiny core linux or such23:37
freemyes, sure they do23:38
freemmpd as well23:38
freembut... comfortably? Just booting it takes a long time23:38
n4diri think the most low i used more or less comfortable was 386 MB, but that is 3 or 4 years ago23:39
freemI'd rather use my beaglebone blacks as desktop than this23:40
freemfaster to boot, more 250% ram, orders of magnitude more CPU cycles, smaller package, smaller energy usage, ...23:40
freembut I guess old 32bit systems are still in use in industry, as you don't replace machines without a very good reason there23:41
freemthose run on isolated networks and with obsolete OSes as well, though, because no driver exists on more moder systems anyway (to drive the proprietary hardware)23:42
freemincluding windows 200023:42
schillingklausnot long ago, an amiga commodore was found as a business computer somewhere in the middle west23:43
* freem doubts it can boot devuan23:54
psionicIs ther a way to install through serial console?23:56
freemyou probably need to setup your own installer for that, but I see nothing that would prevent it23:58
freemI think agetty is still the by-default PTY and IIRC it supports RS-232 and stuff23:59

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