View previous topic :: View next topic |
Author |
Message |
whitt Tux's lil' helper
Joined: 28 Dec 2020 Posts: 131
|
Posted: Thu Jan 19, 2023 12:57 am Post subject: fluxbox as WM for KDE? |
|
|
so while poking around and trying to get latte-dock or donky-dock, conky-dock, whatever that other one is, i decided to do something i will probably regret and just installed KDE.
it's come a long way - it's not bad. i like to say i use fluxbox because it's quick, but really it's because i'm a dinosaur and i've just never gotten used to anything else. i've been using this text configured interface forever, and am now considering using fluxbox with KDE / plasma. it seems like the problems i've had are that plasma requires an absolute ton of stuff running in the background in order for KDE apps to work correctly... OK - so i'm looking for a way to use fluxbox as my WM while running KDE.
my goal is to keep the functionality and control of fluxbox, with the utility of all the plasma / KDE bloat. i'm especially interested in keeping my ~/fluxbox/menu as a desktop popup menu when i click on the desktop, as well as fluxbox's WM control of placement, transparency, decorations, etc...
is that even possible? i've found some older writeups about configuring KDE to start with another WM, but i haven't had any luck - it seems like if i start plasma, i get all of KDE and fluxbox doesn't even start...
am i fighting a lost cause? |
|
Back to top |
|
|
xhakerek n00b
Joined: 27 Oct 2008 Posts: 54 Location: Korolówka
|
Posted: Fri Jan 20, 2023 3:45 pm Post subject: |
|
|
Code: |
[Desktop Entry]
Type=XSession
Exec=env KDEWM=/usr/bin/i3 /usr/bin/startplasma-x11
DesktopNames=KDE
Name=Plasma i3 session
Comment=Plasma i3 session
|
Source:
https://github.com/avivace/dotfiles
Looks like you want a new file under /usr/share/xsessions |
|
Back to top |
|
|
whitt Tux's lil' helper
Joined: 28 Dec 2020 Posts: 131
|
Posted: Fri Jan 20, 2023 11:43 pm Post subject: |
|
|
so when i startx i'll lauch KDE using the dbus-launch startplasma xinitrc? i just run startx on login, i don't use a manager to log in.
i'll check this out tomorrow - thanks for the pointer, i hadn't seen this. |
|
Back to top |
|
|
xhakerek n00b
Joined: 27 Oct 2008 Posts: 54 Location: Korolówka
|
Posted: Sat Jan 21, 2023 12:10 am Post subject: |
|
|
If you do start X and then start plasma, try adding KDEWM environment variable:
Code: |
KDEWM=<whatever_WM_you_want> startplasma-x11
|
According to the docs mentioned, that's how it's done. |
|
Back to top |
|
|
whitt Tux's lil' helper
Joined: 28 Dec 2020 Posts: 131
|
Posted: Sat Jan 21, 2023 12:35 am Post subject: |
|
|
huh...
so in my searching, i found the Arch instructions telling me to create a custom systemd service. i see if i had kept reading, it would have also told me i could use KDEWM. let me see what happens... |
|
Back to top |
|
|
whitt Tux's lil' helper
Joined: 28 Dec 2020 Posts: 131
|
Posted: Sat Jan 21, 2023 12:52 am Post subject: |
|
|
well that was a bust... i got KDE to start but it was still intercepting mouse clicks. `ps aux|grep flux` showed fluxbox running, but i couldn't use any of my key bindings, and windows had no borders / controls. if i clicked on an icon, the KDE / plasma app wouldn't launch.
what i tried: ~/.xinitrc Code: | xrandr --output HDMI-A-0 --primary
xrandr --output HDMI-A-0 --auto --left-of DisplayPort-0
## starting up the screensaver
xscreensaver -no-splash &
## starting fluxbox
#exec startfluxbox
## starting KDE
#exec dbus-launch --exit-with-session startplasma-x11
## starting KDE w/ fluxbox WM
/usr/local/bin/fluxwm.sh |
content of /usr/local/bin/fluxwm.sh: Code: | #!/bin/bash
export KDEWM=/usr/bin/fluxbox
/usr/bin/startplasma-x11 |
and content of /usr/share/xsessions/plasma-flux.desktop: Code: | [Desktop Entry]
Type=XSession
Exec=/usr/local/bin/plasma-flux.sh
DesktopNames=KDE
Name=Plasma (flux)
Comment=KDE Plasma with fluxbox as the WM |
what am i screwing up? |
|
Back to top |
|
|
whitt Tux's lil' helper
Joined: 28 Dec 2020 Posts: 131
|
Posted: Sat Jan 21, 2023 12:39 pm Post subject: |
|
|
interesting updates...
when reading the Arch wiki, i had masked the plasma-kwin_x11 service and set up a custom wm service. after unmasking plasma-kwin and masking the custom service, i get full KDE functionality using the above setup, but no fluxbox...
there was an odd in-between phase where i had broken KDE functionality (tray was in the wrong place, window decorations weren't rendered and couldn't be moved) but i could tell fluxbox started - windows were auto launched, and i could scroll through my desktop. however KDE was still taking over mouse clicks and everything was ... not working correctly.
so anyway - still poking at this w/ little success. any pointers welcomed. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1530 Location: South America
|
Posted: Mon Jan 23, 2023 9:48 pm Post subject: |
|
|
whitt wrote: | i just run startx on login, i don't use a manager to log in. |
Your scripts don't run dbus-launch, so you don't have a per-login session message bus, and I would expect KDE components not to like that. Also, according to the commented lines, aren't you supposed to launch Fluxbox with startfluxbox?
I don't know if this will help, but I would make the following amendments to the scripts:
~/.xinitrc
Code: | xrandr --output HDMI-A-0 --primary
xrandr --output HDMI-A-0 --auto --left-of DisplayPort-0
## starting up the screensaver
xscreensaver -no-splash &
## starting fluxbox
#exec startfluxbox
## starting KDE
#exec dbus-launch --exit-with-session startplasma-x11
## starting KDE w/ fluxbox WM
exec fluxwm.sh |
/usr/local/bin/fluxwm.sh
Code: | #!/bin/bash
# I would also try just "startfluxbox", to see if plasma_session does PATH search
export KDEWM=/usr/bin/startfluxbox
exec dbus-launch --exit-with-session startplasma-x11 |
_________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
whitt Tux's lil' helper
Joined: 28 Dec 2020 Posts: 131
|
Posted: Sat Jan 28, 2023 10:59 pm Post subject: |
|
|
well... none of that helped, but thanks for trying!
i'm actually enjoying KDE - it's not too bad. i really miss my context menus, but i might find an alternative... i'll play with KDE for a bit more before abandoning fluxbox if i do, but it seems possible at this point. |
|
Back to top |
|
|
|