IceWM hide titlebar

Forum Forums New users New Users and General Questions IceWM hide titlebar

  • This topic has 21 replies, 6 voices, and was last updated Oct 14-5:52 pm by ModdIt.
Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #68742
    Member
    blur13

      Hi!

      I can’t figure out how to hide/remove the titlebar from all windows. There is a hide titlebar when maximized option. There is a way to hide the titlebar for specific window classes / applications in the winoptions file. But why on earth is’nt there a universal preference for this?

      Anyone know how to do this?

      #68743
      Member
      ModdIt
        Helpful
        Up
        0
        ::

        Far better answer from xecure. Removed my post

        • This reply was modified 1 year, 6 months ago by ModdIt.
        #68744
        Forum Admin
        rokytnji
          Helpful
          Up
          0
          ::

          Never mind. My mind transposed title bar into task bar.

          • This reply was modified 1 year, 6 months ago by rokytnji.

          Sometimes I drive a crooked road to get my mind straight.
          Not all who Wander are Lost.
          I'm not outa place. I'm from outer space.

          Linux Registered User # 475019
          How to Search for AntiX solutions to your problems

          #68749
          Member
          olsztyn
            Helpful
            Up
            0
            ::

            I can’t figure out how to hide/remove the titlebar from all windows

            Are you not using DWM or Herbstluftwm as default? I think titlebar is not used in these WMs…
            Under IceWM this would be interesting though…

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

            #68750
            Member
            Xecure
              Helpful
              Up
              0
              ::

              Remove titlebar on all windows:
              1. Create a file named prefoverride in ~/.icewm/ with this content:
              TitleBarHeight=0
              2. Restart icewm session

              Remove/reactivate decorations on some windows:

              I found at the end of the icesh instructions an example that toggles between all decorations vs no decorations. I added it to a keybinding in icewm and got:

              # Toggle Window decorations On/Off
              key "Super+x" /bin/bash -c "if icesh -f motif | grep -q 'decor:$'; then icesh -f motif decor 'All'; else icesh -f motif decor ''; fi"

              antiX Live system enthusiast.
              General Live Boot Parameters for antiX.

              #68753
              Member
              olsztyn
                Helpful
                Up
                0
                ::

                Thank you Xecure.
                I will try this…
                How do you close windows without titlebar? I think the common ‘X’ in top right is also gone? I

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

                #68754
                Member
                blur13
                  Helpful
                  Up
                  0
                  ::

                  Alt+F4 is the default keybinding for closing a window, but you can change that. Once you become proficient with keybindings you realize that things like “titlebar” and “task bar” are just fluff that take up valuable screen real estate.

                  #68755
                  Member
                  olsztyn
                    Helpful
                    Up
                    0
                    ::

                    Alt+F4 is the default keybinding for closing a window, but you can change that. Once you become proficient with keybindings you realize that things like “titlebar” and “task bar” are just fluff that take up valuable screen real estate.

                    Agree and Thanks…
                    I actually forgot about Alt_F4…

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

                    #68787
                    Member
                    blur13
                      Helpful
                      Up
                      0
                      ::

                      Hi Xecure!

                      Thanks a lot for the help, it works perfectly. Before I read your post I did try setting TitleBarHeight=0 in the ~/.icewm/preferences file, but that did not work. Why does it have to be in the prefoverride file? A bit counterintuitive, at least to me, since I thought that the preferences in the home folder already did override the global settings. Or what preferences does the prefoverride file override, exactly?

                      As a sidenote, how do you know all this? Searching the internet yielded nothing even close to your solution. I’m impressed, is what I guess I’m saying.

                      #68790
                      Moderator
                      BobC
                        Helpful
                        Up
                        0
                        ::

                        If I might suggest… Did you try Alt+F11?

                        You can right click the titlebar when its there… Or right click the taskbar when its not… Fullscreen doesn’t have the titlebar.

                        prefoverride would usually go in the same folder as the rest of your icewm configuration files in $HOME/.icewm and is used for overrides to your normal configuration.

                        I have a keyboard map for IceWM, (but its tweaked to include my personal map changes). Skidoo helped me come up with a Zim based mini-help system, which I use, but there wasn’t much interest for it. The first pic shows my prefoverride file, and the second the top page of my IceWM keyboard help file. For more info on IceWM, try the IceWM manual and FAQ (on the help menu), or browse the links, or look at their github site.

                        • This reply was modified 1 year, 6 months ago by BobC.
                        #68800
                        Member
                        blur13
                          Helpful
                          Up
                          0
                          ::

                          Hi BobC,

                          Thanks for your suggestion and input! Full screen works great with one window (obviously), and using “maximize vertically” allows two windows side by side with no title bar. Its when you go beyond that, eg having a grid of windows, that the title bars get in the way. By the way, thanks for the “Wingrid” keybindings. I use them every day!

                          #68801
                          Member
                          Xecure
                            Helpful
                            Up
                            0
                            ::

                            Why does it have to be in the prefoverride file?

                            If I am not mistaken, prefoverride overrides theme preferences, so any thing that is defined by a theme will be replaced by the prefoverride configuration.
                            Example: if you prefer window-control buttons on the left, like on MacOS, then you will always have them there no matter the theme you use if you set it up in prefoverride.

                            Or what preferences does the prefoverride file override, exactly?

                            I am no icewm expert, but on reading many topics by BobC I understood (or want to believe it is so) that preferences are related to icewm general options (if there is a toolbar, how icewm in general works, etc.). To keep some theme configurations the same (like using the same fonts or toolbar height), prefoverride was created.
                            (All this is speculation, so don’t quote me on the above).

                            As a sidenote, how do you know all this?

                            BobC and Moddit are to blame. Though I don’t use icewm myself, I have read too many of their topics and tried to help out when I could. The man pages for icewm are veeeery long, and options are very well documented there, but it gets so long you can easily miss out on the exact piece of text you need.

                            antiX Live system enthusiast.
                            General Live Boot Parameters for antiX.

                            #68812
                            Moderator
                            BobC
                              Helpful
                              Up
                              0
                              ::

                              Here is the whole IceWM Keyboard help file that I made. You could check it against the keyboard and preferences files to find/remove any of my additions I left in by mistake.

                              PS: prefoverride is where you put settings that will override preferences or themes settings

                              IceWM-Keyboard
                              ==============
                              Ctrl+Esc Main Menu
                              Alt+Tab Switch Next Window Select
                              Alt+Shift+Tab Switch Previous Window Select
                              Alt+Esc Next Window
                              Alt+Shift+Esc Prev Window
                              Alt+Space Window Menu
                              Shift+Esc Window Properties
                              Ctrl+Space App-Select
                              Alt+Ctrl+Esc Window List
                              Alt+Ctrl+Space Address Bar (command entry)

                              Alt+Shift+F1 Raise Window
                              Alt+F2 Run Program in New Window
                              Alt+F3 Lower Window
                              Alt+F4 Close App and Window
                              Alt+F5 Restore Window
                              Alt+F6 Next Window
                              Alt+Shift+F6 Previous Window
                              Alt+F7 Move Window
                              Alt+F8 Resize Window
                              Alt+F9 Minimize Window
                              Alt+F10 Maximize Window
                              Alt+F11 Fullscreen toggle
                              Alt+F12 RollUp/Down Window

                              Ctrl+Shift+a Arrange Windows
                              Ctrl+Shift+u Undo Arrange

                              Alt+Shift+F2 Tile Windows Vertical
                              Alt+Shift+F3 Tile Windows Horizontal
                              Alt+Shift+F4 Cascade Windows
                              Alt+Shift+F5 Arrange Windows
                              Alt+Shift+F7 Undo Arrange
                              Alt+Shift+F8 Arrange Icons
                              Alt+Shift+F9 Minimize All Windows
                              Alt+Shift+F11 Hide All Windows
                              Alt+Shift+F12 Hide Window

                              # Standard Programs
                              Alt+Ctrl+t Terminal

                              # Wingrid on Number row – resize and move window to quadrant or half screen sized window
                              Alt+Ctrl+1 Left
                              Alt+Ctrl+2 Right
                              Alt+Ctrl+3 Top
                              Alt+Ctrl+4 Bottom
                              Alt+Ctrl+5 Top Left
                              Alt+Ctrl+6 Top Right
                              Alt+Ctrl+7 Bottom Left
                              Alt+Ctrl+8 Bottom Right
                              Alt+Ctrl+9 Maximize
                              Alt+Ctrl+0 Close
                              Alt+Ctrl+minus Shrink
                              Alt+Ctrl+equal Grow
                              Alt+Ctrl+plus Grow
                              Alt+Ctrl+grave Center

                              # Wingrid on Ctrl+ Numeric Keypad rose
                              Ctrl+Shift+KP_Left Left
                              Ctrl+Shift+KP_Right Right
                              Ctrl+Shift+KP_Up Top
                              Ctrl+Shift+KP_Down Bottom
                              Ctrl+Shift+KP_Home Top Left
                              Ctrl+Shift+KP_Prior Top Right
                              Ctrl+Shift+KP_End Bottom Left
                              Ctrl+Shift+KP_Next Bottom Right
                              Ctrl+Shift+KP_Insert Maximize
                              Ctrl+Shift+KP_Begin Center
                              Ctrl+Shift+KP_Delete Close
                              Ctrl+Shift+KP_Add Grow
                              Ctrl+Shift+KP_Subtract Shrink

                              # WinArrange on Numeric Keypad Rose
                              Alt+Ctrl+KP_Left Move window to Left
                              Alt+Ctrl+KP_Right Move window to Right
                              Alt+Ctrl+KP_Up Move window Top
                              Alt+Ctrl+KP_Down Move window to Bottom
                              Alt+Ctrl+KP_Home Move window to Top Left
                              Alt+Ctrl+KP_Prior Move window Top Right
                              Alt+Ctrl+KP_End Move window to Bottom Left
                              Alt+Ctrl+KP_Next Move window to Bottom Right
                              Alt+Ctrlq+KP_Begin Center window

                              # Sound Volume
                              Alt+Ctrl+KP_Divide Lower volume
                              Alt+Ctrl+KP_Multiply Raise volume
                              Alt+Ctrl+KP_Insert Mute on/off

                              Alt+Ctrl+Down Collapse TaskBar
                              Alt+Ctrl+v Maximize Window Vertical
                              Alt+Ctrl+h Maximize Window Horizontal

                              Alt+Ctrl+Left Switch to Previous Workspace
                              Alt+Ctrl+Right Switch to Next Workspace
                              Alt+Ctrl+Shift+Left Take Window to Previous Workspace
                              Alt+Ctrl+Shift+Right Take Window to Next Workspace
                              Alt+Ctrl+Shift+Down Take Window to Last Workspace

                              Alt+1 Switch to Workspace 1
                              Alt+2 Switch to Workspace 2
                              Alt+3 Switch to Workspace 3
                              Alt+4 Switch to Workspace 4
                              Alt+5 Switch to Workspace 5
                              Alt+6 Switch to Workspace 6
                              Alt+7 Switch to Workspace 7
                              Alt+8 Switch to Workspace 8
                              Alt+9 Switch to Workspace 9
                              Alt+0 Switch to Workspace 10
                              Alt+bracketleft Switch to Workspace 11
                              Alt+bracketright Switch to Workspace 12

                              Alt+Ctrl+Shift+1 Take Window to Workspace 1
                              Alt+Ctrl+Shift+2 Take Window to Workspace 2
                              Alt+Ctrl+Shift+3 Take Window to Workspace 3
                              Alt+Ctrl+Shift+4 Take Window to Workspace 4
                              Alt+Ctrl+Shift+5 Take Window to Workspace 5
                              Alt+Ctrl+Shift+6 Take Window to Workspace 6
                              Alt+Ctrl+Shift+7 Take Window to Workspace 7
                              Alt+Ctrl+Shift+8 Take Window to Workspace 8
                              Alt+Ctrl+Shift+9 Take Window to Workspace 9
                              Alt+Ctrl+Shift+0 Take Window to Workspace 10
                              Alt+Ctrl+Shift+bracketleft Take Window to Workspace 11
                              Alt+Ctrl+Shift+bracketright Take Window to Workspace 12

                              Ctrl-Shift-KP Left Move to Prev
                              Ctrl-Shift-KP Right Move to Next
                              Ctrl-Alt-1/2 Goto Workspace Number
                              Ctrl-Alt-Arrow Prev/Next Workspace

                              Ctrl-Shift-i Arrange Icons
                              Ctrl-Alt-d Show Desktop toggle

                              Alt+grave Switch Class
                              Alt+Ctrl+Del System Dialog

                              # Unassigned
                              #DISABLED#Ctrl-Shift-c Cascade Windows
                              #DISABLED#Ctrl-Shift-h Tile Windows Horizontal
                              #DISABLED#Ctrl-Shift-v Tile Windows Vertical
                              ### SysWorkspaceLast=
                              # WinOccupyAll=Alt+F2
                              # TaskBarSwitchNext=
                              # Switch to the previous window in the Task Bar
                              # TaskBarSwitchPrev=
                              # Move the Task Bar button of the current window right
                              # TaskBarMoveNext=
                              # Move the Task Bar button of the current window left
                              # TaskBarMovePrev=
                              SysWorkspaceLast=
                              SysCollapseTaskBar=

                              • This reply was modified 1 year, 6 months ago by BobC.
                              #68822
                              Member
                              ModdIt
                                Helpful
                                Up
                                0
                                ::

                                Hi BobC, thanks for the detailed key help, I will make a desk copy but have little hope that users will
                                learn any of it.

                                I despair that they still use the mouse for everything and think I do magic with the basic mark copy cut paste delete
                                commands, Claws mail filtering setup is from harry the plotter or star wars 5..

                                Maybe now with the move to university they will start to appreciate more efficient methods.

                                Lot still writing on an iPad with a plastik thingy !, get text recognised or often garbage produced, reads like vogon 6.

                                These are the creme of the German school system, one the student of the year from a major school, all are expected to be computer
                                literate but either too lazy or think the future belongs to sales promoting voice to text (er garbage gobbledegook) and other madness.

                                Really like MontyPython when several kids all try to speak to an iplod in a s,mall room, get mad and frustrated. Maybe one day they will
                                discover effiency, see somebody touchtyping with Tex.

                                That leaves me to search for a linux version of an application I used on Atari ST, made tex easy enough for even me to use it :-). I think
                                it was called LyX.

                                #68823
                                Member
                                ModdIt
                                  Helpful
                                  Up
                                  0
                                  ::

                                  @ blur13 there is a wealth of useful tweaks and setup info in some of the Icewm setup threads.
                                  BobC, PPC and others gave a great del of help, information and scripts for which I am very thankful,
                                  even inspired me to script a few onerous tasks like cleaning up firefox after every update.

                                  When I start with a naked setup it feels like something from a past era. Like BobC I rarely use menus,
                                  just task bar starters. Have experimented with keycodes to start the applications which I do not autostart
                                  on standard desktops. By the time user x has cly clicky opened claws my mail is on the desktop 1 filtered
                                  and ready for attention.

                                  Efficient setup must not be limited to ICE, there is also a wealth of info for other desktops in past threads.
                                  Some very good tools too. I just got my old head around one desktop and found it so good for use case that every
                                  time I try other options I find it gets the job done well enough to stay.

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