Search Results for 'keyboard shortcuts'

Forum Forums Search Search Results for 'keyboard shortcuts'

Viewing 15 results - 1 through 15 (of 202 total)
  • Author
    Search Results
  • Member
    Wallon

      Dear Robin,

      Thank you very much for your help but I am not responsible for this situation.
      The azerty keyboard was invented in 1890 for mechanical typewriters. Nothing has changed since then AND it will never change. There have already been many meetings on this subject.

      I have a small reservation for your keyboard shortcuts. Not everyone plays the piano. Using 4 keys becomes uncomfortable. You’ll have to type with 4 hands like on pianos… I’m laughing as I type my text.

      In my case, as I do a lot of antiX installations in fr, fr_BE, en_US … I will always have to remap the keyboard each time.

      You are right, many programs do not work or do not work well with azerty keyboards.
      The best known for Linux is Nano. The shortcuts don’t work and it’s impossible to remap. Ctrl + X to save does not work. With the azerty keyboard, you have to use Ctrl + S to save. That’s why I always use a text editor (Geany) to edit Linux files.

      As a reminder, there is a second problem with Wingrid. It only works well with one screen! As you know, I often work with several screens and always with azerty keyboards from France or Belgium.

      Dutch and German speakers in Belgium also use the azerty keyboard.

      There are not enough keys on our keyboard because we also use glued vowels in our alphabet. For the computer specialists, this was a challenge because it is no longer two characters but one computer character. There would be 273 words with glued vowels, for example heart = « cœur », ox = « bœuf », « curriculum-vitæ »…

      We also have double capitals to start a sentence, like « Æ » or « Œ »

      Mit freundlichen Grüßen
      Wallon

      • This reply was modified 13 hours, 19 minutes ago by Wallon.
      Member
      Robin

        azerty keyboards are known to cause all kinds of errors with default shortcuts not working, in multiple programs. Just google for it (search string: azerty ctrl+alt key bindings not working) which comes up with an impressive list of programs, for which azerty breaks the shortcuts on Linux, Apple and Windows. I guess the designers of the azerty keyboard layout have not taken into account to keep at least the commonly used control keys ctrl + alt intact when reassigning all the keys… You’ll need to fix this in every single program relying on the ctrl + alt combinations to work, as long the azerty layout isn’t fixed to deliver the expected control sequences properly.

        As a workaround you could try to modify the keybindings in all programs like this:

        key "Ctrl+Alt+&" wingrid-left.sh
        key "Ctrl+Alt+é" wingrid-right.sh
        key 'Ctrl+Alt+"' wingrid-top.sh
        key "Ctrl+Alt+'" wingrid-bottom.sh
        key "Ctrl+Alt+(" wingrid-topleft.sh
        key "Ctrl+Alt+§" wingrid-topright.sh
        key "Ctrl+Alt+è" wingrid-bottomleft.sh
        key "Ctrl+Alt+!" wingrid-bottomright.sh
        key "Ctrl+Alt+ç" wingrid-maximize.sh
        key "Ctrl+Alt+à" wingrid-close.sh

        Or, since the azerty keyboard has replaced the position of the number keys to the second keyboard level, using the following replacement might also work:

        key "Shift+Alt+Ctrl+1" wingrid-left.sh
        key "Shift+Alt+Ctrl+2" wingrid-right.sh
        key "Shift+Alt+Ctrl+3" wingrid-top.sh
        key "Shift+Alt+Ctrl+4" wingrid-bottom.sh
        key "Shift+Alt+Ctrl+5" wingrid-topleft.sh
        key "Shift+Alt+Ctrl+6" wingrid-topright.sh
        key "Shift+Alt+Ctrl+7" wingrid-bottomleft.sh
        key "Shift+Alt+Ctrl+8" wingrid-bottomright.sh
        key "Shift+Alt+Ctrl+9" wingrid-maximize.sh
        key "Shift+Alt+Ctrl+0" wingrid-close.sh

        Then you must use always use the shift key additionally, but this might easily conflict with already otherwise assigned shortcuts…

        Not the very best idea of the azerty designers not to keep the control key combinations working, really.

        You should know that there is also a special feature with the Caps Lock key activated for azerty keyboards.
        You never get the numbers on the keyboard!
        You get capital letters with accents.

        This is definitively something only the keyboard layout designers can fix. They have broken the control keys, so now they can fix it 🙂

        Windows is like a submarine. Open a window and serious problems will start.

        Member
        Wallon

          No, it is not.
          We don’t use the mouse.
          The keyboard shortcuts below are not compatible with azerty keyboards.

          
          key "Alt+Ctrl+1" wingrid-left.sh
          key "Alt+Ctrl+2" wingrid-right.sh
          key "Alt+Ctrl+3" wingrid-top.sh
          key "Alt+Ctrl+4" wingrid-bottom.sh
          key "Alt+Ctrl+5" wingrid-topleft.sh
          key "Alt+Ctrl+6" wingrid-topright.sh
          key "Alt+Ctrl+7" wingrid-bottomleft.sh
          key "Alt+Ctrl+8" wingrid-bottomright.sh
          key "Alt+Ctrl+9" wingrid-maximize.sh
          key "Alt+Ctrl+0" wingrid-close.sh
          
          

          You should know that there is also a special feature with the Caps Lock key activated for azerty keyboards.
          You never get the numbers on the keyboard!
          You get capital letters with accents. This is particular to French.
          The following letters are capitalized: key with figure 2 = É, key with figure 7 = È, key with figure 9 = Ç, key with figure 0 = À.
          It is not possible to remap the keys with the numbers because you lose the French alphabet for capital letters with accents.

          #105832
          Member
          blur13

            Here is a suggestion, replace nano/vim with micro as the default terminal text editor (even with sudo). Micro is much easier to use since it uses the conventional keyboard shortcuts and generally behaves as expected. Ie ctrl+s saves, ctrl+q quits, etc.

            change default sudo editor

            sudo update-alternatives --install /usr/bin/editor editor /usr/bin/micro 100

            • This reply was modified 1 week, 2 days ago by blur13.
            #104608
            Member
            Wallon

              Dear ile,

              Yes I tested antiX 23 with 2 screens.

              antiX considers the 2 screens as 1 screen.

              After a fresh installation, the keyboard shortcuts don’t work well. AntiX will put a window in the middle of the 2 screens. Normally, antiX should put a window in the middle of each screen and this is not possible.
              We can’t put a different background on screen 1 and screen 2. It will always be the same wallpaper that will be spread on both screens.
              My screen 1 on the left, is my master (main) screen and conky will always be on the second screen which is on the right. This is proof that antiX considers the 2 screens as one screen.

              a) iceWM does not work well for moving a window from one screen to the other.
              Google does not always work for clicking on the forum submenu (Recent Posts).

              b) Fluxbox works better for moving a window from one screen to the other.
              Google does not always work for clicking on the forum submenu (Recent Posts).

              c) jwm works very well for moving windows from one screen to another.
              Google works very well with jwm.

              To work with 2 screens, it is absolutely necessary to add keyboard shortcuts using the « Windows » key. To do this, go to the “Tips and Tricks” section of the forum, I have given the keyboard shortcuts for Fluxbox, IceWm and JWM.

              Important note! I always do a complete installation and I always install the Nvidia driver. This may change for other users who use an AMD graphics card or an Intel or AMD (gpu / apu) chipset. It’s very sensitive with all those things…

              Best regards,
              Wallon

              #104594
              Member
              bci

                I copy-pasted your version on it, ran it, and also ran shellcheck on it. Shellcheck suggested that I “consider using { cmd1; cmd2; } >> file instead of individual redirects”, and so I did just that (keeping your original grep and sed invocations):

                
                #!/bin/bash
                
                output="$HOME"/.icewm/bobc-icekeys.txt
                
                echo 'icekeys - lists key mapping of IceWM'
                echo  > "$output"
                
                {
                    echo 'IceWM - Keyboard Shortcut from keys'
                    sed -e '/^#key /Id' "$HOME"/.icewm/keys | sed -e '/^###/d' | sed -e 's/^key //Ig' | sed -e 's/\"//g'
                
                    echo
                    echo 'IceWM - Keyboard Shortcuts from prefoverride'
                    grep -e '^Key' "$HOME"/.icewm/prefoverride | sed -e 's/Key//g' | sed -e 's/\"//g' | sed -e 's/\=/ /g'
                
                    echo
                    echo 'IceWM - Keyboard Shortcuts from Preferences'
                    grep -e '^Key' "$HOME"/.icewm/preferences | sed -e 's/Key//g' | sed -e 's/\"//g' | sed -e 's/\=/ /g'
                } | tee "$output"
                

                When I run this, I get (both stdout and contents of output file):

                IceWM – Keyboard Shortcut from keys
                # This is an example for icewm hotkey definition file.
                # It will be installed as /usr/share/icewm/keys.
                # Place your variants in /etc/X11/icewm or in $HOME/.icewm since
                # modifications to this file will be overwritten when you reinstall icewm.
                #
                # A list of all valid keyboard symbols can be found in
                # /usr/include/X11/keysym.h, keysymdefs.h, XF86keysym.h, …
                # You’ll have to omit XK_ prefixs and to replace XF86XK_ prefixes by
                # XF86. Valid modifiers are Alt, Ctrl, Shift, Meta, Super and Hyper.
                #
                Alt+Ctrl+t x-terminal-emulator
                Alt+Ctrl+b xdg-open about:blank
                Alt+Ctrl+s xdg-open https://www.google.com

                Super+KP_Subtract amixer sset Master 5%-
                Super+KP_Add amixer sset Master 5%+

                # Multimedia key bindings for Xorg. Gather the keycodes of your
                # advanced function keys by watching the output of the xev command whilest
                # pressing those keys and map those symbols by using xmodmap.

                # Note: some of them might have unwanted side effects through concurrency with
                # other listeners like systemd for the suspend key events
                #
                # key XF86Standby /bin/sh -c { test -e /run/systemd/system && systemctl suspend; } ||:
                # key XF86Sleep /bin/sh -c { test -e /run/systemd/system && systemctl suspend; } ||:
                XF86AudioLowerVolume amixer sset Master 5%-
                XF86AudioRaiseVolume amixer sset Master 5%+
                XF86AudioMute amixer sset Master toggle
                XF86HomePage xdg-open about:blank
                XF86Search xdg-open https://www.google.com
                XF86Eject eject
                XF86Calculator /bin/sh -c gnome-calculator || xcalc || ( type bc >/dev/null 2>&1 && x-terminal-emulator -e bc -l)

                switchkey Super+p icewm-menu-xrandr

                IceWM – Keyboard Shortcuts from preferoverride

                IceWM – Keyboard Shortcuts from Preferences
                SysWorkspacePrev

                In Preferences: I’ve erased (via Settings > Preferences) the keybinding for Ctrl+Alt+LeftArrow, and so ‘KeySysWorkspacePrev’ is being assigned the empty string. Since the sed invocation erases the ‘=’ and quotes, nothing is left! Also, it looks like the ‘Key’ prefix is lopped off, I’m assuming that’s intentional though. Everything else looks straightforward.

                So, all in all, not bad. Also, I’m kind of rusty with Bash, and so I had forgotten that ‘echo’ by itself prints a newline. 🙂

                • This reply was modified 4 weeks, 1 day ago by bci. Reason: Add comment about 'echo'
                #104580
                Moderator
                BobC

                  I admit yours looks prettier but it doesn’t work to do what I was trying to do. I’m talking about the fancy loop. You didn’t allow for the file structures being different, and won’t be able to match up the results. I suppose you could use ifs or a case structure to handle that but the code gets less pretty.

                  Neither of us allowed for prefoverride possibly overriding entries from preferences.

                  I did try emacs a couple times, but didn’t like it. I do understand that all of us have our editor preferences and reasons for them. My personal favorite decades ago was Brief because it was so configurable and reasonably easy to program, but it was a long time ago, and my requirements today are very different. I use Geany here, and Notepad++ for Win and the Win servers, as well as for editing the Qshell scripts for the iSeries, but I haven’t been able to really control either via configuration or programming like I was able to with Brief.

                  I am intrigued by your use of tee, however. I have never gotten that command to work for me. I’ll have to investigate and try using it again.

                  I have to be a bit extra careful because I work in a Win environment for 75% of my programming time where anything *nix oriented is either frowned upon or outright banned. I try to use syntax that works on GNU Win (at work), IBM iSeries Qshell (at work) and under Linux (at home) so that what I can do for one I can at least apply for any of the others. It drives me nuts when what I expect to work fails when I really need it. I understand that you wouldn’t worry about those other constraints.

                  PS: I tried your tee method on linux and it worked here. I’ll have to try it on my other systems…

                  I cleaned up my code and used shellcheck on it. Its a program to help write better code.

                  #!/bin/bash
                  
                  echo 'icekeys - lists key mapping of IceWM'
                  echo  > "$HOME"/.icewm/icekeys.txt
                  echo 'IceWM - Keyboard Shortcut from keys' >> "$HOME"/.icewm/icekeys.txt
                  sed -e '/^#key /Id' "$HOME"/.icewm/keys | sed -e '/^###/d' | sed -e 's/^key //Ig' | sed -e 's/\"//g' >> "$HOME"/.icewm/icekeys.txt
                  echo  >> "$HOME"/.icewm/icekeys.txt
                  echo 'IceWM - Keyboard Shortcuts from preferoverride' >> "$HOME"/.icewm/icekeys.txt
                  grep -e '^Key' "$HOME"/.icewm/prefoverride | sed -e 's/Key//g' | sed -e 's/\"//g' | sed -e 's/\=/ /g' >> "$HOME"/.icewm/icekeys.txt
                  echo  >> "$HOME"/.icewm/icekeys.txt
                  echo 'IceWM - Keyboard Shortcuts from Preferences' >> "$HOME"/.icewm/icekeys.txt
                  grep -e '^Key' "$HOME"/.icewm/preferences | sed -e 's/Key//g' | sed -e 's/\"//g' | sed -e 's/\=/ /g' >> "$HOME"/.icewm/icekeys.txt
                  echo  >> "$HOME"/.icewm/icekeys.txt
                  echo 'New icekeys.txt follows:'
                  cat "$HOME"/.icewm/icekeys.txt
                  
                  • This reply was modified 4 weeks, 1 day ago by BobC.
                  • This reply was modified 4 weeks, 1 day ago by BobC.
                  #104522
                  Moderator
                  BobC

                    You could try this:

                    #!/bin/bash
                    
                    echo 'icekeys - lists key mapping of IceWM'
                    echo  > $HOME/.icewm/icekeys.txt
                    echo 'IceWM - Keyboard Shortcut from keys' >> $HOME/.icewm/icekeys.txt
                    cat $HOME/.icewm/keys | sed -e '/^#key /Id' | sed -e '/^###/d' | sed -e 's/^key //Ig' | sed -e 's/\"//g' >> $HOME/.icewm/icekeys.txt
                    echo  >> $HOME/.icewm/icekeys.txt
                    echo 'IceWM - Keyboard Shortcuts from preferoverride' >> $HOME/.icewm/icekeys.txt
                    cat $HOME/.icewm/prefoverride | grep -e '^Key' | sed -e 's/Key//g' | sed -e 's/\"//g' | sed -e 's/\=/ /g' >> $HOME/.icewm/icekeys.txt
                    echo  >> $HOME/.icewm/icekeys.txt
                    echo 'IceWM - Keyboard Shortcuts from Preferences' >> $HOME/.icewm/icekeys.txt
                    cat $HOME/.icewm/preferences | grep -e '^Key' | sed -e 's/Key//g' | sed -e 's/\"//g' | sed -e 's/\=/ /g' >> $HOME/.icewm/icekeys.txt
                    echo  >> $HOME/.icewm/icekeys.txt
                    echo 'New icekeys.txt follows:'
                    cat $HOME/.icewm/icekeys.txt
                    #104493
                    Member
                    Wallon

                      Dear Robin,

                      Here is my screen shot with the keyboard shortcuts.
                      I used the font “Times” to see the new shapes of the characters.
                      I read that it was the Wayland project that asked to modify the keyboards during the year 2022 and that this had consequences on the other display servers.
                      I can’t find the website that mentioned this.
                      I have not been able to find a list of countries that have been changed.

                      Cordialement,
                      Wallon

                      #102248
                      Member
                      PPC

                        An OS should be always open to innovation, but antiX already includes lots of scripts that do the same or similar tasks to what you want to achieve. In antiX case, it already includes yad-volume. There’s no real need to write a new script, other, of course, learning how to do it, or try to make it more efficient, or add new features.
                        I like your idea of having keyboard shortcuts for this, but the ones you choose are already taken, for example, in Firefox, ctrl + Down or Up allow users to scroll down or up…

                        P.

                        #101832
                        Moderator
                        Brian Masinick

                          Dear anticapitalista,

                          In the JWM desktop, would you please change the settings for the keyboard shortcuts?

                          Main menu
                          Control centre
                          Desktop
                          JWM settings
                          “Keys” tab
                          The line 58 “<Key key=”F2″>exec: gexec</Key>” should be disabled because it conflicts with the F2 key of zzzfm (rename a file)

                          Best regards,
                          Wallon

                          @Wallon: In case you are not familiar with the syntax, you can insert
                          the comment indicator prior to the
                          line 58 “<Key key=”F2″>exec: gexec</Key>”
                          whether the change is made or not.

                          Unfortunately the comment indicator does not wish to display here. It’s the right arrow (>) followed by an exclamation mark (!), then two dashes (–). Let’s see if I can convince the editor to pass these through…

                          • This reply was modified 2 months ago by Brian Masinick. Reason: <!--
                          • This reply was modified 2 months ago by Brian Masinick.
                          • This reply was modified 2 months ago by Brian Masinick. Reason: <!-- comment

                          --
                          Brian Masinick

                          #101795
                          Member
                          Wallon

                            Dear anticapitalista,

                            In the JWM desktop, would you please change the settings for the keyboard shortcuts?

                            Main menu
                            Control centre
                            Desktop
                            JWM settings
                            “Keys” tab
                            The line 58 “<Key key=”F2″>exec: gexec</Key>” should be disabled because it conflicts with the F2 key of zzzfm (rename a file)

                            Best regards,
                            Wallon

                            #101621
                            Member
                            Wallon

                              @Brian, I do the same thing because if you forget and there is an update, it takes a long time…

                              I am disappointed because the keyboard shortcuts = (Logo key + left arrow) or (Logo key + right arrow) do not work for Fluxbox, nor for Icewm and nor for JWM. I really need these functions to work on my 2 screens for translations in Transifex.

                              #101512
                              Moderator
                              Brian Masinick

                                No, its a complete waste of time. I only want a desktop background with conky. Not even a toolbar. Minimalistic and clean. Launch programs using keyboard shortcuts 99% of the time. Otherwise rofi, terminal, or menu.

                                Right on! While I do use a toolbar for convenience, I’m 100% with you. I can also make due with an extremely simple environment and NO toolbar or other prepackaged navigational tool. In that case I’d just add a few more keyboard shortcuts and brief alias definitions and invoke them with 1 to 3-4 key presses max. When I am stuck using some desktop that uses a lot of icons or navigation, I simply define function keys or control sequences to access the things I actually use, and “get around” whatever cumbersome interface is in place.

                                --
                                Brian Masinick

                                #101510
                                Member
                                blur13

                                  No, its a complete waste of time. I only want a desktop background with conky. Not even a toolbar. Minimalistic and clean. Launch programs using keyboard shortcuts 99% of the time. Otherwise rofi, terminal, or menu.

                                Viewing 15 results - 1 through 15 (of 202 total)