I solved the issue. The root cause was the autodetect hook was running before the keyboard hook, and apparently when the image was made with mkinitcpio there must have been an external keyboard plugged in. Despite it not being present, it was loading that keyboard to use before it got to the keyboard hook, thus not detecting and using the built-in keyboard.
The fix was to edit /etc/mkinitcpio.conf and put keyboard in front of autodetect in the HOOKS=() section, then run # mkinitcpio -p linux
I feel like this should be the default, or perhaps there's a reason it wouldn't be?
I solved the issue. The root cause was the autodetect hook was running before the keyboard hook, and apparently when the image was made with mkinitcpio there must have been an external keyboard plugged in. Despite it not being present, it was loading that keyboard to use before it got to the keyboard hook, thus not detecting and using the built-in keyboard.
The fix was to edit /etc/mkinitcpio.conf and put keyboard in front of autodetect in the HOOKS=() section, then run # mkinitcpio -p linux
I feel like this should be the default, or perhaps there's a reason it wouldn't be?
I solved the issue. The root cause was the autodetect hook was running before the keyboard hook, and apparently when the image was made with mkinitcpio there must have been an external keyboard plugged in. Despite it not being present, it was loading that keyboard to use before it got to the keyboard hook, thus not detecting and using the built-in keyboard.
The fix was to edit /etc/mkinitcpio.conf and put keyboard in front of autodetect in the HOOKS=() section, then run # mkinitcpio -p linux
I feel like this should be the default, or perhaps there's a reason it wouldn't be?
Thank you; the main problem with this for today is I didn't send a boot usb with her, and I don't think she'll be able to make one there. I am using ext4, so I have a feeling the issue is related either to keyboard hardware or a driver somewhere, but I will definitely give this a try if it isn't working by the time she gets back.
The cursor still blinks, so I don't think its frozen. Is there a way to access the recovery kernel from systemd-boot without setting it up as a boot option first? Currently I can't even find a way to access a CLI
You can build it yourself pretty easily [edit: looks like others beat me to it but I'm leaving this up in case someone happens across it and finds it useful]
I had a lot of fun building an ISO today, one question I have is is there an easy way to pacstrap or otherwise install all of the programs from the iso itself? Would save some download time and I already made a list of the programs I'd want on the base system.
EDIT: Found the answer # pacman -S --needed - < pkglist.txt
Kde is very snappy on my non-nvidia computers but I have to change the compositor to prefer smoother on the Nvidia computers I manage (using free driver).
No idea about the reboot thing. Did you run sudo reboot?
EDIT: I figured it out. If you send a message via command line and just save a blank email (vim being the editor), it apparently cancels sending the message. Once I typed out something for the body it worked.
Also you can echo "" | mutt -s "subject" recipient@blah.com
I'm not an expert but if I'm understanding your question correctly, yes you can resize a BTRFS partition. You can even resize it while online. I do not know exactly how this interacts with LVM, though
Okay, thank you. I have done that and the services are starting successfully, however they don't seem to actually do anything. Do I have my syntax right on trying to call a bash program and everything?
EDIT: I ran systemctl --type=service and my suspend.service is loaded but failed in active and sub
I've also tried it with suspend.target instead. I've removed the Environment line and changed it to Type=simple to match other things I've found but in every case it still fails in active and sub
Then, following this I restarted the daemon and tried to start the services. I got an error so I looked further and saw this in the wiki:
"Then enable and instance of this template by specifying the basename of an existing systemd service after the @ i.e. sleep@service-file-basename.service"
But I don't really know what basename service I should be @'ing. I tried sudo systemctl start suspend@sleep.service but got the following error:
Job for suspend@sleep.service failed because the control process exited with an error code.
Thank you, if I'm following correctly, I'll make the suspend@.service and resume@.service files, copy those templates (inserting my nordvpn c and nordvpn d in place of the ExecStartPre commands, right?), then enable and start the services with systemctl?
Do I need to have the ExecStart and ExecStartPost in there? Or does using this bypass the existing suspend routine?
I solved the issue. The root cause was the autodetect hook was running before the keyboard hook, and apparently when the image was made with mkinitcpio there must have been an external keyboard plugged in. Despite it not being present, it was loading that keyboard to use before it got to the keyboard hook, thus not detecting and using the built-in keyboard.
The fix was to edit /etc/mkinitcpio.conf and put keyboard in front of autodetect in the HOOKS=() section, then run # mkinitcpio -p linux
I feel like this should be the default, or perhaps there's a reason it wouldn't be?
I solved the issue. The root cause was the autodetect hook was running before the keyboard hook, and apparently when the image was made with mkinitcpio there must have been an external keyboard plugged in. Despite it not being present, it was loading that keyboard to use before it got to the keyboard hook, thus not detecting and using the built-in keyboard.
The fix was to edit /etc/mkinitcpio.conf and put keyboard in front of autodetect in the HOOKS=() section, then run # mkinitcpio -p linux
I feel like this should be the default, or perhaps there's a reason it wouldn't be?
I solved the issue. The root cause was the autodetect hook was running before the keyboard hook, and apparently when the image was made with mkinitcpio there must have been an external keyboard plugged in. Despite it not being present, it was loading that keyboard to use before it got to the keyboard hook, thus not detecting and using the built-in keyboard.
The fix was to edit /etc/mkinitcpio.conf and put keyboard in front of autodetect in the HOOKS=() section, then run # mkinitcpio -p linux
I feel like this should be the default, or perhaps there's a reason it wouldn't be?
Thank you; the main problem with this for today is I didn't send a boot usb with her, and I don't think she'll be able to make one there. I am using ext4, so I have a feeling the issue is related either to keyboard hardware or a driver somewhere, but I will definitely give this a try if it isn't working by the time she gets back.
The cursor still blinks, so I don't think its frozen. Is there a way to access the recovery kernel from systemd-boot without setting it up as a boot option first? Currently I can't even find a way to access a CLI
Yep!
Same question
Okay, thank you. Just did so based on the existing .conf, it was easier than I thought it would be.
Ah, yeah, I missed that. Also should have noticed that the /path/to/profile/ ends in a /
Sometimes we see what we want to see. Thank you.
You can build it yourself pretty easily [edit: looks like others beat me to it but I'm leaving this up in case someone happens across it and finds it useful]
https://www.reddit.com/r/ManjaroLinux/comments/i4xs89/comment/ibp8u1g/?utm_source=share&utm_medium=web2x&context=3
I had a lot of fun building an ISO today, one question I have is is there an easy way to pacstrap or otherwise install all of the programs from the iso itself? Would save some download time and I already made a list of the programs I'd want on the base system.
EDIT: Found the answer
# pacman -S --needed - < pkglist.txtYep, I was wrong
Based on other replies it sounds like Nvidia drivers are your issue, but out of curiosity does reboot without sudo work on gnome?
Kde is very snappy on my non-nvidia computers but I have to change the compositor to prefer smoother on the Nvidia computers I manage (using free driver).
No idea about the reboot thing. Did you run sudo reboot?
Could be related to Nvidia gpu, but also gnome has become... slow. Try kde
That's an interesting idea, so I could install it onto external media, no need for a desktop environment, and boot to that.
I assume I'd need to do it with a boot partition and bootloader, same as a normal install?
Seems a little overkill for the tweaks I want to make, HOWEVER it also looks like fun to dig into. Thank you.
Yeah, I initially had that (straight from the wiki) but then I realized it was dumb and changed it to
smtps://myemailaddress@smtp.gmail.com
but that still isn't working
EDIT: I figured it out. If you send a message via command line and just save a blank email (vim being the editor), it apparently cancels sending the message. Once I typed out something for the body it worked.
Also you can
echo "" | mutt -s "subject" recipient@blah.comThank you... if I'm reading that correctly then all I should need to do is add:
right?
I've tried that and it is still not working. I also tried
set smtp_url = smtps://myemailaddress@smtp.gmail.combut still no dice.Freaking hero
I'm not an expert but if I'm understanding your question correctly, yes you can resize a BTRFS partition. You can even resize it while online. I do not know exactly how this interacts with LVM, though
Okay, thank you. I have done that and the services are starting successfully, however they don't seem to actually do anything. Do I have my syntax right on trying to call a bash program and everything?
EDIT: I ran systemctl --type=service and my suspend.service is loaded but failed in active and sub
This is what is in suspend.service
I've also tried it with suspend.target instead. I've removed the Environment line and changed it to Type=simple to match other things I've found but in every case it still fails in active and sub
Another user linked something similar but I can't get it to work, I replied with details to their post above
I'm trying to get it to work with what you linked but I don't think I'm understanding completely. I created two files:
/etc/systemd/system/suspend@.service
Then, following this I restarted the daemon and tried to start the services. I got an error so I looked further and saw this in the wiki:
"Then enable and instance of this template by specifying the basename of an existing systemd service after the @ i.e. sleep@service-file-basename.service"
But I don't really know what basename service I should be @'ing. I tried
sudo systemctl start suspend@sleep.servicebut got the following error:Job for suspend@sleep.service failed because the control process exited with an error code.
So I'm not really sure where to go from here.
Thank you, if I'm following correctly, I'll make the suspend@.service and resume@.service files, copy those templates (inserting my nordvpn c and nordvpn d in place of the ExecStartPre commands, right?), then enable and start the services with systemctl?
Do I need to have the ExecStart and ExecStartPost in there? Or does using this bypass the existing suspend routine?