[solved] Icewm – How can I disable Ctrl+Alt+Right|Left keybinding?

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.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #76733
    Moderator
    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, 2 months ago by christophe. Reason: Solved

      confirmed antiX frugaler, since 2019

      #76736
      Anonymous
        Helpful
        Up
        0
        ::

        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
        #76738
        Moderator
        christophe
          Helpful
          Up
          0
          ::

          Thank you, skidoo.

          Worked like a charm. 🙂

          confirmed antiX frugaler, since 2019

          #76752
          Member
          blur13
            Helpful
            Up
            0
            ::

            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.

            #76753
            Member
            ModdIt
              Helpful
              Up
              0
              ::

              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, 2 months ago by ModdIt.
              #76818
              Anonymous
                Helpful
                Up
                0
                ::

                [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
                #76827
                Member
                ModdIt
                  Helpful
                  Up
                  0
                  ::

                  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/icewm

                  DESCRIPTION
                  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/prefoverride

                  The locations are searched in the order listed; the first file found is read and the remainder ignored.

                  • This reply was modified 1 year, 2 months ago by ModdIt.
                  #76923
                  Moderator
                  BobC
                    Helpful
                    Up
                    0
                    ::

                    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, 2 months ago by BobC.
                    #76926
                    Moderator
                    BobC
                      Helpful
                      Up
                      0
                      ::

                      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 🙂

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • You must be logged in to reply to this topic.