Hi gys, I'm running F38 with *Gnome/X-Wayland*, and in my environment I do not need (hate it) the *Caps Lock* key.Question: How to realize the disabling system wide, and how to get it working again? Regards Joachim Backes
On Tue, 2023-08-01 at 21:30 +0200, Joachim Backes wrote:
I'm running F38 with Gnome/X-Wayland, and in my environment I do not need (hate it) the Caps Lock key. Question: How to realize the disabling system wide, and how to get it working again?
Aren't there options for that in the keyboard preferences any more? Is gnome tweaks still around, does that offer anything?
Is there anything useful in here: https://bbs.archlinux.org/viewtopic.php?id=284240
There's the brute force and ignorance method that many businesses do: pop the keycap off
The less ugly solution: slide some hard spaghetti under it so it won't press down. Cut to the right length, they're not visible.
I've soldered buzzers across my caps lock lights (previously I replaced the LEDs with super high brightness ones). I can still use caps lock, but I'm instantly warned that I've pressed the thing. And being built into the keyboard, it always works. Yes, I know there's OS ways of making it play an alert when caps lock is pressed (in disability support), however the sound system doesn't come to life quick enough to play the sound (and you have to have speakers). I hate pulseaudio's muting, likewise with its newer replacement, pipewire. There used to be a way to make the motherboard beeper fire off.
On Wed, 02 Aug 2023 13:11:07 +0930 Tim via users wrote:
Aren't there options for that in the keyboard preferences any more? Is gnome tweaks still around, does that offer anything?
As near as I can tell (the last time I looked, anyway), wayland has completely eviscerated all the ability to tweak keys and mouse buttons. For my mouse, I implemented a hardware solution (which should work for keyboards as well with additional microcode):
https://tomhorsley.com/hardware/mouse-tailor/mouse-tailor.html
:-).
Hello Tom,
On Wed, 2 Aug 2023 09:35:29 -0400 Tom Horsley horsley1953@gmail.com wrote:
On Wed, 02 Aug 2023 13:11:07 +0930 Tim via users wrote:
Aren't there options for that in the keyboard preferences any more? Is gnome tweaks still around, does that offer anything?
As near as I can tell (the last time I looked, anyway), wayland has completely eviscerated all the ability to tweak keys and mouse buttons. For my mouse, I implemented a hardware solution (which should work for keyboards as well with additional microcode):
https://tomhorsley.com/hardware/mouse-tailor/mouse-tailor.html
:-).
Just curious, does this mean that xbindkeys wouldn't work in wayland?
Regards,
On Fri, Aug 4, 2023 at 4:28 AM wwp subscript@free.fr wrote:
Hello Tom,
On Wed, 2 Aug 2023 09:35:29 -0400 Tom Horsley horsley1953@gmail.com wrote:
On Wed, 02 Aug 2023 13:11:07 +0930 Tim via users wrote:
Aren't there options for that in the keyboard preferences any more? Is gnome tweaks still around, does that offer anything?
As near as I can tell (the last time I looked, anyway), wayland has completely eviscerated all the ability to tweak keys and mouse buttons. For my mouse, I implemented a hardware solution (which should work for keyboards as well with additional microcode):
https://tomhorsley.com/hardware/mouse-tailor/mouse-tailor.html
:-).
Just curious, does this mean that xbindkeys wouldn't work in wayland?
Regards,
I'm typing this on kde/wayland with caps lock as an alternate control, so
it is more than possible. *Those who don't understand recursion are doomed to repeat it*
Joachim Backes composed on 2023-08-01 21:30 (UTC+0200):
Hi gys, I'm running F38 with *Gnome/X-Wayland*, and in my environment I do not need (hate it) the *Caps Lock* key.Question: How to realize the disabling system wide, and how to get it working again?
Whether that's possible or not I have no idea. I had the same problem with scroll lock, but with a keycap puller I pulled the cap and found something soft to stuff under it that makes it hard to push all the way down. Now I can use it if I need to, but it doesn't happen by accident any more.
On Tue, Aug 1, 2023 at 3:31 PM Joachim Backes joachim.backes@rptu.de wrote:
I'm running F38 with Gnome/X-Wayland, and in my environment I do not need (hate it) the Caps Lock key. Question: How to realize the disabling system wide, and how to get it working again?
Maybe xmodmap? Something like https://superuser.com/a/775811 ?
But beware of ibus, like https://unix.stackexchange.com/q/528854 .
Jeff
On 2 Aug 2023, at 08:32, Jeffrey Walton noloader@gmail.com wrote:
Maybe xmodmap? Something like https://superuser.com/a/775811 ?
That was the goto solution, but with wayland that will not work as it is X11 specific.
Barry
Gnome tweaks has a simple solution to this.
Install Tweaks through "Software" or dnf install gnome-tweaks
Run Tweaks and go to the "Keyboard and Mouse" section. The 4th option down is an "Additional Layout options" button. There are many things you can remap the CapsLock key to, like Esc, ctrl, or my preference a Super key, since I usually use an IBM model M keyboard which does not have one.
No need to revert back to X11, or any kind of hardware solution.
On Tue, Aug 1, 2023 at 3:31 PM Joachim Backes joachim.backes@rptu.de wrote:
Hi gys, I'm running F38 with *Gnome/X-Wayland*, and in my environment I do not need (hate it) the *Caps Lock* key.Question: How to realize the disabling system wide, and how to get it working again?
Regards
Joachim Backes
--
Fedora release 38 (Thirty Eight) 6.4.7-200.fc38.x86_64
Joachim Backes joachim.backes@rhrk.uni-kl.de joachim.backes@rhrk.uni-kl.dehttps://www-user.rhrk.uni-kl.de/~backes/
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Hello,
I had that issue recently, the way I sorted it was with gsettings/dconf:
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"
I suspect this is what gnome-tweaks does. Actually as far as I know, Wayland still sources xkb files, it's not very much documented but I recall having found a few places suggesting that (I use stock F38 with Gnome and Wayland).
And thus see: man xkeyboard-config for a list of options which can be set, which is a bit wider than what gnome-tweaks propose.
On Wed, 2 Aug 2023, at 15:56, murph nj wrote:
Gnome tweaks has a simple solution to this.
Install Tweaks through "Software" or dnf install gnome-tweaks
Run Tweaks and go to the "Keyboard and Mouse" section. The 4th option down is an "Additional Layout options" button. There are many things you can remap the CapsLock key to, like Esc, ctrl, or my preference a Super key, since I usually use an IBM model M keyboard which does not have one.
No need to revert back to X11, or any kind of hardware solution.
On Tue, Aug 1, 2023 at 3:31 PM Joachim Backes joachim.backes@rptu.de wrote:
Hi gys, I'm running F38 with *Gnome/X-Wayland*, and in my environment I do not need (hate it) the *Caps Lock* key.Question: How to realize the disabling system wide, and how to get it working again?
Regards
Joachim Backes
--
Fedora release 38 (Thirty Eight) 6.4.7-200.fc38.x86_64
Joachim Backes joachim.backes@rhrk.uni-kl.de joachim.backes@rhrk.uni-kl.dehttps://www-user.rhrk.uni-kl.de/~backes/
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On 8/2/2023 10:42 AM, Thomas wrote:
Hello,
I had that issue recently, the way I sorted it was with gsettings/dconf:
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"
I suspect this is what gnome-tweaks does. Actually as far as I know, Wayland still sources xkb files, it's not very much documented but I recall having found a few places suggesting that (I use stock F38 with Gnome and Wayland).
And thus see: man xkeyboard-config for a list of options which can be set, which is a bit wider than what gnome-tweaks propose.
On Wed, 2 Aug 2023, at 15:56, murph nj wrote:
Gnome tweaks has a simple solution to this.
Install Tweaks through "Software" or dnf install gnome-tweaks
Run Tweaks and go to the "Keyboard and Mouse" section. The 4th option down is an "Additional Layout options" button. There are many things you can remap the CapsLock key to, like Esc, ctrl, or my preference a Super key, since I usually use an IBM model M keyboard which does not have one.
No need to revert back to X11, or any kind of hardware solution.
On Tue, Aug 1, 2023 at 3:31 PM Joachim Backes joachim.backes@rptu.de wrote:
Hi gys, I'm running F38 with *Gnome/X-Wayland*, and in my environment I do not need (hate it) the *Caps Lock* key.Question: How to realize the disabling system wide, and how to get it working again?
Regards
Joachim Backes
--
Fedora release 38 (Thirty Eight) 6.4.7-200.fc38.x86_64
Joachim Backes joachim.backes@rhrk.uni-kl.de joachim.backes@rhrk.uni-kl.dehttps://www-user.rhrk.uni-kl.de/~backes/
(hmmm, much top-posting up there)
Since nobody else has mentioned this (apologies if this does not address your needs, and you *really* hate the presence of the Caps-Lock key), but most motherboard BIOS's have a setting for startup "numlock state". I always set mine to "Disabled" and it keeps the unwanted Caps keys away unless/until I explicitly (temporarily) enable them by hitting the Caps-Lock key.
ron
#!/bin/sh setxkbmap -option caps:ctrl_modifier
On Wed, Aug 2, 2023 at 4:16 PM Ron Flory via users < users@lists.fedoraproject.org> wrote:
On 8/2/2023 10:42 AM, Thomas wrote:
Hello,
I had that issue recently, the way I sorted it was with gsettings/dconf:
gsettings set org.gnome.desktop.input-sources xkb-options
"['ctrl:nocaps']"
I suspect this is what gnome-tweaks does. Actually as far as I know,
Wayland still sources xkb files, it's not very much documented but I recall having found a few places suggesting that (I use stock F38 with Gnome and Wayland).
And thus see: man xkeyboard-config for a list of options which can be
set, which is a bit wider than what gnome-tweaks propose.
On Wed, 2 Aug 2023, at 15:56, murph nj wrote:
Gnome tweaks has a simple solution to this.
Install Tweaks through "Software" or dnf install gnome-tweaks
Run Tweaks and go to the "Keyboard and Mouse" section. The 4th option down is an "Additional Layout options" button. There are many things you can remap the CapsLock key to, like Esc,
ctrl, or
my preference a Super key, since I usually use an IBM model M keyboard which does not have one.
No need to revert back to X11, or any kind of hardware solution.
On Tue, Aug 1, 2023 at 3:31 PM Joachim Backes joachim.backes@rptu.de wrote:
Hi gys, I'm running F38 with *Gnome/X-Wayland*, and in my environment I do not
need (hate it) the *Caps Lock* key.Question: How to realize the disabling system wide, and how to get it working again?
Regards
Joachim Backes
--
Fedora release 38 (Thirty Eight) 6.4.7-200.fc38.x86_64
Joachim Backes joachim.backes@rhrk.uni-kl.de <
joachim.backes@rhrk.uni-kl.de>https://www-user.rhrk.uni-kl.de/~backes/
(hmmm, much top-posting up there)
Since nobody else has mentioned this (apologies if this does not address your needs, and you *really* hate the presence of the Caps-Lock key), but most motherboard BIOS's have a setting for startup "numlock state". I always set mine to "Disabled" and it keeps the unwanted Caps keys away unless/until I explicitly (temporarily) enable them by hitting the Caps-Lock key.
ron
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Wed, 2023-08-02 at 15:16 -0500, Ron Flory via users wrote:
Since nobody else has mentioned this (apologies if this does not address your needs, and you *really* hate the presence of the Caps-Lock key), but most motherboard BIOS's have a setting for startup "numlock state". I always set mine to "Disabled" and it keeps the unwanted Caps keys away unless/until I explicitly (temporarily) enable them by hitting the Caps-Lock key.
I've never seen any BIOS have any effect on the CAPS LOCK key.
Repeated tries at sending a message... I had a "dnf update" interrupted. Sent original help message on 08/02/2023. I've managed to fix my system. Would like to share what I had to do. I appears the interruption occurred while removing the oldest kernel (only partially removed leading to lots of conflicts and duplicate packages). Thanks.
Just today I upgraded from 39 to 40 but there was an issue: dnf told me I needed some 800k more space in my /boot partition to proceed. I had two kernels in /boot so I dnf removed those associated with the older of the two kernels. I then successfully upgraded. I fear the next time I do a dnf update which includes a new kernel I will be told, again, that there is not enough space in my /boot partition.
So, how can I increase the size of the /boot partition? Many partitions, like /tmp, are bigger than they need to be.
Here is what how the /sda disk is organized. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 223.6G 0 disk ├─sda1 8:1 0 250M 0 part /boot ├─sda2 8:2 0 105.5G 0 part │ └─luks-a2ebb2b0-527d-47f3-83ef-e5908805f31d │ 253:3 0 105.5G 0 crypt /ssd ├─sda3 8:3 0 97.7G 0 part │ └─luks-35719a97-5898-4420-9a56-1576ffdc6db3 │ 253:1 0 97.7G 0 crypt / ├─sda4 8:4 0 1K 0 part ├─sda5 8:5 0 9.8G 0 part │ └─luks-5ee2ed8e-4bdf-43e1-adb0-34a70610a77f │ 253:2 0 9.8G 0 crypt /tmp └─sda6 8:6 0 9.8G 0 part └─luks-03c06df8-f9b9-4f0d-847e-79a7ed527888 253:0 0 9.8G 0 crypt [SWAP]
$ df -h Filesystem Size Used Avail Use% Mounted on /dev/dm-1 96G 22G 70G 25% / devtmpfs 4.0M 0 4.0M 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 6.3G 1.8M 6.3G 1% /run /dev/sda1 237M 179M 42M 82% /boot /dev/dm-2 9.5G 260K 9.0G 1% /tmp /dev/dm-3 104G 193M 99G 1% /ssd /dev/dm-4 1.9T 1.2T 630G 66% /home /dev/dm-5 1.7T 903G 736G 56% /data1 /dev/dm-6 20G 12G 6.9G 63% /var tmpfs 3.2G 152K 3.2G 1% /run/user/1000
Thanks for any help give.
I realize one way is to backup /home and then reinstall Fedora but 1) that seems like a lot of work and 2) it would mean that the machine in question would then have to use Wayland rather than Xorg.
Richard
On Fri, May 3, 2024 at 1:52 PM richard emberson emberson.rich@gmail.com wrote:
Just today I upgraded from 39 to 40 but there was an issue: dnf told me I needed some 800k more space in my /boot partition to proceed. I had two kernels in /boot so I dnf removed those associated with the older of the two kernels. I then successfully upgraded. I fear the next time I do a dnf update which includes a new kernel I will be told, again, that there is not enough space in my /boot partition.
I recently had to resize my /boot. The original install was several Fedora versions back was 500MB, and more recent installs are 1GB.
What I did was backup my file systems to an external USB drive, boot off the netinstall ISO, re-partition, re-mkfs, restore, then go through all the UUID hassles recently documented in another thread. If you have a sufficient drive to use for backups this may be the easiest solution - it is probably the safest.
You are using LUKS which may complicate things.....
On 03/05/2024 18:52, richard emberson wrote:
Just today I upgraded from 39 to 40 but there was an issue: dnf told me I needed some 800k more space in my /boot partition to proceed. I had two kernels in /boot so I dnf removed those associated with the older of the two kernels. I then successfully upgraded. I fear the next time I do a dnf update which includes a new kernel I will be told, again, that there is not enough space in my /boot partition.
So, how can I increase the size of the /boot partition? Many partitions, like /tmp, are bigger than they need to be.
Here is what how the /sda disk is organized. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 223.6G 0 disk ├─sda1 8:1 0 250M 0 part /boot ├─sda2 8:2 0 105.5G 0 part │ └─luks-a2ebb2b0-527d-47f3-83ef-e5908805f31d │ 253:3 0 105.5G 0 crypt /ssd ├─sda3 8:3 0 97.7G 0 part │ └─luks-35719a97-5898-4420-9a56-1576ffdc6db3 │ 253:1 0 97.7G 0 crypt / ├─sda4 8:4 0 1K 0 part ├─sda5 8:5 0 9.8G 0 part │ └─luks-5ee2ed8e-4bdf-43e1-adb0-34a70610a77f │ 253:2 0 9.8G 0 crypt /tmp └─sda6 8:6 0 9.8G 0 part └─luks-03c06df8-f9b9-4f0d-847e-79a7ed527888 253:0 0 9.8G 0 crypt [SWAP]
$ df -h Filesystem Size Used Avail Use% Mounted on /dev/dm-1 96G 22G 70G 25% / devtmpfs 4.0M 0 4.0M 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 6.3G 1.8M 6.3G 1% /run /dev/sda1 237M 179M 42M 82% /boot /dev/dm-2 9.5G 260K 9.0G 1% /tmp /dev/dm-3 104G 193M 99G 1% /ssd /dev/dm-4 1.9T 1.2T 630G 66% /home /dev/dm-5 1.7T 903G 736G 56% /data1 /dev/dm-6 20G 12G 6.9G 63% /var tmpfs 3.2G 152K 3.2G 1% /run/user/1000
Thanks for any help give.
I realize one way is to backup /home and then reinstall Fedora but
- that seems like a lot of work and
- it would mean that the machine in question would then have to
use Wayland rather than Xorg.
Richard
This isn't a direct reply to your question: IIUC you need to run a 'live' image to do that.
But I installed f40 a few days ago, and today "dnf upgrade" installed kernel-6.8.8 but *not* vmlinuz-6.8.8, so booting failed.
My /boot partition is 450 GB, and I now have two bootable f40 kernels and a recent rescue kernel. There's no room for another. You probably don't have a "recovery" option.
I now have "installonly_limit=2" in /etc/dnf/dnf.conf, but a new "dnf upgrade" after that said there was "nothing to do". What did work was ( while running 6.8.7):
sudo dnf remove kernel-core-6.8.8 sudo dnf upgrade
and then when "systemctl list-jobs" was clear, "sudo systemctl reboot"
I, too, would prefer to have a bigger /boot, but this info might help.
John P
On Fri, May 3, 2024 at 2:52 PM richard emberson emberson.rich@gmail.com wrote:
Just today I upgraded from 39 to 40 but there was an issue: dnf told me I needed some 800k more space in my /boot partition to proceed. I had two kernels in /boot so I dnf removed those associated with the older of the two kernels. I then successfully upgraded.
[...]
I realize one way is to backup /home and then reinstall Fedora but
1) that seems like a lot of work and
- it would mean that the machine in question would then have to
use Wayland rather than Xorg.
Bots have taken over the internet, and contrary to "bot" wisdom, Fedora 40 still has Xorg.
Systems upgraded over many years often have packages that not present in current F40. Resulting issues can be difficult to understand as few users will have those old packages. Doing a fresh install every few years keeps you closer to a configuration others have, so any issues you do encounter will probably affect others, but "all problems are shallow given enough eyes".
A fresh install also gives you the option of moving to xfs or btrfs.