Since I have a keyboard with menu button I decided to map those combinations to F13 using keyd service as it was suggested in one of the comments above.
Great idea! I prefer doing my remapping within hyprland using bind and ydotool, but keyd should give you the same (or even better) results!
If you have an idea how to get what I want, please help. It feels like I have read every xkb setting and couldn't figure it out.
xkb is complicated and unintuitive: I had a similar issue with shortcuts, as I use Caps both as Control (when chorded) and Escape (when alone) and I have a caps.sh script to do what I want, but the keycode can change: I made a comment in my .conf to remember that:
# If using ctrl:nocapsr, both caps and lctrl send Control_L but with different keycodes
# caps=66 vs lctrl=37, so we must then use the keycode
bindr=CONTROL,code:66, exec, $HOME/.config/hypr/caps.sh
I think caps:none is your problem, because CAPS will be none if you do like in your example
bindr = CAPS, Caps_Lock, exec, /path/to/my/script
You could either use the correct 66 keycode for bindr, but it's simpler to change the grp toggle with kb_options=grp:menu_toggle and to make your bash script output the Menu key: it's rarely present on keyboard, so it's a better choice
In your bash script, use YDOTOOL_SOCKET=/run/user/1000/.ydotool_socket ydotool key code:1 code:0 with code replaced by the keycode you use.
from my understanding, hyperladn.sh runs at the end of the boot sequence and starts everything right?
No, it starts ASAP while everything is started, having minimal requirements, so you get your screen displaying things while things it doesn't depend on are still loading
I'm using AGS for widgets and such, and I'd like for it to reload at the end of everything, because sometimes NetworkManager is not yet loaded by the time it starts, and the wifi icon gets broken, would adding a line for reloading AGS at the end of hyprland.sh fix this?
If you wanted to wait until the network is ready, it would cause delays. To avoid that, the script it made to depend on iwd, so it's just luck NetworkManager is still working sometimes :)
I suggest you replace the slow NetworkManager or the other equally slow equivalents by using instead iwd to do the networking job
Also check: systemctl --failed: it will tell you what is not working, in case there are other services you need
BTW it's an old post, when you get everything to work (including the wifi icon 100% of the time lol) you may want to post an update explaining what you changed on your system because it seems to me people are suffering from long boot times for no reason
That's wonderful! Maybe you should make a PSA to warn others about the dangers of ntfsfix?
Also it'd be nice to package the chkufsd tool for arch. I tried to ask the guy who wrote the kernel driver to release the source but I never got any reply. Too bad, because I'd have been happy to make multiplatform binaries
You can also say "Thank you Paragon" if you use fsck.ntfs from paragon NTFS apk to get a REAL fsck, while ntfsfix just switches the dirty bit and does nothing to really fix the filesystem: https://www.reddit.com/r/archlinux/comments/11qezjd/
Boot entries cannot be edited, and instead need to be deleted an re-created all over again.
This is the biggest problem IMHO: I'd like to give a number like Boot0001 or a name like "Arch", to:
overwrite the content of the matching entry with a flag like --update-content Boot001 "EFI\arch\zfs-6.2.0-nohz.efi" to start using this UKI for the 1st entry, with minor verifications (just that the file exists on the drive and partition) or none at all
same for the name: --update-name Boot001 "Arch kernel test"
Boot order cannot be changed trivially, the entire order has to be passed to the flag including the ones that haven't changed position.
That's not as bad, but I would like to do insertions: using anything from the current set of boot entries, I should be able to express the relation I want: if I say Boot001 --after Boot01A, I'd like if Boot01A is absent from the list to get an error, but if it's present and so is Boot001, remove Boot0001 from the order list, and reinsert it right after Boot01A wherever it is.
Great idea! I prefer doing my remapping within hyprland using bind and ydotool, but keyd should give you the same (or even better) results!
xkb is complicated and unintuitive: I had a similar issue with shortcuts, as I use Caps both as Control (when chorded) and Escape (when alone) and I have a caps.sh script to do what I want, but the keycode can change: I made a comment in my .conf to remember that:
I think caps:none is your problem, because CAPS will be none if you do like in your example
You could either use the correct 66 keycode for bindr, but it's simpler to change the grp toggle with
kb_options=grp:menu_toggleand to make your bash script output the Menu key: it's rarely present on keyboard, so it's a better choiceIn your bash script, use
YDOTOOL_SOCKET=/run/user/1000/.ydotool_socket ydotool key code:1 code:0with code replaced by the keycode you use.The next best is having a public repository of knowledge in a place you know, and you can easily copy from!
No, but if you do I'd be interested
It could be related as you have full control with the systemd service (you can give as much CPU as you want, or restrict it)
Since you changed to i915 maybe first try to return to nvidia-dkms to exclude this as a potential suspect?
ty!
Oopsies just found that ping now
I was going to do a reinstall and never did so I forgot about it.
I'll eventually do it and then update the guide :)
I like to help, but there are only so many hours in the day. I was planning to rewrite the guide for a reinstall that never happened
faster, better and many other things too!
I'm working on some other stuff and couldn't give this script the love it deserves :)
You should post your updated solution for those who prefer NetworkManager!
No, it starts ASAP while everything is started, having minimal requirements, so you get your screen displaying things while things it doesn't depend on are still loading
If you wanted to wait until the network is ready, it would cause delays. To avoid that, the script it made to depend on iwd, so it's just luck NetworkManager is still working sometimes :)
I suggest you replace the slow NetworkManager or the other equally slow equivalents by using instead iwd to do the networking job
Also check:
systemctl --failed: it will tell you what is not working, in case there are other services you needBTW it's an old post, when you get everything to work (including the wifi icon 100% of the time lol) you may want to post an update explaining what you changed on your system because it seems to me people are suffering from long boot times for no reason
Just FYI when you are running a local file, prefix it with "./" like ./chkntfs. Or just move it to /usr/local/bin so it'll be automatically found
That's wonderful! Maybe you should make a PSA to warn others about the dangers of ntfsfix?
Also it'd be nice to package the chkufsd tool for arch. I tried to ask the guy who wrote the kernel driver to release the source but I never got any reply. Too bad, because I'd have been happy to make multiplatform binaries
You just rename it and run it. I don't think it can create damage.
I often do: chkufsd -fs:ntfs /dev/something -f
Yes, ntfsfix hid the real problem.
Ask the package maintainer to replace it by the real chkntfs!
In the APK, it's named ntfs/assets/x86/chkufsd : just rename it to chkntfs
You can also say "Thank you Paragon" if you use fsck.ntfs from paragon NTFS apk to get a REAL fsck, while ntfsfix just switches the dirty bit and does nothing to really fix the filesystem: https://www.reddit.com/r/archlinux/comments/11qezjd/
or just boot their live iso to take on a thumbdrive their vmlinuz along with their /lib/modules, then run depmod ?
If it works with no blink, then rebuilding the kernel is worth trying! If not, it means we still don't understand how they do it :(
BTW regarding taking a vmlinuz, I've done that with Ubuntu and PopOS kernels I wanted to test on arch :)
I was planning to test with a bzImage from fedora to see if it's the kernel .config but never found the time for that.
You may want to try the cmdline for fedora + the kernel binary on arch, it'd make it easier to pinpoint the root cause and finally have a fix in Arch
it is possible to disable the animation to make the toggle be instant, but only when using this shortcut?
It works great with
bindr=,code:9, exec,Now I wonder if I can reduce the time it takes for the animation when it's scripted?
I run
hyprctl dispatch togglespecialworkspace todobut there should be no animation when I press escapeIt's wonderful, just what I wanted!
TLDR; Change the Intel/Phison controller, to “Standard NVM Express Controller” for samsung autodetection to work
I had this same issue!
Thanks a lot!
I usually run vim fullscreen in Hyprland: here vim is running in foot (light theme) and wezterm (dark theme, floating)
This is life in hard mode: a full screen text-only vim!
Wallpaper: none
GTK: none
Icons: none
Conky: none
Dock: none either
Configuration on https://github.com/csdvrx/CuteVim, Actual Portable Binary (multiplatform) on https://github.com/csdvrx/CuteVim/releases/tag/xmas-2023
Great use of sixels!
I sometimes make errors or don't consider edgecases
A little table that would show on which desktop the windows may end up could go a long way.
I've tried to do that manually for one rule, by scripting
hyprctl clientsbut maybe there's a better way?This is the biggest problem IMHO: I'd like to give a number like Boot0001 or a name like "Arch", to:
That's not as bad, but I would like to do insertions: using anything from the current set of boot entries, I should be able to express the relation I want: if I say
Boot001 --after Boot01A, I'd like if Boot01A is absent from the list to get an error, but if it's present and so is Boot001, remove Boot0001 from the order list, and reinsert it right after Boot01A wherever it is.