-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider using kwin_x11 instead of Openbox #164
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This is what happens if you try to install the
cc'ing @jbeich @adriaandegroot. tl;dr: helloSystem is a Qt based FreeBSD-based system that does not use the KDE Plasma desktop but its own Qt-based helloDesktop, and we would like to use KWin without having to install "half of KDE Plasma". We are also not interested in Wayland in any way, form or shape, especially given its current state on FreeBSD. |
"half of KDE-Plasma" is a terrible way to characterize this. A fair chunk of what you're seeing here is like what you had in Falkon, previously, and which I explained there: packaging is a "batteries included" exercise most of the time, so you get all the bits.
Some more effort from the helloSystem side on making packages more lightweight through flavors (like falkon@qtonly) even if it's just small patches ("here's a patch to make a @lite flavor of KWin; it's not very lite yet, but drops Wayland support" or "kwin depends on webkit through ... is that really necessary?") would go a long way here. BTW, FreeBSD PR 241490 may also be relevant for you. I suppose with "real" graphics you do need a real mesa-DRI, but keep in mind what elephant (I think it was jbeich@ who said it) gets dragged in by that. |
X11-only or Wayland-only flavors cannot be implemented globally for all packages due to lack of provides/requires support to avoid exploding the number of packages. For example, in A -> B -> C -> D dependency chain A has |
All Wayland dependencies combined likely take less than Space used per extra package
|
Thanks @jbeich , confirms what I was thinking that Wayland is not the problem here. I've got a patch lined up for ports that turns From that table of "extra space" getting rid of boost would be a real win. The point of intersection between |
Thank you very much for looking into this topic.
Yes, that's what I was thinking of. Was thinkinging that it wouldn't hurt to informally discuss with you the experts first. |
As Jan points out:
Effective changes I have already implemented, but not pushed to the ports tree (they'll land together with Plasma 5.21):
Things on @probonopd 's plate then are:
|
This comment has been minimized.
This comment has been minimized.
KWin seems to use |
You are linking to a discussion from 2013 that is discussing kde4-era kwin. You'd have a better time asking current Kwin folk on one of their support channels. There is a |
This has landed, and it'd be good to hear if that helps out your dependency size any. |
Thank you very much @adriaandegroot for you help, this is tremendous. |
So that windows minimized by KWin get animated to go to the Dock rather than where the mouse is Backport cyberos/cyber-dock@6bb30c4 cyberos/cyber-dock#5 helloSystem/hello#164
I tried installing the
Everything else is just pulled in by |
So far, so good. Edit2 things I noticed:
|
A future release will come with kwin_x11 out of the box. I am running it locally since a month now and am happy with it. It does
All of this needs to be heavily configured so that it looks and works like we want in helloSystem. I have such a configuation locally and it looks like this: |
I like the window control layout that you're using with openbox, close on the left and max on the right. |
how did elementaryos did it? they wrote their own desktop environment i believe, would that not be possible for helloSystem too? (jus thinking out loud here) Then it would be possible to slim down on all the extra requirements? |
elementary OS is using Gtk, which we do not want to use. kwin_x11 does the job nicely, been using it for a while now. |
You can get some good traffic light kwin themes on the KDE store (another of those annoying pling ones!) |
Let's move away from traffic lights to look less like "a Mac theme". Remember, the goal is to be "welcoming to switchers" but not to be a "Mac theme". The colors can be disturbing anyway. |
There is a Qml module specifically for writing compositing window managers, I'll try find it. |
Are you using Breeze Enhanced? |
Yes, for the upcoming kwin_x11 we are using a custom patched version of it: The reason why we need a custom patched version is explained here: |
Strange, I now built an ISO with |
Besides the different icons (an intentional choice to make things visually more distinctive) the look should not be that different at all. Do you think the advantages listed at #164 (comment) make it still worthwhile to pursue? |
Personally I would say no. If those extra features introduce complexity, bloat and a performance hit, then I would stay with the openbox windows as they are, they actually look very good as they are and are functional "enough", especially if you could fix the dragable corners issue .. again just my 2c. |
I think in this case getting everything under kwin would actually decrease the complexity. |
I noticed the same today. Stangely it is depending on which application is frontmost when you press Command+Space. When you click on the Desktop background and then type Command+Space, then it works. |
on 0.5.0 release yes that is true. You have to click on the desktop before you can hit Command+Space and search, you should be able to do it any time no matter what is frontmost .. On your experimental-12.2 build you linked, you can't even do that! Click on the desktop then try to use Command+Space and nothing happens, you can not try typing to search .. |
Needs to be investigated further. On my local build system, I can click on the desktop then try to use Command+Space and it works. But here I am not using the KWin.app with the stubs yet. So I need to check whether that breaks it even more than it is broken already without it... |
Regarding menu transparency:
Apparently they are loaded from |
Do we want rounded corners also at the bottom? Seems doable with KWin using |
I used this for some apps that don't have the title bar blend, like Firefox and FeatherPad.
I used KDE System Settings, it's useful for a lot of things.
YES. With the Breeze Enhanced theme, you change the window border thickness to Tiny and then you get rounded bottom corners. You also don't get the bottom right corner chopped off, AND it's easier to resize. |
If you can share your settings files, I will have a good look at them! 👍 |
I did it all through KDE System Settings. Also, for some reason I get a strange x-shaped cursor when the mouse touches the edge of the screen. |
It must have stored the settings somewhere ;-) |
I despise dconf, yet find it so useful... |
Try to reduce the transparency of blue glow to 50, the blue is a bit "dazzling" |
KWin.app breaks search in the Menu. |
This seems to be related to how we start Welcome.app; if one logs out and logs in again on the Live ISO, then it starts to work. Snap to edge is working too. Thanks @wesbluemarine for pointing in this direction. |
This was conflicting with the global menu search, helloSystem/ISO#234 helloSystem/hello#164 (comment)
This was conflicting with the global menu search, helloSystem/ISO#234 helloSystem/hello#164 (comment)
Let's see if build 0F34 improves this. |
Command+Tab can be restored by installing |
KWin ignores |
What do we have to enter in
|
helloSystem 0.6.0 has been released with KWin.app. Let's see how the feedback is. |
I love rounded corners at top and bottom, is more confortable and modern look. If does'nt exist a grafical way to make it. ¿How can I do it? |
Thanks for your feedback @alphamodh0. helloSystem is less about a "modern look" than about great user experience. We now have a resize icon at the right-hand bottom side of windows, where it belongs according to https://dl.acm.org/doi/book/10.5555/573097. For the same reason, the iterations of Mac OS X (when it still was good) had rounded corners at the top but not at the bottom of the screen. |
Using
kwin_x11
instead of Openbox would give usCascade
= staircase-by-titleAs a result, the whole desktop feels much more modern (in a positive way).
But
/usr/local/bin/kglobalaccel5
for global keyboard shortcuts such as Alt-Tab; this might mean that we should retire/usr/local/bin/lxqt-globalkeysd
; configuration lives in~/.config/kglobalshortcutsrc
Notes
/usr/local/etc/xdg/kwinrc
can be used to set another window decoration and to set the order of the buttons in the window decoration; removing the need forkcmshell5
/usr/local/etc/xdg/breezerc
can be used to configure BreezeEnhanced, the possible values are explained in https://github.com/tsujan/BreezeEnhanced/blob/master/breezesettingsdata.kcfgStarting with today's experimental ISO builds, the configuration for KWin is included on the ISO, but not KWin nor the BreezeEnhanced theme yet. For those who would try KWin on helloSystem,
sudo pkg install -y plasma5-kwin
, replaceopenbox
withkwin_x11
in/usr/local/bin/start-hello
, and build and install the BreezeEnhanced theme.The text was updated successfully, but these errors were encountered: