From: Mark T. <ma...@fl...> - 2022-10-18 20:03:45
|
Hi Javier, We certainly haven't intended to lose support for those configuration options, but they probably haven't been tested well. Based on the linker errors, I'm guessing the issue is just with --disable-toolbar. It looks like some of the toolbar code is getting referenced from IconButton (which I think is used for both toolbar buttons and titlebar buttons, but I haven't really looked at the code in ten years), so it probably just needs some IFDEFs. Have you tried running fluxbox with a toolbar and "session.screen0.toolbar.visible: False" in your init file? That's more likely to have been tested than the -no-toolbar command line option. Fluxbox itself doesn't set any wallpapers. If you have "background: none" in your overlay file, then it shouldn't change when you restart fluxbox. In any case, the wallpaper is handled by a shell script called fbsetbg. Most problems with wallpapers can be solved by installing feh, but if that doesn't work for you, you are welcome to inspect and do whatever you want to that shell script. The issue with losing window decorations is certainly puzzling. Your X server should be storing those. I'm afraid I don't have any practical advice on that. What happens if you minimize the window and restore it, or change workspaces and back? Cheers, Mark On Tue, Oct 18, 2022 at 10:33 AM Javier via Fluxbox-devel < flu...@li...> wrote: > Hello ! > > I've been using fluxbox-wm [1] from AUR (Artix/Arch), which is no more > than fluxbox built with: > > > --disable-slit \ > > --disable-systray \ > > --disable-toolbar > > In addition to the other configuration options stock fluxbox Arch sets... > I have to build fluxbox that way, since plain fluxbox has several issues > running with lxqt and picom. > > To start with, even while calling plain fluxbox with **-no-toolbar > -no-slit**, it so happens fluxbox starts effectively with no toolbar, but > with an empty space as if it has a toolbar. And one can sort of work > around that by restarting fluxbox by calling the fluxbox **Restart** > command, however it's like if fluxbox was setting a fullscreen wallpaper on > the space excluding the lxqt panel, which is really weird to start with, > since I set the overlay with background **unset** or **none**, and removing > **lastwallpaper** doesn't help either. What's worse, even after restarting > fluxbox, it's like there were 2 wallpapers, one shrinked on top of the > other non shrinked, and it really looks ugly. > > Those issues are only present if not building fluxbox with > **--disable-slit --disable-systray --disable-toolbar**. Whereas if > building it with them, none of those issues show up. > > However, I'm experiencing that after a while of having the screen both > locked down, and auto turned off or turned off, when turning the screen > back on, and unlocking, although fluxbox is still alive, the windows > decorations are lost, so windows have already lost their titlebar for > example. The only way to recover them is to call the fluxbox **Restart** > command. This happens more frequently on lower end boxes. > > So I tried moving from current commit SHA on the fluxbox-wm AUR package > (e2cbd179ecb2ef2d76e0ad1fde84b44325305799) to the same commit SHA the Arch > fluxbox package is using (1d19662c8975e881b4fa6465a8305be3ea5282ee). > Notice the commit stock Arch is using is just 6 commits behind head of > master, while the fluxbox-wm from AUR (again same package, just to build > without slit, toolbar and tray), is a bunch of commits behind. When moving > to the newer stock Arch fluxbox commit, the following linking error while > building shows up: > > > g++ -DHAVE_CONFIG_H -I. -include ./config.h -march=x86-64 > -mtune=generic -O2 -pipe -fno-plt -fexceptions > -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security > -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -MT > src/defaults.o -MD -MP -MF $depbase.Tpo -c -o src/defaults.o > src/defaults.cc &&\ > > mv -f $depbase.Tpo $depbase.Po > > g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions > -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security > -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS > -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o fluxbox > src/fluxbox-AlphaMenu.o src/fluxbox-ArrowButton.o > src/fluxbox-AttentionNoticeHandler.o src/fluxbox-CascadePlacement.o > src/fluxbox-ClientMenu.o src/fluxbox-ClientPattern.o > src/fluxbox-ColSmartPlacement.o src/fluxbox-CommandDialog.o > src/fluxbox-ConfigMenu.o src/fluxbox-CurrentWindowCmd.o > src/fluxbox-FbAtoms.o src/fluxbox-FbCommands.o src/fluxbox-FbMenu.o > src/fluxbox-FbMenuParser.o src/fluxbox-FbRootWindow.o > src/fluxbox-FbWinFrame.o src/fluxbox-FbWinFrameTheme.o > src/fluxbox-FocusControl.o src/fluxbox-FocusableList.o > src/fluxbox-HeadArea.o src/fluxbox-IconButton.o src/fluxbox-IconbarTheme.o > src/fluxbox-Keys.o src/fluxbox-LayerMenu.o src/fluxbox-MenuCreator.o > src/fluxbox-MinOverlapPlacement.o src/fluxbox-OSDWindow.o > src/fluxbox-Resources.o src/fluxbox-RootCmdMenuItem.o > src/fluxbox-RootTheme.o src/fluxbox-RowSmartPlacement.o > src/fluxbox-Screen.o src/fluxbox-ScreenPlacement.o > src/fluxbox-ScreenResource.o src/fluxbox-SendToMenu.o > src/fluxbox-ShortcutManager.o src/fluxbox-StyleMenuItem.o > src/fluxbox-TextDialog.o src/fluxbox-TooltipWindow.o > src/fluxbox-UnderMousePlacement.o src/fluxbox-WinButton.o > src/fluxbox-WinButtonTheme.o src/fluxbox-WinClient.o src/fluxbox-Window.o > src/fluxbox-WindowCmd.o src/fluxbox-WindowState.o src/fluxbox-Workspace.o > src/fluxbox-WorkspaceCmd.o src/fluxbox-WorkspaceMenu.o src/fluxbox-Xutil.o > src/fluxbox-fluxbox.o src/fluxbox-main.o src/fluxbox-cli_cfiles.o > src/fluxbox-cli_options.o src/fluxbox-cli_info.o src/fluxbox-Ewmh.o > src/fluxbox-Remember.o libFbTk.a src/defaults.o -lfontconfig -lfreetype > -lfreetype -lfribidi -lImlib2 -lXrandr -lXext -lXft -lXinerama -lXpm > -lX11 -lXrender -lX11 -lX11 -lrt -lm > > /usr/bin/ld: src/fluxbox-IconButton.o: warning: relocation against > `_ZN11IconbarTool21s_iconifiedDecorationB5cxx11E' in read-only section > `.text' > > /usr/bin/ld: src/fluxbox-IconButton.o: in function > `IconButton::setupWindow()': > > IconButton.cc:(.text+0x132b): undefined reference to > `IconbarTool::s_iconifiedDecoration[abi:cxx11]' > > /usr/bin/ld: IconButton.cc:(.text+0x133f): undefined reference to > `IconbarTool::s_iconifiedDecoration[abi:cxx11]' > > /usr/bin/ld: IconButton.cc:(.text+0x1350): undefined reference to > `IconbarTool::s_iconifiedDecoration[abi:cxx11]' > > /usr/bin/ld: warning: creating DT_TEXTREL in a PIE > > collect2: error: ld returned 1 exit status > > make[2]: *** [Makefile:2165: fluxbox] Error 1 > > make[2]: Leaving directory > '/home/general/.pkgs/src/others/fluxbox-wm/src/fluxbox' > > make[1]: *** [Makefile:4901: all-recursive] Error 1 > > make[1]: Leaving directory > '/home/general/.pkgs/src/others/fluxbox-wm/src/fluxbox' > > make: *** [Makefile:1760: all] Error 2 > > ==> ERROR: A failure occurred in build(). > > Aborting... > > > > I then tried building with the head of master commit > (9d8202f32338a3f08d3fa39057dc5eec5d97be4e), to see if that was somehow > fixed, and I got exactly the same error. So it seems building with > **--disable-slit --disable-systray --disable-toolbar** is not working > anymore after commit e2cbd179ecb2ef2d76e0ad1fde84b44325305799. Please > notice if I build the same fluxbox commit, but without those options, it > builds just fine, but that's not what I'm looking for. The fluxbox-wm AUR > maintainer mentioned e2cbd179ecb2ef2d76e0ad1fde84b44325305799 is sort of > the last commit which builds fine with those options [3]... > > Has support to build recent fluxbox commits with **--disable-slit > --disable-systray --disable-toolbar** being dropped? It seems it's the > only way I can get it working with lxqt and picom. > > Please let me know. > > Thanks ! > > -- > Javier > > > [1] https://aur.archlinux.org/packages/fluxbox-wm > [2] https://archlinux.org/packages/extra/x86_64/fluxbox > [3] https://aur.archlinux.org/packages/fluxbox-wm#comment-885519 > _______________________________________________ > Fluxbox-devel mailing list > Flu...@li... > https://lists.sourceforge.net/lists/listinfo/fluxbox-devel > |