libera/#devuan/ Wednesday, 2022-08-03

eyalrozand updates occasionally overriding this somehow00:00
rwpeyalroz, Remove the packaged version of firefox and then apps cannot start it.  Only your upstream Mozilla Firefox will remain.00:06
rwpWhere did you put the firefox.desktop file?  I put it at ~/.local/share/applications/firefox.desktop for me.00:08
rwpThere is also the ~/.config/mimeapps.list which sets the "default browser" too.00:09
rwpPersonally I did not like Mozilla's placement of /opt/firefox since that is a system level directory and Mozilla's Firefox updates as a user update.00:10
rwpTherefore I located it in ~/var/firefox instead and made that path adjustment throughout with a symlink in $HOME/bin/firefox to ../var/firefox/firefox00:11
hightower2maybe the apps tried to run sensible-browser which is controlled by debian-alternatives?00:11
rwpThat way everything is self-contained in $HOME.00:11
hightower2so you sometimes got two versions...00:12
rwphightower2, You are likely correct.  Which is why removing the packaged version is needed to avoid it.  That will update the alternatives.00:12
hightower2yes but alternatives aren't updated on updates. So if he configured the alternative to the same place, it'd work? And if he really wanted to make sure, he could dpkg-divert /usr/bin/firefox ?00:13
rwpalternatives are updated on install and remove/purge though so purging firefox or firefox-esr would remove the alternative entirely.00:14
rwpI haven't had the problem myself of things trying to start the current alternative: update-alternatives --display www-browser00:14
hightower2well yes but he'd never do that00:14
hightower2(if it worked correctly all the time)00:14
rwpWhich I see is lynx because I removed the packaged version of firefox.00:14
rwpHmm...  Ahem...  Nothing works correctly all of the time.  Sigh.00:15
rwpLooking at /usr/bin/sensible-browser after it tries various things if those fail it says: printf "Set the BROWSER environment variable to your desired browser.\n"00:16
rwpSo one can force a particular browser by setting BROWSER in the environment.  Probably best to set that in the ~/.sessionrc file.00:17
hightower2good one00:17
rwpThat way it can be set to a graphical browser in X but won't be set if using ssh to log in with a terminal.00:17
eyalrozrwp: Actually, my alternative for www-browser is links2, somehow00:40
eyalrozeven with firefox installed00:40
eyalrozrwp: BROWSER is an interesting idea.00:40
eyalrozWhen does ~/.sessionrc get run though?00:41
eyalrozrwp: About _removing_ firefox - that removes a browser icon from my cinnamon start menu left bar; and the Menu Editor doesn't seem to let me add a different icon there00:49
linux_nIn xfburn when i click burn image i get error -->burn mode is not currently implemented.00:57
linux_nHow do i fix this?00:57
rwpeyalroz, ~/.xsessionrc is loaded by /etc/X11/Xsession at X start.  In /etc/X11/Xsession.d/40x11-common_xsessionrc00:59
rwpeyalroz, Re: removing from the start menu...  That's why I asked about where you installed your firefox.desktop file.01:00
rwpI put it at ~/.local/share/applications/firefox.desktop for me.01:00
rwpThen it will appear in the desktop menu.01:00
rrqlinux_n: did you check https://forums.linuxmint.com/viewtopic.php?f=47&t=33972001:00
rwplinux_n, Sorry but I know nothing about xfburn.01:01
gnarfacelinux_n: my initial searching suggests there should be a "refresh" button01:01
linux_nya the refresh seem to make it work just now i get the selected image does not fit on the inserted disc. I guess i have to find a disc with bigger gb. Thanks01:11
gnarfacenp01:12
spine-o-saurushay what is the package for lua? i've installed liblua5.3 but when I type 'lua' it says command not found11:05
Jorilfor the record: lua5.311:23
onefanglua5.3 in this case.  Or lua-any.  You could also install 5.4.11:23
onefangSNAP!11:23
Joril:D11:23
oscareczekgnarface: I actually forgot that I should see what's happening on another X230 with Artix + OpenRC, on that acpi_listen sends the same events for mic mute and ThinkVantage as on Debian16:53
oscareczekso it's not really systemd…?16:54
gnarfaceoscareczek: that is interesting, but there's gotta be some other difference.... if you're actually on debian stable and devuan stable and they're behaving differently, start looking at package versions... most of them should be the same so that should reduce the possible suspects17:40
gnarfaceoscareczek: to be honest my first guess is that either the devuan or debian install isn't actually the stable version, or there are backports packages mixed in with one but not the other, or the upgrade was incomplete, something like that17:41
gnarfacesomething has to be causing it and devuan only actually even changes a small handful of the total packages (the rest are actually served by http redirect; they're not even mirrored copies)17:41
oscareczekwell, I don't have Debian anymore, so I can't check that17:42
gnarfacehmm17:42
gnarfacethe only other major difference is permissions17:43
gnarfacesystemd will grant blanket open access to all devices for any local user17:43
gnarfacewhich is quite insecure, but does also mitigate some complications17:43
gnarfaceso... is it a fancy keyboard or something?17:43
gnarfacesomething that may have extra /dev/ nodes that might not all be properly represented in udev or something like that?17:44
gnarfacethere's really only so many possibilities17:44
gnarfacethe systemd permissions thing allows you to ignore a lot of udev rules errors17:44
oscareczekI think it's just PS/2, but how do I double-check?17:45
gnarfaceit was a real struggle for me to get my Steam Controller working until i realized that Valve doesn't know how it fucking works either and so i learned to fix busted udev rules17:45
gnarfacegood question on how to check though with ps/2... if it were USB it might cough up some notes about which dev nodes it's using in dmesg on hotplug but not sure about ps/217:46
gnarfacei mean if it's ps/2 it's probably nothing fancy but if it's USB it could theoretically even be using multiple /dev/ nodes and some may be virtually spawned based on userspace interactions17:47
gnarface(another Steam Controller peculiarity)17:47
gnarfacehmmm17:48
gnarfacealthough...17:48
gnarfaceone idea that comes to mind, you could just diff the list of devices and their permissions that show up in /dev/ between the devuan and artix install17:48
gnarfaceif the artix one is working right and it is a permissions issue, there should be some obvious discrepancy with regards to user/group permissions on relevant devices17:49
oscareczekartix https://paste.asie.pl/Nq9B devuan https://paste.asie.pl/CrP117:51
gnarfaceuh, please use paste.debian.net17:51
gnarfacei'm paranoid of strange urls17:52
gnarfaceudev/eudev might be a key difference here if it's something to do with device creation or permission17:52
oscareczekdevuan https://pastebin.com/qsRDJNmt17:52
gnarfacecome on that's not paste.debian.net either17:52
oscareczekartix https://pastebin.com/NUk1MGzf17:53
oscareczekc'mon you're just paranoid, everyone knows pastebin17:53
gnarfacei know pastebin too well17:53
gnarfacethey're an ad supported site and if you knew what they were doing with them you wouldn't go there either17:53
oscareczekusing the web without any adblocker is impossible regardless17:54
gnarfaceno banner ads on paste.debian.net17:54
oscareczekand it's just ls -lR, I don't care where this data goes17:54
oscareczekfor me paste.debian.net is as trusted as paste.asie.pl is for you17:54
gnarfacejust /msg it to me then and be patient while the flood control lets it trickle through17:54
oscareczekif you really wish, but you're way too paranoid17:55
APicHi!17:58
* APic needs to compile DopeWars: checking for GTK+ - version >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.17:58
APicWhat Package do i need to install to fix this Dependency please?17:58
brocashelmapic: i think it's libgtk-2.0-dev17:59
APicbrocashelm: Thank You very much!18:00
brocashelmnp18:00
* APic got distracted by the +18:00
brocashelm:P18:01
APic😉18:02
gnarfaceoscareczek: two other things just occurred to me: 1) the permissions thing could tangentially be affected by not having any xorg.conf and relying on its auto-detect feature 2) the relevant nodes might actually be in /dev/input/18:02
APicUnfortunately, libgtk-2.0-dev does not exist here18:02
APicdaedalus/ceres18:02
gnarfaceoscareczek: and a third thing just occurred to me as i noticed "vboxusb" scrolling by in your paste... is this keyboard misbehavior you're experiencing happening in a VM on either machine?18:03
gnarfacevirtual machine behavior is often a forgotten culprit18:04
APicAh18:05
* APic already has libgtk2.0-dev/testing,now installed18:05
* APic actually just tries to build DopeWars to run a Server18:06
APicchecking for GTK+ - version >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.18:06
APicPerhaps you should add the directory containing `gtk+-2.0.pc'18:06
APic/usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-2.0.pc contains it18:06
gnarfaceAPic: you sure you got pkg-config installed?18:06
APicNot yet18:07
APicThanks a Bunch!18:07
APicNow it works! Absolutely epic!18:07
APic*purrrrrrr*     😸   =^.^=18:07
gnarfaceoscareczek: ah, and a fourth thing just occurred to me that might be different in devuan from artix; artix installs non-free firmware by default doesn't it? debian and devuan do not but you might have installed it in debian so long ago you'd forgotten18:08
gnarfaceoscareczek: the user you're testing this with is in the "input" group on both the artix and devuan installs, right?18:17
gnarfaceoscareczek: and also about the xorg.conf; are you using one on either install, even a partial one? or is one of them using xorg and the other wayland or something like that?18:18
gnarfaceoscareczek: i did just notice a permission discrepancy that shouldn't matter but the fact it's even there does draw suspicion to the udev rules being relevant: on artix you have 0660 permission for /dev/uinput but on devuan you have 0600 for it18:27
gnarface(i doubt your keyboard uses that but the steam controller sure does)18:28
oscareczeklibgtk2.0-dev18:34
oscareczekbecause my answer was correct, not his18:34
oscareczekhost on both18:34
oscareczekit's for usb passthrough I think18:34
oscareczekas for 1, neither have xorg.conf, Artix has a config to set globally Polish layout, but that's about it18:34
oscareczekas for 2, well, what about it?18:34
oscareczekit's a slightly different machine, but Parabola has no problems with these keys on X20118:34
oscareczekso I don't believe in non-free here18:34
oscareczekbesides, firmware-iwlwifi stayed during migration18:34
oscareczekso it's not like my non-free stuff disappeared18:34
oscareczekboth are xorg18:34
oscareczekas for input group, I was excited because it wasn't the case on Devuan, but adding it didn't change anything18:34
oscareczekI rebooted ofc18:34
oscareczekI have this on Artix, as I mentioned before: Section "InputClass" \n Identifier "system-keyboard" \n MatchIsKeyboard "on" \n Option "XkbLayout" "pl" \n EndSection18:34
oscareczekI can add it, but I don't really know if it changes much, on Plasma I just set it through Plasma settings and also, again, it worked before removing systemd, so that shouldn't be relevant18:34
oscareczekon both machines group is root, so I'd call it double irrelevant since neither users are in that18:34
oscareczekbut actually, what's more intriguing to me is this plus at the end18:34
oscareczekgetfacl has rw on my user on Artix18:34
oscareczekwill check if that does anything in a while, laptop is currently used18:34
gnarfaceoscareczek: the xorg.conf could be relevant for the same reason the input group could be relevant; if you've got no corekeyboard definition you need to give yourself permission for the keyboard by putting yourself in the input group18:50
gnarfaceyou said you're in the input group on both installs or not?18:50
gnarfacesimilarly, extraneous input devices (like for example if perhaps the extra buttons show up as a separate input device) should default to the "input" group but if they don't (the Steam Controller didn't until i fixed the udev rules) then you won't have access to them unless xorg thinks they're the "core keyboard"18:53
gnarface...or you're in the "input" group18:53
gnarfaceand i don't know what artix does for default groups but on debian/devun iirc you would not be in it by default for a fresh install anyway18:54
gnarfaceand both your artix and devuan permissions show that the entirety of /dev/input/ is restricted to only root or the input group18:54
gnarfaceagain, we're just looking for any possible differences here18:55
gnarfaceit would help a lot to know exactly which of these /dev/ nodes controls the buttons in question18:55
oscareczekcurrently both users are in input group18:56
oscareczekremoving this part of xorg.conf from Artix didn't break anything, I don't need it actually now that I think about it18:58
gnarfacewhat does the xorg log say about the keyboard on both of them?19:00
gnarfaceusing libinput in both cases?19:00
oscareczekArtix has something called ThinkPad Extra Buttons handled by libinput, /dev/input/event519:02
gnarfaceah, now that right there sounds likely to be related19:02
oscareczekas for Devuan, where is the log? I thought it'd be in /var/log, but I can't see it19:02
oscareczeknvm wrong machine19:03
gnarfaceif you're not running xorg as root the log is now in ~/.local/share/xorg/19:03
gnarfaceit does still go in /var/log/ if you're running xorg as root but you pretty much only have to now for nvidia official closed-source drivers19:03
oscareczekon Devuan, I can see this:19:04
oscareczek[    65.444] (II) event7  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch19:04
oscareczek[    65.444] (II) event7  - ThinkPad Extra Buttons: device is a keyboard19:04
oscareczek[    65.444] (II) event7  - ThinkPad Extra Buttons: device removed19:04
oscareczekoh, wait, it's the same on Artix19:04
oscareczekthese logs look the same except for the numbers, Artix has:19:05
oscareczek[    65.460] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input8/event7"19:05
oscareczek[    65.460] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)19:05
oscareczek…that's a lie, that was Devuan19:06
oscareczekArtix has:19:06
oscareczek[     9.410] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event5"19:06
oscareczek[     9.411] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 12)19:06
gnarfacedo you have the firmware-linux-free package on devuan?19:07
oscareczekyes19:07
gnarfacedo you have the synaptics input driver installed on either system?19:08
oscareczekneither19:09
gnarfaceyou sure?19:09
oscareczekyes19:09
gnarfacehttps://www.reddit.com/r/thinkpad/comments/rrbrot/t470_linux_upper_mouse_buttons_and_trackpoint_not/19:10
gnarfacenot the same device but i wonder if this is relevant19:10
gnarfacetry seeing if the buttons magically start working after it wakes from sleep or something19:11
gnarfaceand maybe check for loose connections19:11
oscareczek40 series and up don't have these buttons19:11
oscareczekmouse is perfectly fine19:11
gnarfaceunrelated to that, are the kernel command-line parameters the same on these installs?19:11
gnarfacesomeone else fixed a similar problem with touchpads by using this command-line parameter: psmouse.synaptics_intertouch=019:12
gnarfacei know that won't help but maybe there's one like it that would19:12
oscareczekdevuan has ro net.ifnames=0 quiet splash i915.fastboot=1, artix has rw quiet splash mitigations=off, I don't think anything here is relevant19:12
oscareczekand again, mouse is absolutely 100% fine19:12
oscareczekafk19:12
gnarfacewhat's mitigations=off?19:12
oscareczekdisable spectre fixes and such19:12
gnarfacehmm19:12
gnarfaceyea, try the thing about letting it sleep then see if the buttons start working after it wakes up19:14
gnarface something has to be different but at this point i'm out of ideas19:15
gnarfaceartix probably has a different acpid and kernel version than devuan stable so that could enter into it19:20
gnarfaceyou could try the backports kernel to see if it magically fixes anything19:21
oscareczekI mean, I could, but on Debian with 5.10 it worked, so I don't see how that would change anything19:22
gnarfacei know it's a long shit19:25
gnarfacelong shot*19:25
gnarfacebut there's no acpid in backports so we can't try that19:25
oscareczekif I `apt install linux-image-amd64/stable-backports`, it will upgrade normally through backports over time, right?19:27
gnarfaceuh... theoretically but i thought there was no kernel meta-package in backports19:27
gnarfacei'm not sure that's really what you'd want anyway19:27
gnarfaceyou'd ideally want the stable kernel to stay installed and keep getting regular updates in case you needed to go back to it for some reason19:28
gnarfacelast time we went around and around about something like this i think i recall that what happened was it ultimately turned out to be a held package that the debian->devuan upgrade process had silently skipped due to a bizarre datestamp style version string19:29
oscareczekI don't see anything held though19:30
gnarfaceit was silent because the version looked higher19:30
oscareczekoh, like that19:30
oscareczekis there a command for checking what is misversioned against repos?19:31
gnarfacei think it turned out to be something from backports in fact, and that user had also sworn up and down they'd never used backports; they had simply forgotten, perhaps it had been held since a previous debian release19:31
gnarfacesometimes with firmware and stuff it's easy not to notice19:31
gnarfacelet's see, an easy way to do that, i'm not sure...19:31
gnarfacewell you can check versions at pkginfo.devuan.org though19:32
oscareczekwell, I won't compare packages one by one :P19:32
gnarfaceno i don't blame you19:32
golinuxkolofon: Let me have a look in admin.19:33
golinuxI just responded to your post on dev1galaxy. Please have a look.19:33
gnarfaceprimary suspects would be anything with a datestamp for a version or some weird long git version suffix after the - or ~19:33
gnarfaceif you run "dpkg -l" they might readily stand out19:33
gnarfacethe devuan-forked packages will all have "devuan" in there19:34
oscareczekor chimaera as I can see19:34
gnarfacehmm, maybe so19:35
gnarfacebut the version checks are simple string comparisons only slightly more complex than a base alphabetical order check, so anything that's not in a N.N.N-N format can choke it up19:35
gnarfacebackports stuff is a common culprit19:36
oscareczekI don't see anything with bpo, ~ doesn't show anything relevant to input and as expected, looking for - is impossible19:36
oscareczekas in, I can grep - -, it's just way too much19:36
golinuxkolofon: That address is not in the git database.  If you have not been there in a long time, perhaps you did not re-register after we transitioned from gitlab to gitea?19:37
gnarfacehmm, i wonder if trying a dist-upgrade with --verbose-versions might actually turn something up19:37
golinuxI will check for a user name.19:37
kolofon@golinux i'm reading your answer on the forum.19:38
oscareczek0 results for `apt dist-upgrade --verbose-versions`19:39
* golinux goes to grab some tea19:39
gnarfaceoscareczek: i think someone had a better way to do this but i can't recall exactly; "apt list [package name]" is a start but i think there was some even better method mentioned a long time ago19:45
gnarfacemaybe aptitude can help19:45
oscareczekI don't really such an option there as well19:55
gnarfacei'm sorry i don't remember what the easy way to do this was19:57
gnarfacei just remember i was half way to writing a script to run them one at a time in a loop when someone popped in and mentioned an easy way19:58
oscareczekhmm, I've googled a little bit more, there's this https://www.thinkwiki.org/wiki/Microphone_Mute_Button20:15
oscareczekthe path it mentioned is old, but f20 is defined on both machines in /lib/udev/hwdb.d/60-keyboard.hwdb20:15
oscareczekand both machines have udevd running20:16
spine-o-saurushay I installed liblua5.3 but when i type 'lua' it says command not found20:18
onefang_Ah you didn't stick around for an answer last time you asked that.20:19
onefang_[19:05:32] <spine-o-saurus> hay what is the package for lua? i've installed liblua5.3 but when I type 'lua' it says command not found20:20
onefang_[19:15:13] * spine-o-saurus has quit (Quit: Leaving)20:20
onefang_[19:17:57] * brocashelm (~brocashel@user/brocashelm) has joined20:20
onefang_[19:18:54] * kolofon has quit (Quit: kolofon)20:20
onefang_[19:23:35] <Joril> for the record: lua5.320:20
onefang_[19:23:37] <onefang> lua5.3 in this case.  Or lua-any.  You could also install 5.4.20:20
spine-o-saurusya i had to leave, was the package the same?20:20
onefang_And now I'm off to sleep.20:20
oscareczekreplacing /lib/udev/hwdb.bin completely fixes the buttons, but I have a strong feeling this file regenerates automatically on update20:22
golinuxonefang: Isn't it just about to be morning where you are20:23
spine-o-saurussounds like a vampiresh kinda name though20:24
onefang4:30 AM, I keep odd hours.  All this chatting with people all over theplanet.  lol20:25
gnarfaceoscareczek: well good work narrowing it down... if the difference is that the eudev one doesn't work and the udev one works, you should report this to bugs.devuan.org21:09
oscareczekokay, done, thank you21:33
spine-o-saurusi linked net.eth0 to net.lo, but when it boots up it says config_eth0 not specified; defaulting to DHCP?22:17
spine-o-saurusis that right?22:17

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