[Solved] Stop desktop switching with mousewheel in JWM ?

Forum Forums New users New Users and General Questions [Solved] Stop desktop switching with mousewheel in JWM ?

  • This topic has 8 replies, 4 voices, and was last updated Nov 15-6:14 pm by partsman.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #13322
    Member
    partsman

      Hello all πŸ™‚

      I been exploring around in JWM and I cant seem to figure out how to
      keep virtual desktops from switching with mousewheel/touchpad scroll up/down.

      I have read a few things about it from JWM and puppy sites But well I
      guess I am having trouble syncing both brain cells ! LOL !

      Thanks to all who reply ! πŸ˜‰

      Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)

      #13329
      Anonymous
        Helpful
        Up
        0
        ::

        https://github.com/joewing/jwm/issues/366 Disable mouse scroll of virtual desktops
        someone asked this at github and jwm author replied how to it, and I’m not positive i fully understand. Sounds like adding a <onroot=”45″/> line into .jwmrc
        antiX Control Centre β†’ Desktop β†’ Edit JWM Settings
        will cause jwm to ignore the events generated by scrollwheel (mouse4 and mouse5) while focus is on desktop rootwindow

        Set onroot=”45″ in a new, empty, root menu (you can have multiple). You can disable the scroll wheel affecting anything completely and have a root menu show up with buttons 1, 2, and 3.

        #13395
        Member
        partsman
          Helpful
          Up
          0
          ::

          Hello all πŸ™‚

          Thanks @736b69646f6f
          I did read that and gave it a try with no avail πŸ™
          However ! I may be doing something wrong ! Imagine that LOL !
          I will continue to mess with it ! Sooner or later I will figure it out ! πŸ˜‰
          Hopefully someone will guide me ! But I will let you all know when/if I figure something out ! πŸ˜‰

          Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)

          #13404
          Moderator
          caprea
            Helpful
            Up
            0
            ::

            It seems that this is only possible starting with version 2.3.7, whereas debian stable is 2.3.6.
            http://joewing.net/projects/jwm/release-2.3.html
            scroll down, very last line
            also
            https://github.com/joewing/jwm/issues/452

            #13408
            Member
            partsman
              Helpful
              Up
              0
              ::

              @caprea
              Good find ! πŸ˜‰
              I do belive this may be the problem ! πŸ™‚

              Now I was comparing JWM in debian stable and testing !
              All the depends look to be the same ! So I wonder if I installed the
              Newer JWM pkg from testing if that would do the trick ?
              Any thoughts ?
              I don’t really see what it would hurt to give it a go ! LOL ! πŸ™‚
              I get time later I may give it a go !
              Let you all know how works out ! Thanks ! πŸ™‚

              Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)

              #13409
              Moderator
              caprea
                Helpful
                Up
                0
                ::

                Uuh, not a good idea I think .
                The depencies are not the same, if you install it from testing all the depencies will get the higher version from testing.

                #13412
                Forum Admin
                anticapitalista
                  Helpful
                  Up
                  0
                  ::

                  Here is a link to a stretch build deb I made.
                  jwm
                  Install by sudo dpkg -i *.deb

                  If it all works ok, I could add this version to antiX stretch repo.

                  Philosophers have interpreted the world in many ways; the point is to change it.

                  antiX with runit - leaner and meaner.

                  #13415
                  Member
                  partsman
                    Helpful
                    Up
                    0
                    ::

                    @capre : Thank you so much for the second set of eyes !
                    I really appreciate you taking the time to look at this with me ! πŸ™‚

                    @anticapitalista : Yup ! that did the trick ! πŸ™‚
                    I downloaded your 64bit pkg installed it using “sudo dpkg -i *.deb”
                    And added the “<RootMenu onroot=”45″/>” Just before the end of my .jwmrc file right before the “</JWM>”
                    Works like a charm ! πŸ™‚
                    Here is a copy of my .jwmrc file :

                    <?xml version="1.0"?>
                    
                    <JWM>
                    
                    <!-- Initialize the applications used in conjunction with JWM -->
                    <Include>$HOME/.jwm/startup</Include>
                    
                    <!-- The root menu, if this is undefined you will not get a menu. -->
                    <!-- Additional RootMenu attributes: onroot, labeled, label -->
                    <RootMenu height="20">
                       <!-- The backbone antiX menu -->
                       <Include>$HOME/.jwm/menu</Include>
                    
                       <Separator/>
                       <Menu label="Logout..." icon="/usr/share/icons/Faenza-Cupertino-mini/actions/32/application-exit.png">
                         <Restart label="Restart JWM" icon="/usr/share/icons/Faenza-Cupertino-mini/actions/32/view-refresh.png"/>
                         <Program label="Log Out" icon="/usr/share/icons/Faenza-Cupertino-mini/actions/32/application-exit.png">desktop-session-exit</Program>
                       </Menu>
                    </RootMenu>
                    
                    <Include>$HOME/.jwm/keys</Include>
                    <Include>$HOME/.jwm/theme</Include>
                    <Include>$HOME/.jwm/tray</Include>
                    <Include>$HOME/.jwm/preferences</Include>
                    
                    <RootMenu onroot="45"/>
                    
                    </JWM>
                    

                    Thank you so much :
                    @caprea and
                    @anticapitalista πŸ™‚

                    All seems to work OK !
                    @ anticapitalista:
                    Maybe to be safe keep a backup of current JWM but your new JWM seems to work perfect ! πŸ˜‰
                    Thanks again ! πŸ™‚ !
                    Going to make the tread as solved !
                    Hope it helps someone in the future ! πŸ™‚

                    Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)

                    #13416
                    Member
                    partsman
                      Helpful
                      Up
                      0
                      ::

                      I cant seem to mark as solved ?
                      Anyway if a moderator can mark as solved or could help me
                      I would Like to mark the topic as solved thanks ! πŸ™‚

                      • This reply was modified 4 years, 5 months ago by partsman.
                      • This reply was modified 4 years, 5 months ago by partsman.

                      Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)

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