Forum › Forums › General › Software › [solved] Icewm – How can I disable Ctrl+Alt+Right|Left keybinding?
- This topic has 8 replies, 5 voices, and was last updated Feb 6-2:40 pm by BobC.
-
AuthorPosts
-
February 4, 2022 at 1:34 am #76733Moderator
christophe
In Icewm: How can I disable the Ctrl+Alt+Right & Ctrl+Alt+Left keybindings?
I can’t seem to figure this out. No matter what I do, these two keybindings just won’t go away.
I’ve tried the keys & preferences files. And of course, searching the forum. I found nothing.The only thing I see in preferences is:
###KeySysWorkspacePrev=”Alt+Ctrl+Left”
###KeySysWorkspaceNext=”Alt+Ctrl+Right”As you see, these are commented-out. But still I can’t disable it.
What am I missing?
- This topic was modified 1 year, 3 months ago by christophe. Reason: Solved
confirmed antiX frugaler, since 2019
February 4, 2022 at 1:57 am #76736Anonymous
::Within the ~/.icewm/preferences file
instead of outcommenting those lines (and same goes for various other IceWM key-related prefs),
we can globally disable by editing to specify a blank//empty stringvalue between-the-quotes.KeySysWorkspacePrev="" KeySysWorkspaceNext=""FWIW, we can disable on a per-theme basis, (IIRC)(did not test today to confirm) by placing in a theme directory a file named “prefoverride” containing those blanked KeySys.*=”” lines.
- This reply was modified 1 year, 2 months ago by Brian Masinick. Reason: From skidoo
February 4, 2022 at 2:17 am #76738Moderator
christophe
February 4, 2022 at 8:11 am #76752Member
blur13
::It’s not obvious, at least to me, how to change preferences in ICE. You check out the directory ~/.icewm. You see a file called “preferences” that seems to contain, well, a lot of preferences. You change a few parameters. Watch the change on icewm -r (ie restart). You change a few other parameters. NOTHING HAPPENS. Why on earth? Well, turns out that any parameters specified in the selected theme has precedence. Turns out you have to create a file called prefoverride for those settings to have any effect. In my opinion it would be much more intuitive to the uninitiated to simply have a file called preferences. If you want another “theme”, in effect, just a different set of preferences, then one could download that file and name it preferences. The way it is now is confusing on an intuitive level. After reading through the tome that is the ICEWM manual, you can gain the above insight. Having the preferences file actually BE the preferences file would make the manual redundant for most users. End of rant.
February 4, 2022 at 8:39 am #76753MemberModdIt
::Hi blur 13,
a forum search would have given you a wealth of information on how to setup icewm and
really use its flexibility and capability to be useful to the user instead of enslaving
as does for an example gnome or windoze desktops.You have as usual in Linux defaults and options, most applications follow some may have a setup the individual
developers considered more effective. On some devices keys are grabbed due keyboard or function key setup.If you accept the way ICE and ICE shell works you will find there is a lot of reasoning behind its works.
Personaly I regard it as pretty much the ultimate in user friendliness and efficiency.That is a personal preference, the other desktops chosen by antiX devs are also awesome.
You can also use the tools in control center to change preferences, not just directly in the . files.
- This reply was modified 1 year, 3 months ago by ModdIt.
February 4, 2022 at 6:13 pm #76818Anonymous
::[if] any parameters [are] specified in the selected theme [they take precedence].
Turns out[In that case] you have to create a file called prefoverride for those settings to have any effect [IOW: to preserve enforcement of the selected globally-specified values].That’s a great, seldom clearly documented, point!
The same possibility exists within the slimski display manager program. Overriding directives can, optionally, be specified within the theme file(s) (for one, or for multiple select themes). Further overriding [superceding] directives can, optionally, be placed within one or multiple locale-specific theme variant files. Hopefully this is documented well enough (it’s mentioned in the manpage, and within inline comments within the default config file, and within the provided sample theme files).
It’s not obvious, at least to me, how to change preferences in ICE.
Huh? Doesn’t the iceWM desktop Preferences submenu provide access to edit nearly every preference?
(Honest question. I don’t know which, or how many, prefs are NOT accessible via the menu.)NOTHING HAPPENS.
If the menu is used, is change applied only to the global preferences file?
If that’s the case, maybe open a ticket for discussion at the iceWM project issue tracker:
github.com/bbidulock/icewm/issues- This reply was modified 1 year, 2 months ago by Brian Masinick. Reason: From skidoo
February 4, 2022 at 7:40 pm #76827MemberModdIt
::So this thread may be more helpful to later readers.
From the manual: icewm-prefoverride – icewm override preferences configuration file
https://ice-wm.org/man/icewmDESCRIPTION
Settings which override the settings from a theme.
Some of the icewm configuration options
from the preferences file which control the look-and-feel may be overridden by the theme,
if the theme designer thinks this is desirable. However, this prefoverride file will again
override this for a few specific options of your choosing. It is safe to leave it empty
initially.FILES
Locations for the prefoverride file are as follows:$ICEWM_PRIVCFG/prefoverride
$XDG_CONFIG_HOME/icewm/prefoverride
$HOME/.icewm/prefoverride
/etc/icewm/prefoverride
/usr/share/icewm/prefoverrideThe locations are searched in the order listed; the first file found is read and the remainder ignored.
- This reply was modified 1 year, 3 months ago by ModdIt.
February 6, 2022 at 2:32 pm #76923ModeratorBobC
::It’s not obvious, at least to me, how to change preferences in ICE. You check out the directory ~/.icewm. You see a file called “preferences” that seems to contain, well, a lot of preferences. You change a few parameters. Watch the change on icewm -r (ie restart). You change a few other parameters. NOTHING HAPPENS. Why on earth? Well, turns out that any parameters specified in the selected theme has precedence. Turns out you have to create a file called prefoverride for those settings to have any effect. In my opinion it would be much more intuitive to the uninitiated to simply have a file called preferences. If you want another “theme”, in effect, just a different set of preferences, then one could download that file and name it preferences. The way it is now is confusing on an intuitive level. After reading through the tome that is the ICEWM manual, you can gain the above insight. Having the preferences file actually BE the preferences file would make the manual redundant for most users. End of rant.
After each time you make changes to preferences or prefoverride you need to restart icewm for the changes to take effect.
PS: The IceWM manual is great! Some people put a lot of time and effort in so that there would be a place to look for answers to how things work or could work. The cup is More than half full, so wake up and Smell the Coffee!
- This reply was modified 1 year, 3 months ago by BobC.
February 6, 2022 at 2:40 pm #76926ModeratorBobC
::Skidoo, with the preferences that are on the settings menu, that’s going to change preferences, not prefoverride or the active theme is my bet. Also, you need to save modifications afterwards or nothing happens 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.