-
Notifications
You must be signed in to change notification settings - Fork 25
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
wayland meta issue #134
Comments
That will go in the addon package bunsen-configs-wayland. (I don't know yet if we will need separate lite/base package variants, but I'm hoping not.) We can either install a physical symlink - there are a few already in bunsen-configs - or put a line in debian/bunsen-configs-wayland.links:
It should indeed - thanks for catching the omission! Now fixed and pushed. W: bunsen-configs: recursive-privilege-change "chown -R" [postinst:41] Do we know in advance the names of the files whose perms need changing? If so then this:
looks like the way to go.
As with the bunsenlabs-session-wayland symlink, it will be installed by the (as yet nonexistent) package bunsen-configs-wayland. It should not be installed by bunsen-configs because that would cause a non-functioning boot menu item to appear for users without bunsen-configs-wayland. As for its location in the source tree, I'm thinking of wayland/ as analagous with the root directory of the full source tree, so how about putting the .desktop file in wayland/ ? Its installed location will be determined by a line in debian/bunsen-configs-wayland.install so it could in principle go anywhere in the source. The final organization of files in the source tree can be changed if it seems desirable for some reason. There are quite a lot of them though! NOTE bunsen-configs-wayland will be an addon package that depends on bunsen-configs to provide most of the necessary files. Only the extra wayland-only files will be shipped in bunsen-configs-wayland.
Yes, the files in wayland/skel can be installed by bunsen-configs-wayland into /usr/share/bunsen/skel, just like those from bunsen-configs. I don't see there being any files installed by both bunsen-configs-wayland and bunsen-configs? |
Won't at all methinks. A meta package and a netinstall should both be fine dependent on any one of the parent
I prefer the latter.
Right: should be enough to do the following:
"each file" - probably forbidden. IIRC - we have to do something similar with
And we don't want that. Ok, so I'll think of something for that.
No need for that. Everthing wayland can go in
Yes, that makes sense.
Yes |
Sure, if greetd.conf is the only file that concerns us, that should be fine.
A wild card is effectively the same as the -R chown option. I think the issue is that arbitary files will have their permissions changed, so we need to explicitly name them.
Yes I remember having to do that so the greeter could remember the previous login.
I think it's OK. Let bunsen-configs-wayland install bunsenlabs-wayland.desktop in /usr/share/wayland-sessions. The file can go in wayland/ in the source tree.
That's what I thought. |
In fact, we ought to be testing for the existence of the file - not just the directory - greetd.conf before trying to operate on it. And if bunsen-configs happens to be installed before greetd then the file won't exist. Since greetd isn't a dependency of bunsen-configs (has no reason to be) then that isn't guaranteed at all. We need to think a bit more about this - at least move that postinst code from bunsen-configs to bunsen-configs-wayland and make greetd a Recommend of bunsen-configs-wayland. (It doesn't have to be a hard Depend because LightDM is an alternative.) The same all applies to /var/cache/nwg-hello/cache.json too. Actually I don't know if that file is installed at all or created on the fly when running nwg-hello. Ideally the Debian package maintainers of greetd and nwg-hello should handle these file permissions rather than us. Maybe that will happen in future releases? |
^I was thinking that. And nwg-hello.
I checked the package, and it is installed by the package. The thing is, we are the ones who discovered these things, well you for nwg-hello cache and @nwg-piotr about the About Since |
About greetd.conf, I was forgetting that it doesn't come with greetd, but as you say, has to be created. Presumably it will be installed by bunsen-configs-wayland, in which case it's our responsibility and no worries about whether greetd was previously installed or not. Still probably good practice to do a test for its existence before chowning it in .postinst though. (/var/cache/nwg-hello/cache.json)
In that case, as you say, it sounds as if nwg-hello should apply the right permissions to cache.json. |
My emphasis added. By that rationale, we should remove the greetd stuffs from An aside: how in
How does |
Yes, good question. I don't have much time today, but please let me think about that... I seem to remember there might have been a reason to put the greetd stuff in bunsen-configs & friends.
Looks right.
No user interaction. I think dpkg will check if any of the three is installed, and if not will install the first in the list. |
Yes, I was a bit careless above - it looks at first as if there's no need for greetd configs in the Carbon Xorg system, but what I was thinking is: we don't want to have to switch between Display Managers when installing bunsen-configs-wayland on top of bunsen-configs. In fact I'm not sure how changing between LightDM and greetd-cage-nwg-hello could even be done on the fly. https://forums.bunsenlabs.org/viewtopic.php?pid=136436#p136436 So I think we'll have to choose eventually one of those two options for Carbon, and make it the default for both Xorg and Wayland. So for now I wanted to have the config files for both options available in bunsen-configs. A couple of text files don't add much bloat. If it looks possible, I'd like to stay with LightDM even for launching Wayland sessions because it's better looking than nwg-hello, has more flexibility and the interface works a bit better. But if the annoyances prove unfixable* and we have to use greetd and friends, that option can be made available now to make things smoother down the road. *) The 1s delay in startup script helps a lot with LightDM. |
Changing is manual and painful! Done it a few times but can't recall the exact commands but pretty much disable lightdm service, enable greetd service, reboot and hope for the best! I know my way round different TTY's so that's partly why I didn't use cage to begin with because the TTY support was rather new.
That's fair. And I do hope we can make everything get along with lightdm.
I'm sure we'll figure it out. I have a few bare metal test beds (including the troublesome HP) so one way or another I think we'll get lightdm to work in 99.9% of cases.
Wouldn't matter if was 2 so long as it works. |
That pesky double-cursor thing doesn't seem to be LightDM - I got it today on a nwg-hello window. Probably qemu. |
Never seen that, maybe a graphics driver issue? What native machine you using? |
Deleted the proposed fixes for yaru/adwaita focus bug, the CSS breaks the rubberband. I'm afraid the CSS has to be fixed at the base level but I can't figure it out :( |
^ As you gents know, I've been dealing with other things. But... What fix is this? I saw briefly on the forums that there is a particular focus issue for a particular instance, but has anyone filed a bug with the Ubuntu Yaru team? The major reason I proposed using Yaru as the default theme, instead of us hacking a theme via Oomox or hacking another theme, was that Ubuntu has major resources and an astronomical user base, while we're a small team of eager, well informed hobbyists (no offense). So let's file a bug first, and we can hack this issue later if nothing happens upstream. |
^Of course you are 100% right. The bug starts at the |
@johnraff post on the forum yesterday illustrates the bug https://forums.bunsenlabs.org/viewtopic.php?pid=139467#p139467 I can get it looking much better with a small external CSS file - almost not noticeable and fixed the rubber band. So if bug reports fall on deaf ears at least we have a work around. |
It's also very easy to set file highlights off by default in the user Thunar configs: |
Isn't Adwaita now libadwaita? If so... https://gitlab.gnome.org/GNOME/libadwaita/-/issues But I think the Yaru git is a better place to post the bug, as it's the current default Ubuntu gnome-shell/GTK/icon theme. Nice job finding workarounds! A small team of eager, well informed hobbyists indeed! |
An oldish HP Desktop (HP ProDesk 600 G1 SFF)
on Carbon/Wayland VM:
on Carbon/Xorg VM:
The issue only occurs when running Wayland, either a logged-in session or sometimes nwg-hello too. I don't know if this could be a hint: |
Issue filed - ubuntu/yaru#4154 |
Could be as wayland relies a lot on EGL |
Same as I posted in the yaru bug report but does a decent job of working around the issue: /* goes to $HOME/.config/gtk-3.0/gtk.css */
.thunar .view:selected { background-color: @theme_selected_bg_color; }
.thunar .view { background-color: alpha(@theme_bg_color, 0.8); } |
Just a TODO list for wayland stuffs
bunsenlabs-session-wayland -> bunsenlabs-session
bunsen-configs-[base|lite].postinst
should be GREETD="/etc/greetd"as in
bunsen-configs.postinst` or was there a reason for the omission?bunsen-configs/debian/bunsen-configs-base.postinst
Line 14 in 29f2893
/usr/share/wayland-sessions
wayland/skel
- (my job) - then figure out how to incorporate it - I'm guessing @johnraff you have an idea for that.If/when I think of more I'll add to this list.
The text was updated successfully, but these errors were encountered: