| ibanja | Using sox play, running: play anyfile.mp3 gives an error. https://paste.debian.net/1330740/ | 01:38 |
|---|---|---|
| ibanja | aplay -l lists cards | 01:39 |
| fsmithred | I can't play mp3 with sox either, but I don't get your error. BTW, your paste uses ogg not mp3. I can play ogg fine with sox. | 01:43 |
| fsmithred | play FAIL formats: no handler for file extension `mp3' | 01:44 |
| fsmithred | can you get sound with other apps or other file formates? | 01:45 |
| ibanja | multiple apps fail, and other file formats fail. | 01:47 |
| ibanja | and I just discovered that my other computer is doing exactly the same thing. | 01:47 |
| ibanja | They have been working fine up until today. | 01:48 |
| Xenguy | drizzt, Incorrect | 01:49 |
| rrq | fsmithred: intall libsox-fmt-mp3, or even libsox-fmt-all | 02:44 |
| fsmithred | rrq, thanks. | 02:47 |
| fsmithred | I have no idea what ibanja's problem is. | 02:48 |
| rrq | same. apperas to be a module bug (reading uninitialsed memory) | 02:48 |
| rrq | or smtg | 02:50 |
| devuanconsumer | I have a curious problem. I installed an old XFX radeon RX 580 GTS XXX edution but the display is not showing high-resolution even after being even after installing firmware-amd-graphics | 07:04 |
| gnarface | check the Xorg log, and the output of "xrandr" while Xorg is running | 07:38 |
| devuanconsumer | https://termbin.com/rxyk | 07:39 |
| devuanconsumer | devuanconsumer@msi124:~$ xrandr | 07:39 |
| devuanconsumer | xrandr: Failed to get size of gamma for output default | 07:39 |
| devuanconsumer | Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768 | 07:39 |
| devuanconsumer | default connected primary 1024x768+0+0 0mm x 0mm | 07:39 |
| devuanconsumer | 1024x768 76.00* | 07:39 |
| gnarface | there's flood protect in here, you can't just paste multi-line pastes | 07:39 |
| gnarface | i think it stops you at 3 | 07:40 |
| gnarface | then you get a 120 second timeout | 07:40 |
| gnarface | or was that actually all of it? | 07:40 |
| devuanconsumer | its all of it | 07:40 |
| gnarface | weird | 07:40 |
| devuanconsumer | man i'm confused this is an old graphics card - it didn't work after fresh install | 07:40 |
| devuanconsumer | so I installed firmware-amd-graphics | 07:41 |
| gnarface | anything weird about the display? or the cabling? sometimes this happens if the display doesn't auto-detect right | 07:41 |
| devuanconsumer | no | 07:42 |
| gnarface | even having the wrong HDMI cable version for the monitor could cause it | 07:42 |
| devuanconsumer | i will try a new hdmi cable but this is weird as heck | 07:42 |
| gnarface | check the version of HDMI the cable is for, make sure it matches the version the monitor is for; the stuff is supposed to be generally forward and reverse compatible but in my experience it sucks at that | 07:43 |
| gnarface | check the version of HDMI the video card is for too, i forget what that one is, but it's new enough that if you try to use a HDMI 1.0 cable with it, you might have this type of problem | 07:44 |
| gnarface | also sometimes there are just very weird displays that need you to plug in a modeline to the xorg.conf manually for certain resolutions, though that's uncommon with normal desktop monitors unless they're a weird aspect ratio. usually i see that in stuff that has really weird clocks like projectors and stuff | 07:46 |
| devuanconsumer__ | ok so i just restarted wtih a a display port cable and no change | 07:47 |
| gnarface | hmm | 07:48 |
| devuanconsumer__ | i got an old grpahics card for the support lol | 07:48 |
| devuanconsumer__ | and it doesn't work :( | 07:48 |
| gnarface | i've gotta afk for a bit, but stick around, someone else might know and i'll come back if i think of anything | 07:48 |
| devuanconsumer__ | thank you | 07:49 |
| rrq | devuanconsumer__: maybe try this advice: https://askubuntu.com/questions/441040/failed-to-get-size-of-gamma-for-output-default-when-trying-to-add-new-screen-res | 07:56 |
| devuanconsumer | the problem is resolved - i installed the stable firmware-amd-graphics (uninstalled the latest version) and it worked | 08:07 |
| devuanconsumer | Does anyone know how to run a #! /bin/bash script (thoughtd) on start up? I placed the script in /etc/init.d and it doesn't load automatically despite running the commands: sudo ln -s /etc/init.d/thoughtd /etc/rc5.d/S01thoughtd | 19:53 |
| drizzt | yep | 20:04 |
| drizzt | in /etc/inittab file you have a line starting with "id" (5th line usually) | 20:04 |
| drizzt | which usually states "id:2:initdefault:" | 20:05 |
| drizzt | if it has a "2", it means that your starting runlevel is runlevel 2 | 20:05 |
| drizzt | thus, you must make your link in /etc/rc2.d/ | 20:06 |
| drizzt | but that's the "manual way" | 20:07 |
| drizzt | the right way is to add the "INIT INFO" at the beginning of your script, with appropriate "Default-Start:" content | 20:08 |
| drizzt | like "# Default-Start: 2 3 4 5 | 20:08 |
| drizzt | and then run : | 20:09 |
| drizzt | update-rc.d thoughtd enable | 20:09 |
| drizzt | (or something like this, I do not remember the exact command options) | 20:10 |
| drizzt | this should create the links in the appropriate (selected) runlevels, and keep your script accross updates | 20:10 |
| devuanconsumer | my script has that "init info" and default start | 20:14 |
| devuanconsumer | so to do it the manual way i would run "sudo ln -s /etc/init.d/thoughtd /etc/rc2.d/S01thoughtd" | 20:17 |
| devuanconsumer | "update-rc.d thoughtd enable" this command doesn't work | 20:22 |
| devuanconsumer | does anyone know the correct one? | 20:22 |
| devuanconsumer | my run level is 2 | 20:22 |
| devuanconsumer | sudo ln -s /etc/init.d/thoughtd /etc/rc2.d/S01thoughtd but it didn't work | 20:22 |
| devuanconsumer | update_rc.d [name] enable [level] that enables it, and by level, they mean runlevels. | 20:27 |
| devuanconsumer | i found this on the internet but it doesn't work | 20:27 |
| devuanconsumer | i get the update.rc.d command not found | 20:27 |
| devuanconsumer | i tried "update_rc.d thoughtd enable 2" | 20:27 |
| devuanconsumer | let me know if you guys can help | 20:33 |
| nemo | https://news.ycombinator.com/item?id=41687413 | 20:55 |
| nemo | so. when I read stuff like this, I always wonder. what new challenge will devuan face as a result | 20:56 |
| fsmithred | devuanconsumer, 'update-rc.d thoughtd defaults' should work if your LSB header info is correct. You shouldn't have to make links manually. Another option is to install and run sysv-rc-conf. | 20:58 |
| Xenguy | sysv-rc-conf sounds easier; for some reason I was never able to wrap my head around update-rc.d | 21:01 |
| freem | it's not the 1st time I read about systemd folks trying to switch dbus for something else I think... was it ibus or something? But I guess ibus was missing "TCPtcp:127.0.0.1:12345hostname/IP address and port" a totally worthy feature for a PID1 | 21:02 |
| Xenguy | There used to be others too, like rcconf... huh, it's still around apparently, not sure if it still works as advertised | 21:02 |
| nemo | hm... had to reply to that thread. someone was being wrong about bigint | 21:23 |
| devuanconsumer | fsmithrd how can i check if my lsb header info is correct? any command i type with update-rc.d says it doesn't work | 22:12 |
| devuanconsumer | oh ok i will install sysv-rc-conf | 22:13 |
| fsmithred | devuanconsumer, I think you have to read it to confirm that it's correct. Is this an init script that you wrote or did it come with a package? | 22:15 |
| devuanconsumer | a professional wrote it | 22:15 |
| devuanconsumer | i will paste it here with paste.debian.net | 22:15 |
| fsmithred | doesn't work or command not found? | 22:15 |
| devuanconsumer | command not found | 22:15 |
| devuanconsumer | the script runs flawlessly i just want it to run automatically on login | 22:16 |
| fsmithred | that just means it's not in your path | 22:16 |
| fsmithred | use 'su -' to become root, not just 'su' | 22:16 |
| fsmithred | on login? | 22:16 |
| devuanconsumer | yes like if i shutdown my pc | 22:16 |
| devuanconsumer | to blow the dust and turn it on and login to my user account | 22:16 |
| devuanconsumer | i want the script to run automatically after i login to my devuan user account | 22:17 |
| fsmithred | not before login? | 22:17 |
| devuanconsumer | or however | 22:17 |
| devuanconsumer | right now i type "sudo /etc/init.d/thoughtd start " | 22:17 |
| fsmithred | you don't need an init script for stuff to start with the desktop | 22:17 |
| devuanconsumer | this is mining software | 22:17 |
| fsmithred | echo $PATH | 22:18 |
| fsmithred | you won't see /sbin or /usr/sbin I bet. | 22:18 |
| devuanconsumer | i get this: echo $PATH | 22:18 |
| devuanconsumer | oops | 22:18 |
| devuanconsumer | root@msi124:~# update-rc.d thoughtd defaults | 22:18 |
| devuanconsumer | insserv: warning: current start runlevel(s) (2) of script `thoughtd' overrides LSB defaults (2 3 4 5). | 22:18 |
| devuanconsumer | insserv: warning: current stop runlevel(s) (empty) of script `thoughtd' overrides LSB defaults (0 1 6). | 22:18 |
| fsmithred | sounds like it's wrong. I need to look at an example. brb | 22:20 |
| devuanconsumer | http://paste.debian.net/1330793/ | 22:20 |
| devuanconsumer | my run level is 2 | 22:20 |
| fsmithred | # Default-Start: 2 3 4 5 | 22:20 |
| fsmithred | # Default-Stop: 0 1 6 | 22:20 |
| devuanconsumer | so what does that mean lol | 22:21 |
| fsmithred | looks like it's right | 22:22 |
| fsmithred | I never mess with init scripts, so I don't know. sysv-rc-conf to the rescue | 22:22 |
| fsmithred | arrow keys, space bar and q | 22:23 |
| devuanconsumer | i installed sysv-rc-conf | 22:25 |
| devuanconsumer | now what? | 22:25 |
| devuanconsumer | or did the command on root work? | 22:25 |
| fsmithred | devuanconsumer, it just occurred to me that your error message may be due to the manual links you created. | 22:26 |
| fsmithred | update-rc.d will not clobber any existing links in case you customized it. | 22:26 |
| fsmithred | which you did. | 22:26 |
| devuanconsumer | sudo ln -s /etc/init.d/thoughtd /etc/rc2.d/S01thoughtd | 22:26 |
| devuanconsumer | this? | 22:26 |
| fsmithred | yeah | 22:26 |
| devuanconsumer | sudo ln -s /etc/init.d/thoughtd /etc/rc5.d/S01thoughtd | 22:26 |
| devuanconsumer | i did both of these | 22:27 |
| devuanconsumer | do i delete those files? | 22:27 |
| fsmithred | anyway, run sysv-rc-conf as root | 22:27 |
| fsmithred | and put the checks in the appropriate places | 22:27 |
| fsmithred | check=start | 22:27 |
| fsmithred | the stops are where there are no checks | 22:27 |
| fsmithred | or x's I guess | 22:27 |
| devuanconsumer | right now thoughtd has an X on 2 only | 22:28 |
| fsmithred | so it should start when system goes into runlevel 2 | 22:28 |
| fsmithred | most things in debian/devuan run 2345 | 22:28 |
| devuanconsumer | the numbers are 1 2 3 4 5 0 6 S | 22:29 |
| devuanconsumer | the last is S for stop i guess? | 22:29 |
| drizzt | devuanconsumer: did you chmod +x your script in /etc/init.d/ ? | 22:29 |
| devuanconsumer | yes | 22:29 |
| devuanconsumer | ofc | 22:29 |
| drizzt | devuanconsumer: no | 22:29 |
| drizzt | S is system start | 22:29 |
| devuanconsumer | ok | 22:29 |
| fsmithred | S for single? | 22:29 |
| drizzt | neither | 22:29 |
| devuanconsumer | so what do i select based on the scipt a programer wrote for me | 22:29 |
| devuanconsumer | http://paste.debian.net/1330793/ | 22:30 |
| devuanconsumer | I selected 2 3 4 5 ? | 22:30 |
| fsmithred | yes | 22:30 |
| devuanconsumer | what about the letter S | 22:30 |
| fsmithred | then q to quit | 22:30 |
| fsmithred | no | 22:30 |
| devuanconsumer | not S? | 22:31 |
| fsmithred | nope | 22:31 |
| devuanconsumer | do i do ctrl + s before exiting | 22:31 |
| fsmithred | that's for one-shots | 22:31 |
| devuanconsumer | ? | 22:31 |
| fsmithred | no | 22:31 |
| devuanconsumer | ok | 22:31 |
| fsmithred | q to save and quit | 22:31 |
| devuanconsumer | ok | 22:31 |
| devuanconsumer | do i uninstalle the manuatl links i made? | 22:31 |
| devuanconsumer | how do i do that? | 22:32 |
| fsmithred | I'm pretty sure they will get corrected by sysv-rc-conf | 22:32 |
| devuanconsumer | ok | 22:33 |
| devuanconsumer | so now i reboot | 22:33 |
| fsmithred | ew, maybe you should delete those | 22:33 |
| devuanconsumer | how do i delete them? | 22:33 |
| devuanconsumer | just open paths with root and delete file? | 22:33 |
| fsmithred | you have thought as S01 | 22:33 |
| fsmithred | meaning it starts before everything else. That doesn't sound right. | 22:33 |
| devuanconsumer | i followed the programmers instructions | 22:34 |
| devuanconsumer | but i should've just came here lol | 22:34 |
| devuanconsumer | he's more about systemctl | 22:34 |
| devuanconsumer | not sysv | 22:34 |
| fsmithred | rm /etc/rc2.d/S01thoughtd | 22:34 |
| fsmithred | rm /etc/rc5.d/S01thoughtd | 22:35 |
| drizzt | and same for /etc/rc5.d/S01thoughtd | 22:35 |
| fsmithred | update-rc.d thoughtd defaults (I think) | 22:35 |
| fsmithred | yeah, that should do it | 22:36 |
| fsmithred | without sysv-rc-conf | 22:36 |
| devuanconsumer | so those files don't exist | 22:37 |
| fsmithred | good | 22:37 |
| devuanconsumer | i guess when i selected the items | 22:38 |
| fsmithred | oh, ok | 22:38 |
| devuanconsumer | it deleted them | 22:38 |
| devuanconsumer | when i selected 2 3 4 5 | 22:38 |
| devuanconsumer | now i just run update-rc.d thoughtd? is this part of the whole sysv-rc-conf package | 22:38 |
| fsmithred | no | 22:38 |
| devuanconsumer | oh | 22:39 |
| fsmithred | update-rc.d is the orthodox way to do it | 22:39 |
| devuanconsumer | should i uninstall the sys-rc-conf | 22:39 |
| fsmithred | sysv-rc-conf I guess is a front-end for that | 22:39 |
| devuanconsumer | and try it like that? | 22:39 |
| fsmithred | no, you can leave it | 22:39 |
| fsmithred | are there any thoughtd links or not? | 22:39 |
| devuanconsumer | not the same ones | 22:39 |
| devuanconsumer | S02thoughtd but not S01thoughtd (the ones I added) | 22:40 |
| fsmithred | ok | 22:40 |
| devuanconsumer | let me reboot and check if it loads it atuomatically | 22:40 |
| fsmithred | ok | 22:40 |
| devuanconsumer | it didn't work | 22:43 |
| fsmithred | check dmesg and/or syslog for messages about it | 22:44 |
| drizzt | devuanconsumer: after update-rc.d call do you have a link from /etc/rc2.d/ to /etc/init.d/ ? | 22:45 |
| devuanconsumer | I see "S02thoughtd" in "rc.d" | 22:46 |
| devuanconsumer | in the folders | 22:47 |
| devuanconsumer | the syslog has nothing in it | 22:47 |
| devuanconsumer | how can i check dmesg | 22:47 |
| fsmithred | in rc2.d? | 22:47 |
| devuanconsumer | yes | 22:47 |
| fsmithred | dmesg | grep thoughtd | 22:47 |
| devuanconsumer | nothing comes up | 22:48 |
| fsmithred | I have a couple of ideas but maybe drizzt knows better. 1. remove all the links and make the defaults again. | 22:49 |
| fsmithred | 2.add set -x to the init script | 22:49 |
| devuanconsumer | wait | 22:50 |
| devuanconsumer | i think it's delayed start | 22:50 |
| devuanconsumer | let me restart | 22:50 |
| devuanconsumer | and see if it works again | 22:50 |
| devuanconsumer | it worked! | 22:52 |
| fsmithred | cool | 22:52 |
| devuanconsumer | basically it takes a bit to sync with the block chain | 22:52 |
| devuanconsumer | so its like 10 seconds | 22:52 |
| devuanconsumer | but its nice | 22:52 |
| devuanconsumer | thank you so much! | 22:52 |
| fsmithred | yw | 22:52 |
| drizzt | nice | 22:52 |
| devuanconsumer | fuck yeah | 22:52 |
| devuanconsumer | i will write the steps and dave them in a doc to reproduce on other comps! | 22:53 |
| devuanconsumer | and so i never ask again | 22:53 |
| fsmithred | a note about runlevels and sysv-rc-conf: you might want to customize something to only run in certain runlevels. | 22:53 |
| fsmithred | then you can change runlevel to activate things for specific tasks. | 22:53 |
| fsmithred | in some distros, runlevels 2 and 3 are non-graphical logins and the default is to boot to runlevel 4 to get a desktop. | 22:54 |
| devuanconsumer | ok thank you | 23:23 |
| devuanconsumer | another question: how can I get a simply script to run like thoughtd since I can't code: http://paste.debian.net/1330797/ | 23:24 |
| devuanconsumer | would i simply copy the script into /etc/init.d and repeat the syc-rc-conf steps again? | 23:25 |
| fsmithred | devuanconsumer, I would put the script in /usr/local/bin and let the desktop start it. | 23:34 |
| fsmithred | add it to the desktop startup apps somewhere in settings. | 23:35 |
| fsmithred | Session and Startup, Application Autostart (in xfce) | 23:36 |
| fsmithred | afk (outside) | 23:39 |
| devuanconsumer | ok thank you! | 23:39 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!