rwp | Xenguy, If q3 were still here I would suggestion Control-Alt-F1 (or F3 or keep trying Fx keys) until getting a vt console and then hitting Control-Alt-Delete to tell init to trigger a shutdown reboot. | 00:45 |
---|---|---|
rwp | It must be a vt console (mapped to the appropriate Fx key) which is not hosting the X session at the moment. | 00:46 |
Xenguy | rwp, TIL | 00:46 |
Xenguy | Hadn't heard of that method before | 00:47 |
Xenguy | Does that work even if you're not root? | 00:47 |
rwp | I flip between X and the vt consoles as needed. And it is easy to need to reboot. :-) | 00:47 |
rwp | Yes. Works if you are not root. Because you have physical access to the vt console. Can't be done remotely. | 00:48 |
Xenguy | Most interesting | 00:48 |
rwp | See /etc/inittab for "# What to do when CTRL-ALT-DEL is pressed." "ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now" | 00:48 |
Xenguy | In my case, I've developed a strong habit and preference for having at least 1 root terminal, usually on F6 | 00:49 |
rwp | If X is screenlocked using a screen locker that prevents it then one cannot Cntl-Alt-Fx to switch away from the locked X session. | 00:49 |
rwp | I wasn't arguing against the utility of always having a root session open. When I start tmux/screen I always start a root window in there too. For the same reasons I presume. | 00:50 |
Xenguy | /etc/inittab is the same here, good to know | 00:50 |
rwp | There is also the Magic SysRq key sequence too. (Which the systemd weenies disable, those buggers!) https://en.wikipedia.org/wiki/Magic_SysRq_key | 00:51 |
rwp | To enable all SysRq features "echo 1 >/proc/sys/kernel/sysrq" then sync "echo s >/proc/sysrq-trigger" then boot "echo b >/proc/sysrq-trigger" | 00:53 |
rwp | I have some, ahem, systemd systems that hang at shutdown and I open a root window and type in "sleep 200 && echo 1 >/proc/sys/kernel/sysrq && echo s >/proc/sysrq-trigger && echo b >/proc/sysrq-trigger" and if the shutdown hangs then the echo's activate the SysRq interface reboot which is in the kernel directly and avoids the systemd hang. | 00:55 |
critr | jack doesn't seem to work in daedalus (or mx linux) unless i'm doinf something dumb. | 01:01 |
fsmithred | Xenguy, if you're in the habit of locking your screen when away from the computer, you should test to see if you can ctrl-alt-Fx to your root console while the desktop is locked. Last time I tried, it was still possible, but that was a few years ago. | 02:00 |
onefang__ | Alas my keyboard doesn't have a SysRq key. | 02:49 |
fsmithred | mine says PrtSc (thinkpad) | 02:56 |
* golinux notes tha onefang has a tail | 03:00 | |
rwp | Note that by poking characters into /proc/sysrq-trigger as described there is no need for a keyboard key. :-) | 03:02 |
rwp | While using picocom to an actual serial console recently (in the last month!) to a headless Pi system I note it is useful to use C-\ to send a break sequence on the serial line to initiate the SysRq sequence. | 03:08 |
Xenguy | rwp, Was the hotkey inspired by screen? | 03:16 |
onefang__ | Ah coz my Internet fell over twice while I was sleeping. | 03:16 |
* onefang__ cuts off my tail. | 03:16 | |
Xenguy | fsmithred, Confirmed, I can lock my screen and then drop to a virtual console... I think that's why I used to use 'vlock' to lock my PC at the console years ago, but it's been awhile since I bothered with that | 03:17 |
critr | is anyone successfully using jackd with daedalus? | 03:19 |
onefang | Not yet, but I gotta waste time in RL finding a new home yet again before I can settle down and update to daedalus. Working fine with chimaera. | 03:21 |
onefang | Jack 1 or 2? | 03:21 |
onefang | Though right now I gotta go eat. | 03:21 |
rwp | Xenguy, The default prefix character the same as screen but other than that I don't know. | 03:22 |
rwp | I always change the escape character for all of screen, tmux, picocom, all to C-z instead. It's less in the way. | 03:22 |
rwp | picocom -fn -ez -b 115200 /dev/ttyUSB0 | 03:23 |
rwp | And note that to exit "C-z C-x exits picocom" using that -ez escape prefix setting. | 03:23 |
critr | jackd_5+nmu1_all.deb | 03:24 |
Xenguy | rwp, in screen, prefix-\ closes all windows, like :qa! in vi | 03:28 |
Xenguy | It prompts for confirmation first though, which I prefer | 03:29 |
fsmithred | critr, jack is working in daedalus here. I just tried it. | 03:39 |
fsmithred | using qjackctl and audacity | 03:39 |
critr | fsmithred: ok, thanks. i must be doing something wrong, then. | 03:41 |
fsmithred | what are you doing? | 03:42 |
fsmithred | fwiw I install qjackctl and audacity without recommends. Set audacity to use jackd. Un-check the box in qjackctl settings that says "Replace connection window with graph." | 03:43 |
critr | i'm trying to get something that uses jack to work. qjackctl gives me an error that jack isn't responding. qsynth, same. qtractor, same. | 03:43 |
fsmithred | look at the connection window and play something in audacity. Portaudio will show up. | 03:43 |
fsmithred | I did not mess with any jack settings -took defaults. | 03:44 |
fsmithred | and I'm doing this in qemu, so there's no real hardware. | 03:44 |
fsmithred | I also allowed realtime to jack when it was installed | 03:44 |
critr | yeah, weird. i did a fresh install yesterday and it didn't work. so i did another vanilla install today and it still doesn't work. i use recommends, though. | 03:45 |
critr | yeah, tried it both ways. | 03:45 |
critr | by install i mean daedalus installs. | 03:46 |
fsmithred | yeah, that's what this is. | 03:46 |
critr | ok, i'll poke around and try to find out what's up, since it's working for you. | 03:46 |
fsmithred | do you have pulseaudio installed? | 03:47 |
fsmithred | I don't have it here. | 03:47 |
fsmithred | only two libpulse things. | 03:47 |
critr | it's installed with todays install by default. yesterday i did a very minimal install so i don't think it was installed. | 03:48 |
fsmithred | I'm out of ideas. | 03:49 |
critr | ok. thanks for letting me know it's working for someone. that helps. | 03:49 |
fsmithred | try audacity, I guess | 03:50 |
critr | hm, audacity installs and plays back a file ok. | 03:53 |
onefang | I share some tmux sessions with people that are familiar with screen, so I changed my prefix to the screen one, so they are more comfy. | 03:54 |
fsmithred | critr, you set audacity to use jack? The default is for it to use alsa. | 03:58 |
critr | no, i didn't try to use it with jack... qsynth says "Qsynth1: Failed to create the audio driver (jack)." qjackctl says "Could not connect to JACK server as client, and the message window says "/usr/bin/jackd -dalsa -dhw:0" then) C"annot connect to server socket err = No such file or directory" | 04:08 |
critr | (That's immediately after "JACK is starting...") | 04:10 |
critr | but since qfackctl is working for you, i'm sure it's either my hardware of operator error. | 04:12 |
fsmithred | I don't know what that error message means. I do know that jack can be fickle. | 04:13 |
fsmithred | and sometimes stubborn. | 04:13 |
critr | heh | 04:14 |
fsmithred | sleep time here. Good luck. | 04:14 |
critr | ok, sleep well and thanks. | 04:14 |
onefang | 3 seconds? We have a new record! lol | 04:15 |
al1r4d | onefang: what? | 14:02 |
fsmithred | I think he was talking about the time between join and leave for someone right before he said that. | 14:36 |
al1r4d | Hmm, ok, fsmithred | 15:33 |
onefang | al1r4d: fsmithred is correct, fifi was only on for three seconds. | 15:47 |
onefang | And three seconds from now, I'll be in bed. G'night. | 15:47 |
fifi | damn | 15:48 |
fifi | sorry | 15:48 |
fifi | should I go | 15:48 |
onefang | Nah, I was just making a joke. | 15:48 |
fsmithred | no, you can stay | 15:48 |
fsmithred | connects and disconnects happen all the time without any user interference | 15:48 |
onefang | You are welcome here fifi. | 15:48 |
fsmithred | do not attempt to disturb the machine. It knows what is best for us. | 15:49 |
onefang | Previously there where some people that would connect, ask their question, then go away a minute later. | 15:49 |
fsmithred | that still happens occasionally. | 15:50 |
onefang | Almost midnight here, so I'm off to bed now. | 15:50 |
fsmithred | gnight | 15:50 |
rrq | fsmithred: when you made that VDI, why did it become read-only? | 15:55 |
fsmithred | rrq, I don't know | 15:56 |
fsmithred | I think I can try | 15:56 |
fsmithred | ok, can anyone tell my why I have to run vboxconfig every time I start virtualbox? | 15:58 |
fsmithred | oh, I think I turned off the service. I'm not sure which one needs to be turned on. Maybe vboxdrv? | 16:00 |
fsmithred | rrq, it won't boot today - complains of wrong permissions | 16:04 |
rrq | wrong for that VDI? or something else? | 16:05 |
fsmithred | the vdi was owned by root | 16:05 |
fsmithred | I changed it to user | 16:06 |
fsmithred | I thought I got the boot menu yesterday, but today I get the uefi interface and have to go to Boot from file and there's no file | 16:06 |
rrq | ok and that's with the VDI as "normal disk" (not cdromm)? | 16:08 |
fsmithred | and if I turn off efi in vbox, it says No bootable media | 16:08 |
fsmithred | yes, disk | 16:08 |
tom2023 | Hello . Please tell me why the sudo iwlist scan command does not work? I checked on another distro this command works .if problems with iw package ? | 16:08 |
rrq | tom2023: what does .. sudo sh -c 'echo $PATH' .. give? | 16:11 |
rrq | specifically, does it include /sbin | 16:11 |
tom2023 | rrq I have not tried, later I will do what you recommend, thanks for the advice. Please tell me how did you ping me?)) what is the command in irc ? | 16:13 |
rrq | I wrote your handle. Your client recognized it. | 16:14 |
rrq | fsmithred: thanks. seems like vbox is too "smart". | 16:15 |
fsmithred | I don't understand why it worked yesterday but not today | 16:17 |
tom2023 | <rrq> .. sudo sh -c 'echo $PATH' returned nothing ... empty ... | 16:18 |
rrq | that's odd | 16:20 |
fsmithred | why not just 'sudo echo $PATH'? | 16:20 |
rrq | because $PATH would then be evaluated before sudo | 16:20 |
rrq | .. before sudo is invoked | 16:21 |
fsmithred | rrq, if I boot the raw img file in qemu, I can 'touch testfile' if I open a shell in the installer. | 16:21 |
rrq | tom2023: how about .. sudo env ... does that include PATH ? | 16:22 |
tom2023 | < rrq >sorry i was wrong ... the output is the same as in sudo visudo | 16:22 |
rrq | and it inludes /sbin ? | 16:23 |
tom2023 | yes | 16:23 |
tom2023 | /sbin:/bin" | 16:24 |
rrq | ok; my PATH hunch was wrong ... may man page says: iwlist [interface] scanning | 16:25 |
rrq | but my "iwlist scan" also works | 16:26 |
rrq | what's the error btw? | 16:26 |
rrq | fsmithred: the installer is in RAM; the unpacked initrd. the img is a disk image with 2 partitions | 16:28 |
rrq | p1 spans the whole image and p2 is a fat within that | 16:28 |
tom2023 | rrq "command not found" | 16:28 |
fsmithred | wireless-tools is installed? | 16:29 |
tom2023 | i entered the command with interface | 16:29 |
fsmithred | tom2023, is this daedalus or chimaera? | 16:29 |
tom2023 | firmware-ath9k-htc | 16:29 |
tom2023 | yes | 16:29 |
tom2023 | chimaera | 16:29 |
fsmithred | ok, iwlist works on chimaera here | 16:30 |
rrq | "command not found" is typically a PATH problem though | 16:30 |
rrq | (or package missing) | 16:31 |
tom2023 | as I wrote, this command does not work, but this command works: sudo iw dev wlp3s0 scan | 16:31 |
rrq | the binary should be /sbin/iwlist .. different from /sbin/iw | 16:32 |
fsmithred | they come from different packages. Make sure wireless-tools package is installed | 16:32 |
tom2023 | fsmithred could you please clarify what you mean when you write installed wireless tools, you mean the package firmware-ath9k-htc ? | 16:40 |
fsmithred | dpkg -l | grep wireless | 16:42 |
fsmithred | if it does not show an installed package named wireless tools, then you need to install it. | 16:43 |
fsmithred | apt install wireless-tools | 16:43 |
fsmithred | "wireless-tools" not "wireless tools" | 16:44 |
tom2023 | fsmithred you were right, I didn't have this package, I just installed it and it worked! Thank you more for your help! And how did you know that this particular package should be installed? Have you looked at the dependencies? | 16:51 |
fsmithred | apt-file find iwlist | 16:55 |
fsmithred | tom2023, ^^^ | 16:55 |
fsmithred | first you'll need to do 'apt install apt-file && apt-file update" | 16:56 |
fsmithred | without the quotes, mis-matched or not. | 16:56 |
tom2023 | fsmithred Thank you very much for your help! I downloaded the update and saw everything! | 17:06 |
fsmithred | cool. yw. | 17:09 |
tom2023 | There is one question that I can not find an answer to, it is related to DWM For example, there is a command that I execute in the terminal sudo ./test.sh (I run the script) everything works fine, how can I do the same in dwm, how correctly should I write the command in "config.h" so that when certain keys are pressed, it works in the terminal? | 17:09 |
fsmithred | tom2023, try 'apt-file find bin/iw' | 17:09 |
fsmithred | That's the command I actually used ^^^ | 17:10 |
tom2023 | I understand, thank you very much for your helpful advice. | 17:15 |
fsmithred | bbl | 17:20 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!