Herbstluftwm (hlwm) defaults

Forum Forums New users New Users and General Questions Herbstluftwm (hlwm) defaults

  • This topic has 43 replies, 8 voices, and was last updated Aug 19-10:44 pm by Anonymous.
Viewing 15 posts - 16 through 30 (of 44 total)
  • Author
    Posts
  • #65067
    Moderator
    Brian Masinick
      Helpful
      Up
      0
      ::

      If you think it should be configured, let us know how.

      You remember what the “old” .conkyrc used to look like, with the large amounts of comments. That might be a nice way of suggesting config additions, without actually doing the advanced configuration for the user. Just showing suggestions of possibilities…

      As an example, perhaps an entry for setting a wallpaper background (commented out), right after the black screen setting.

      I like this idea; perhaps reinstating those comments and defaults, and mentioning them in our docs and videos might help a few “potential experimenters” in the days of our upcoming release.

      --
      Brian Masinick

      #65089
      Member
      olsztyn
        Helpful
        Up
        0
        ::

        If you think it should be configured, let us know how.

        Having given a bit more thought and following Christophe’s suggestions I also think a subtle wallpaper would be good to have…
        Also, in terms of low hanging fruit, if establishing more streamline default keybindings and basic config is to be understood as part of configuration anticapitalista asks about and not some flashy and fancy customization, then I do agree that some such understood configuration would be beneficial.
        Some thoughts:
        – The bar (the bar on top) tag mappings – to streamline and add windows status indicators in them,
        – The default terminal change to something like ROXTerm, which is more useful.
        – The MOD Key – It is better to change from current default as ‘Win’ ‘superkey’ to ALT. The main reason for this would be that old keyboards with old computers do not have ‘Windows’ key. So if antiX is also for very old computers, ‘Windows’ key as the most important and most used key in such WM is not optimal.
        – I would add the keybinding for hiding the bar. Just as DWM has ALT+b, which hides bar and allows the programs to use the entire real estate of the screen automatically. When you expect to work e.g. with web browser for a longer time, this feature is really handy. I believe in the current default config of Herbstluft wm such keybinding or function does not exist.
        I believe that making some reasonable changes like the above and some other will make Herbstluftwm somewhat more streamlined and useful…
        I would not worry about the fact that these changes would make it look and behave more like DWM. The capability of updating configuration on the fly is still a key distinguishing feature…
        Just MHO…

        Live antiX Boot Options (Previously posted by Xecure):
        https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

        #65090
        Member
        andyprough
          Helpful
          Up
          0
          ::

          I agree with all of the suggestions that @olsztyn made. I personally prefer the Super key as the Mod key, but I agree that not all old computers (or even some newer keyboards) will have it. Maybe Super could be the default and Alt could somehow be made a fall-back? If not, just leave it as Alt, it’s easy enough for people like me to change it.

          Also, I would like the tag numbers to respond more like on dwm. I want the tag numbers to respond to a mouse click by taking me to that tag, and I want them to show a visual cue if there is a program active on that tag. I don’t know if these things are possible with herbstluftwm, but if they are possible they will be beneficial.

          #65094
          Moderator
          christophe
            Helpful
            Up
            0
            ::

            If a program is running on a tag, the tag is bold. Otherwise, it’s dimmer.

            Alt as mod key conflicted with program keybindings, if I remember correctly.

            I used it on an old keyboard – without windows key (what would that be? 30-years-old?). I had to did deeper in my parts bins to find a newer one with the windows key, because it was driving me crazy, though I can’t remember the specifics of what were the program(s) involved.
            (But if someone wanted to change it – it is “super” easy to do – only one entry in the autostart file.)

            • This reply was modified 1 year, 8 months ago by christophe.
            • This reply was modified 1 year, 8 months ago by christophe.

            confirmed antiX frugaler, since 2019

            #65114
            Member
            andyprough
              Helpful
              Up
              0
              ::

              If a program is running on a tag, the tag is bold. Otherwise, it’s dimmer.

              Alt as mod key conflicted with program keybindings, if I remember correctly.

              I used it on an old keyboard – without windows key (what would that be? 30-years-old?). I had to did deeper in my parts bins to find a newer one with the windows key, because it was driving me crazy, though I can’t remember the specifics of what were the program(s) involved.
              (But if someone wanted to change it – it is “super” easy to do – only one entry in the autostart file.)

              OK, I can see the bold vs dim font now if I look closely. The font size on the panel is super tiny for my aging eyes – I use about twice this size for the panel in dwm.

              I figured out how to change the panel height and font size. The panel is a bash script in ~/.config/herbstluftwm/panel.sh. OK, I got the panel up to twice its height and the font up to a comfortable 16-point (changed lines 17 and 18 of panel.sh):

              panel_height=32
              font="-*-fixed-medium-*-*-*-16-*-*-*-*-*-*-*"

              ====

              Now, where is the number of tags set? I would like 9 tags instead of 6. And how to make this panel mouse-clickable I wonder?

              ====

              For me, urxvt is too bare-bones of a terminal. I prefer roxterm, and replaced it in ~/.config/herbstluftwm/autostart right away (line 35):
              hc keybind $Mod-Return spawn roxterm

              I would not saddle users with having to learn urxvt at the same time they are having to learn herbstluftwm. roxterm is a wonderful terminal that only antiX does right – you should be showing it off.

              ====

              I added a clipboard history manager to dmenu called “clipmenu”, so that I can get a selection of clipboard items that pop down from dmenu. This was a bit more complicated, but once installed it works really well.

              I’m writing a how-to on installing clipmenu below, mostly for my own ability to find this later and re-install it. clipmenu requires as dependencies the xsel package and a package called clipnotify to build, and clipnotify needs libxfixes-dev to build.

              1. Install dependencies from Debian repo:

              sudo apt update
              sudo apt install libxfixes-dev xsel

              2. Clone clipnotify from github and install it

              cd /usr/src/
              sudo git clone https://github.com/cdown/clipnotify
              cd clipnotify/
              sudo make install

              3. Clone clipmenu from github and install it

              cd /usr/src/
              sudo git clone https://github.com/cdown/clipmenu/
              cd clipmenu/
              sudo make install

              4. Add the clipmenud daemon to the herbstluftwm autostart programs, and assign Super-Control-c to pop down the clipboard history from dmenu with clipmenu

              cd ~/.config/herbstluftwm/
              geany autostart

              Add the following (after leafpad and before xrdb merge) in the “autostart daemons’n’stuff” section at about line 21 by pasting this line:
              clipmenud &

              Add the following keybinding for clipmenu in the “Open apps” section at about line 38 by pasting this line:
              hc keybind $Mod-Control-c spawn clipmenu

              5. Save and close geany, and reload herbstluftwm with the Super-Shift-r keybinding.

              6. Try it out. Copy some different lines of text to the clipboard. Use Super-Control-c to see your clipboard history pop down from dmenu. Scroll down with the arrow keys and select something from the history by hitting the Enter button. Now you can paste that entry into any open program.

              #65116
              Member
              andyprough
                Helpful
                Up
                0
                ::

                I had a weird thing happen where herbstluftwm was only allowing me access to about 25% of the desktop space. Then I logged out and slim wouldn’t allow me to log back in, although it would log into icewm. I purged slim from the system and installed the tbsm tty login manager, and now login is working and I can use 100% of the desktop space again.

                Not sure what that was all about.

                #65118
                Member
                olsztyn
                  Helpful
                  Up
                  0
                  ::

                  OK, I can see the bold vs dim font now if I look closely. The font size on the panel is super tiny for my aging eyes

                  I have similar observation. Thankfully I have good vision from reading distance but still took me long time of playing with Herbstluftwm to notice this difference. In DWM current active tag is clearly visible being highlighted with little square, which indicates status.

                  I would not saddle users with having to learn urxvt at the same time they are having to learn herbstluftwm. roxterm is a wonderful terminal that only antiX does right

                  Roxterm of antiX is way better than urxvt in Herbstluftwm or st terminal in DWM to me… It takes a bit more memory (about 15M vs. 3M). In low memory systems it might make sense to keep both though. Currently I start roxterm when I am about to do some sequence where cut and paste is needed. However just to run something like Htop in a tag I use st terminal DWM or urxvt in Herbstlufwm.

                  Overall my thinking is that if all that dexterous choice of keybindings, bar status cues and mouse sensitivity, including hiding bar could be ported to Herbstluftwm, this would make Herbstluftwm a superior WM of this type having the key advantage of on-the-fly config change. No recompile needed. Although personally I am not a fan of this runtime configuration due to vulnerability it entails but I recognize it can be very useful with frequent changes.
                  Just MHO…

                  Live antiX Boot Options (Previously posted by Xecure):
                  https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                  #65119
                  Member
                  olsztyn
                    Helpful
                    Up
                    0
                    ::

                    Now, where is the number of tags set? I would like 9 tags instead of 6. And how to make this panel mouse-clickable I wonder?

                    @ andyprough:
                    Are you by chance using an already customized Herbstluftwm?
                    I am using the default one (default config) as it installs in antiX and I have 8 tags, not 6…
                    The first two tags are blank (not numbered). Numbering starts with the third tag with tag number 1. So being the third tag it requires Winkey + 3 to get to tag numbered as 1. And so on… If I want to go to tag numbered as n I need to press Winkey + (n+2).
                    If you see just 6 tags and no blank tabs at the beginning you must have different config than mine, which I thought was default, as Herbstluftwm is freshly installed.
                    Just an observation…

                    Update:
                    I may be confusing but I think I saw somewhere that the reason the first two tags are not numbered (blank) is that it is expected that a user would assign a tag label to them, being the most frequently used apps, such as Firefox or another browser. However one way or the other mapping of tag numbers to Win + n should be updated in config to be consistent.

                    • This reply was modified 1 year, 8 months ago by olsztyn.

                    Live antiX Boot Options (Previously posted by Xecure):
                    https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                    #65120
                    Member
                    ex_Koo
                      Helpful
                      Up
                      0
                      ::

                      That’s one reason why I stopped using GUI login managers. I’m also using tbsm with i3-gaps & Herbstluftwm on 19.4 core runit.

                      #65124
                      Member
                      olsztyn
                        Helpful
                        Up
                        0
                        ::

                        That’s one reason why I stopped using GUI login managers. I’m also using tbsm with i3-gaps & Herbstluftwm on 19.4 core runit.

                        I am being on the cautious side so I have a question or two before I start testing with tbsm to satisfy my curiosity rather than jumping to this solution for day-to-day operation:
                        – Am I losing anything in terms of initialization (assuming some initialization performed by SLIM) if I bypass SLIM gui login, that would impact WM session?
                        – I saw from DWM thread your example menu presented by tbsm of WMs eligible for selection. I understand your explanation that the fact tbsm has not been maintained for almost three years is not an issue since it is a very simple program and there is no need to maintain it.
                        So my question: Does tbsn remember the last selection of WM and somehow highlight it so pressing Enter would start that WM selection?
                        Thanks and Regards…

                        Live antiX Boot Options (Previously posted by Xecure):
                        https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                        #65125
                        Member
                        andyprough
                          Helpful
                          Up
                          0
                          ::

                          @ andyprough:
                          Are you by chance using an already customized Herbstluftwm?
                          I am using the default one (default config) as it installs in antiX and I have 8 tags, not 6…
                          The first two tags are blank (not numbered). Numbering starts with the third tag with tag number 1. So being the third tag it requires Winkey + 3 to get to tag numbered as 1. And so on… If I want to go to tag numbered as n I need to press Winkey + (n+2).
                          If you see just 6 tags and no blank tabs at the beginning you must have different config than mine, which I thought was default, as Herbstluftwm is freshly installed.
                          Just an observation…

                          No, I have exactly 6 tags, and I don’t have any two blank spaces, and using the Super-Shift-[tag number] combination takes me to that tag, not to a tag that’s two lower in the list. I did put in my own version of dmenu, but it was acting this way from the beginning. This is a fresh install of antiX 19.4. See attached screenshot.

                          Attachments:
                          #65127
                          Member
                          olsztyn
                            Helpful
                            Up
                            0
                            ::

                            No, I have exactly 6 tags, and I don’t have any two blank spaces, and using the Super-Shift-[tag number] combination takes me to that tag, not to a tag that’s two lower in the list.

                            Thank you…
                            This means my (I thought default) configuration is defective…Will try to identify this peculiarity…

                            • This reply was modified 1 year, 8 months ago by olsztyn.
                            • This reply was modified 1 year, 8 months ago by olsztyn.

                            Live antiX Boot Options (Previously posted by Xecure):
                            https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                            #65129
                            Moderator
                            christophe
                              Helpful
                              Up
                              0
                              ::

                              @andyprough – Those are some BIG tag numbers you got there… 😮

                              @olsztyn – I know you were looking for this earlier – on default config, going full screen should be just Mod+F.
                              Also, master volume should be Mod+shift+up|down.

                              But I don’t know how you got your tag numbering…

                              • This reply was modified 1 year, 8 months ago by christophe.

                              confirmed antiX frugaler, since 2019

                              #65131
                              Member
                              olsztyn
                                Helpful
                                Up
                                0
                                ::

                                Then I logged out and slim wouldn’t allow me to log back in, although it would log into icewm.

                                While working on identifying the reason for aforementioned peculiarity I ran into the same issue with login to Herbstluftwm from SLIM, although no such login issue for IceWM.
                                Previously I always switched to Herbsluftwm from ‘Other Desktops’ on IceWM, so never noticed this before…
                                So just to confirm your observation as happening for me too…
                                Thanks and Regards.

                                Live antiX Boot Options (Previously posted by Xecure):
                                https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                                #65133
                                Moderator
                                christophe
                                  Helpful
                                  Up
                                  0
                                  ::

                                  So, reiterating, just to put this thread back onto the track…

                                  I’m hoping for nearly the same vanilla set up with some nice hints on what we can do to spruce things up, if we desire.

                                  But whatever is decided, I know I can tweak it to my liking — and if anyone is even using a tiling wm, I’m sure they can too, with just a little bit of effort.

                                  • This reply was modified 1 year, 8 months ago by christophe.

                                  confirmed antiX frugaler, since 2019

                                Viewing 15 posts - 16 through 30 (of 44 total)
                                • You must be logged in to reply to this topic.