unclouded | ksx4system: I use ZFS on Devuan 3, but only for backing things up, so I wouldn't notice any performance issues since backup runs at 3 am in the morning! | 07:32 |
---|---|---|
Bill_P | I'd like to be able to hibernate a Devuan PC from a user program. This is for a dedicated single-user system. | 14:37 |
Bill_P | Is there a system call that can do that? | 14:47 |
sixwheeledbeast | Debian wiki covers hibernate and it's caveats https://wiki.debian.org/Hibernation | 14:54 |
Bill_P | Hmm, most of the files they refer to don't exist on my Devuan system | 15:31 |
Bill_P | /etc/hibernate, /etc/pm/* | 15:32 |
debdog | I bet the key is logind D-Bus API Documentation[2] | 15:35 |
debdog | well | 15:36 |
gnarface | i'm not sure the debian wiki is a good place to point people for that anymore | 16:22 |
gnarface | he should have been directed to install acpid | 16:22 |
gnarface | or make sure it's there then check the docs for the old pm scripts | 16:22 |
enyc | Whats' going on towards Devuan based on debian bookworm12 ? Big dependency nightmare? Much better prepared now? etc... | 17:43 |
gnarface | seems fine right now | 17:46 |
PolaritonCondens | <enyc> "Whats' going on towards Devuan..." <- I've moved 2 systems from Chimaera to Daedalus and they were the most uneventful upgrades I've had (in about 20 years of Linux). Daedalus itself has been as stable as expected. | 17:56 |
rwp | gnarface, I fear Bill_P needed to install pm-utils (and probably also acpid) and not having pm-utils was why those commands were missing. | 18:05 |
gnarface | yea but the debian wiki doesn't mention that anymore | 18:06 |
rwp | And agreed that wiki page seems completely not useful and does not match anything I would write to help someone with hibernation and suspend. | 18:06 |
gnarface | well, the note about initrd config is still relevant | 18:06 |
gnarface | but the rest is not helpful | 18:07 |
rwp | "initrd"? I do not find that string in the wiki page anywhere. Are you talking about the RESUME partition? Yes. That's still important. | 18:07 |
rwp | I think wiki pages like that should preserve the historical information in an appendix area. So the Lenny and Jessie sections I would preserve but moved to a historical section. | 18:09 |
gnarface | initramfs | 18:09 |
rwp | Also... "apt-get install --reinstall initramfs-tools" seems like a harsh way to trigger "update-initramfs -u" too. Oh well. | 18:13 |
nemo | fsmithred_: did you say dædalus is safe to use right now? | 18:23 |
nemo | hmmm well PolaritonCondens certainly thinks so | 18:25 |
nemo | so. guess I'll try it | 18:25 |
nemo | random person on IRC said it was fine! ☺ | 18:25 |
n4dir | most of the times answering the "safe" question are relative to what exactly the user expects, needs, such. If someone wants to be sure is system works 24/7 i'd always go for stable. Though with a solid backup all you need is an hour or two hours of time to go back to "working system" | 18:27 |
nemo | n4dir: this is for a work dev VM, was getting tired of things like mercurial and nodejs and java being out of date by default. can be worked around, but I do like using package manager | 18:27 |
nemo | AFAIK they keep 3 months of daily snapshots | 18:28 |
nsklaus | i'm search which package holds the keymap for configuring tty ? on other distro it's in kbd package, devuan has it installed but when i list the content of kbd package i do not see the usual keymaps | 18:29 |
nsklaus | *i'm searching (typo) | 18:29 |
n4dir | nemo: i think i got it. All i can see (regarding debian itself) is that in those 15+ years i hardly experienced or heard about crashes regarding "testing" (or sid). They do/can happen, but most of the time they don't seem too. Anyway, just 2 cents. Good luck | 18:30 |
n4dir | all i can say, not see. dang. I seem to be really tired. | 18:30 |
nsklaus | i've also looked for console-setup and console-setup-linux, but not of them holds keymaps usualy found at /usr/share/kbd/keymaps/ on other distros | 18:30 |
nsklaus | *none of them... sorry for the bad typing skills ;) | 18:31 |
n4dir | nsklaus: perhaps console-data. | 18:31 |
nsklaus | n4dir: there's no such package installed | 18:32 |
enyc | PolaritonCondens: hrr that then raises the question if Daedalus expected to be relased along with bookworm. I NOTE the RC2 bookworm installer expected soon week or 2 | 18:33 |
nemo | nsklaus: might want to install it then ☺ | 18:33 |
enyc | when that is out might be a good time to try to make a derivative daedalus test image | 18:33 |
nsklaus | nemo: my problem is not that it isn't installed and i'm lacking correct keymap, | 18:33 |
nemo | what distro does /usr/share/kbd/keymaps ? my gentoo and debian both seem to do /usr/share/keymaps | 18:34 |
nsklaus | i already have the system working fine, and i would like to copy over the keymap being used on devuan, and transplant it on another distro | 18:34 |
nsklaus | nemo: arch linux uses /usr/share/kbd/ | 18:34 |
nsklaus | fedora uses /usr/lib/kdb/ | 18:34 |
nsklaus | i think debian use /usr/share/kbd too | 18:35 |
nemo | oh? | 18:35 |
nsklaus | not certain about that last one, that is why i said "i think" | 18:35 |
nsklaus | but the two previous ones (fedora and arch) i'm certain | 18:35 |
nsklaus | also on my devuan there's no /usr/share/keymaps | 18:37 |
nsklaus | so where are keymaps files located in devuan ? | 18:37 |
DPA | console-data contains /usr/share/keymaps/ | 18:38 |
nemo | https://superuser.com/questions/469538/where-are-the-keymaps-in-debian-using-loadkeys-to-change-keymap | 18:38 |
nemo | https://packages.debian.org/bullseye/console-data | 18:38 |
nsklaus | DPA: there must be something else, because i don't have that package installed, and my system uses the correct keymap (that cannot be a coincidence, since my laptop uses a very exotic keymap) | 18:39 |
nsklaus | i have setup that devuan laptop quite a while ago | 18:39 |
nsklaus | at the time i must have done something to set it up correctly, | 18:39 |
nsklaus | i don't remember what was it | 18:39 |
nemo | nsklaus: does it work on the console, or just in your gui? | 18:40 |
nsklaus | and now i'd like to pick and copy the keymap file used on that devuan laptop, and copy it over some other laptop with another distro in use (archà | 18:40 |
nsklaus | ) | 18:40 |
nsklaus | nemo: all this keymap talk is about tty, no graphical env at all, plain term at login | 18:41 |
nsklaus | that is what i'm interested at copying the keymap for tty of devuan and copy it over to some other distro for testing | 18:41 |
nemo | ok. just checking... trying to imagine where else a keymap might be. | 18:42 |
nemo | i.e. some gnome magic | 18:42 |
nemo | hm. I wonder if there's a ~/.local override | 18:42 |
nemo | like ~/.local/share/keymaps or something | 18:42 |
nsklaus | cannot be, i hate gnome, the install system is minimal, and i haven't started any X session or nothing like that, it's plain tty session | 18:42 |
nsklaus | ~/.local/ could be an idea i look | 18:43 |
nsklaus | no, nothing keymap related there either | 18:43 |
fsmithred_ | the package you reconfigure to change the keyboard is called keyboard-configuration | 18:45 |
nemo | nsklaus: locate turns up a keymap under /etc/console-setup/ I don't know what it does | 18:45 |
nemo | perhaps it's part of the installer? | 18:46 |
fsmithred_ | Depends: liblocale-gettext-perl | 18:46 |
nsklaus | i have some keyboard related stuff in /etc/console-setup, but it's not the real keymap files, they are not in gz format, they are plain text .inc (keymap includes) | 18:47 |
nemo | kay. I have one called cached_UTF-8_del.kmap.gz | 18:48 |
nsklaus | i wonder how i did configure my keymap when i install that devuan, that must have been 1 year ago or something like that | 18:48 |
fsmithred_ | console-data provides those .gz files | 18:49 |
nemo | fsmithred_: ahhh. heh | 18:49 |
nsklaus | nemo: yes i have that too, but it look like something dynamicaly setup | 18:49 |
nsklaus | i was after the plain key.map.gz file | 18:49 |
fsmithred_ | locate and apt-file don't find key.map.gz | 18:50 |
nsklaus | fsmithred_: how is it possible that my devuan install have the correct keymap, while not having that package console-data installed at all ? | 18:50 |
fsmithred_ | maybe in the gettext libs? | 18:50 |
fsmithred_ | that's a guess | 18:51 |
nsklaus | "key.map.gz" was a an example, that keymap file i'm after , on other distro it's named : "fr-mac.map.gz" or "mac-fr-ext.map.gz" | 18:51 |
nsklaus | i have an azerty keyboard on a macbook pro machine, so yes it's a bit exotic | 18:52 |
n4dir | locate map.gz doesn't give output here either (minus the example "key") | 18:52 |
nsklaus | no chance devuan would have picked that up on its own during install and automaticaly set it up correctly. | 18:52 |
fsmithred_ | console-data: /usr/share/keymaps/i386/azerty/mac-usb-fr.kmap.gz | 18:53 |
nsklaus | find /usr/ -iname "*map.gz*" return only two results, unrelated javascript stuff | 18:54 |
nsklaus | fsmithred_: yes but how to explain it is correctly setup, and console-data package is not installed ? | 18:54 |
fsmithred_ | I don't know. | 18:55 |
nemo | I find it way easier to just type french using the digraph system than learn new mappings, so I guess I've pretty much no customising familiariy apart from changing the odd key bind | 18:55 |
n4dir | might be you copied it around on your own? | 18:55 |
nsklaus | when devuan boots, where does it pickup the correct keymap to load, if console-data is not even installed ? | 18:55 |
nsklaus | n4dir: that might be a possibility | 18:55 |
nsklaus | where in devuan is specified the keymap to use in tty ? (there's no /etc/vconsole.conf and no /etc/locale.conf | 18:56 |
nsklaus | ) | 18:56 |
n4dir | from what i understand you need that map.gz file to copy it on another system? Couldn't you then simply install console-data and use the provided file that way? | 18:57 |
nsklaus | my devuan machine, just booted, keymap is correct, and i have no console-data package. | 18:57 |
fsmithred_ | there's /etc/default/keyboard for the layout and /etc/default/console-setup for the font | 18:58 |
nsklaus | i want this specific keymap that allowed my machine to boot with correct keymap | 18:58 |
fsmithred_ | what's it say in /etc/default/keyboard? | 18:59 |
nsklaus | fsmithred_: yes, that file : /etc/default/keyboard, i see this is where i have configured my keyboard for tty | 18:59 |
nsklaus | thank you for helping me about that point | 19:00 |
nsklaus | in that file i have set it like that: | 19:00 |
fsmithred_ | yw. Both of those files come from console-setup | 19:00 |
nemo | oh... shoot. kinda assumed you knew that was there ☺ | 19:00 |
nsklaus | xkblayout="fr" xkbvariant="mac" | 19:00 |
fsmithred_ | ok, so that probably got set during install | 19:01 |
fsmithred_ | language, keyboard and time zone get set early in the install. | 19:01 |
nemo | the other thing that confuses me is I thought xkb was an X11 module... so how does it work on the console? | 19:01 |
nsklaus | so, these values, do manage to pull a keymap somewhere on the system, and have proper keyboard support. the question is: where is located that magical keymap ? :) | 19:01 |
nemo | nsklaus: well, the config file says to read man keyboard which is indeed very informative ☺ | 19:02 |
nemo | but... I still thought this was all "x" | 19:02 |
nemo | which was why I was wondering about your gui. | 19:02 |
nemo | not console | 19:02 |
fsmithred_ | locate kmap.gz | 19:02 |
fsmithred_ | ^^^ maybe run that | 19:02 |
nsklaus | i may be wrong in assuming that this was where i did setup tty keymap, maybe that file is just for X, in that case it's not what i'm searching for | 19:02 |
nemo | the FILES section of man page has some paths | 19:02 |
fsmithred_ | man keyboard is from console-setup | 19:03 |
nsklaus | fsmithred_: i don't have locate, and earlier i did "find /usr/ -iname "*map.gz*" which should provide what locate would have | 19:03 |
fsmithred_ | yeah, unless it got put someplace else. | 19:03 |
nsklaus | i can do / instead of /usr/ | 19:04 |
nsklaus | let me see | 19:04 |
fsmithred_ | got anything in /etc/console/ or /etc/console-setup? | 19:05 |
nsklaus | yes, on the whole system i only have 3 match for "find / -iname "*map.gz*" | 19:05 |
nsklaus | two are unrelated javascript stuff, and one is that /etc/console-setup/cached_UTF-8_del.kmap.gz | 19:06 |
nsklaus | maybe there was some option at install to pick up a keymap, and that resulted in this unique file | 19:07 |
nsklaus | and the system uses it, and somehow it all works without having even console-data installed ... would that make sense ? | 19:08 |
fsmithred_ | yes, I think so | 19:08 |
n4dir | little joke: nothing makes any sense regarding the keyboard to me. And in debian(based) it seems even more confusing than on other distros. | 19:09 |
nsklaus | fsmithred_: ok, thank you for telling | 19:11 |
nsklaus | i'll try working with that file | 19:11 |
fsmithred_ | do you need to change it? Is there some reason you can't install console-data? | 19:13 |
nsklaus | fsmithred_: it's not that i cannot install console-data, it's that i wanted that specific running keymap | 19:18 |
nsklaus | not install a package and hope i'll find the correct keymap in it, but grab the current running one, since it works well | 19:18 |
nsklaus | fsmithred_: from what i understand, kbd have a problem with macbook keyboards, they are all broken mac-fr, mac-de, mac-us .. | 19:19 |
nsklaus | some distro worked around that, and some other did not | 19:19 |
nsklaus | arch did not | 19:20 |
nsklaus | fedora, suse, devuan, have the correct tty keymap for example | 19:20 |
nsklaus | and arch do not | 19:20 |
nsklaus | so i'm trying to get a working copy, and keep it around, eventualy paste it over when testing distro and that they happen to have a broken one | 19:21 |
rwp | nsklaus, I also have /etc/console/boottime.kmap.gz too. Regardless you should be able to save the active keymap with "dumpkeys --full-table". | 20:09 |
rwp | I do this hack where I run that through sed and modify the existing keymap for my preferences and then pipe the result to loadkeys -q. | 20:10 |
rwp | Easier for me to modify the existing one on various systems than to keep a unique static one for each system. Keyboards being different on different systems. | 20:11 |
nsklaus | thank you for these infos rwp, i didn't how dumpkeys, that's interesting | 20:25 |
rwp | nsklaus, I set a custom keymap for me moving capslock, control, and escape with this: dumpkeys --full-table | sed -n '/^keycode *29/p;/^keycode *58/p' | sed '/^keycode *29/s/Control/Escape/g;/^keycode *58/s/CtrlL_Lock/Control/g' | loadkeys -q | 21:38 |
rwp | That changes the current keymap, whatever that happens to be on that system at boot, on the fly with sed, and then loads it. | 21:39 |
rwp | I do this in /etc/rc.local (or equiv /etc/boot.d/*) as a local customization. | 21:40 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!