ublue-os / bluefin

The next generation Linux workstation, designed for reliability, performance, and sustainability.
https://projectbluefin.io
Apache License 2.0
1.31k stars 167 forks source link

Ship logomenu by default #507

Closed castrojo closed 11 months ago

castrojo commented 1 year ago

Kyle had this great idea. I'd like to add logomenu to our panel, like this: https://github.com/Aryan20/Logomenu

image

However ... what I really want is for the icon to show the distro logo for the container userspace I am using. So by default in Bluefin that would be Ubuntu, but if you swapped it out for Alpine or Fedora then those logos would show up. And if you don't ever create a distrobox just leave the logo as Fedora or something. And they can also set one manually.

I think we'd need an agreed upon name for the default container to make it centralized. Any other ideas around this?

cc @KyleGospo @EyeCantCU

KyleGospo commented 1 year ago

How would you determine the last selected box? Trying to figure out how best to implement this

bigpod98 commented 1 year ago

yea this would be really hard to implement specially if you have bunch of boxes and use them at same time

castrojo commented 1 year ago

How about making the default box on the system be named default and then just set it according to that?

It doesn't need to be super smart or switch on demand or anything like that, just something that's a default.

castrojo commented 1 year ago

Or let the custom image set the default, in my case it would be ubuntu-toolbox and for bazzite it would be bazzite-arch, maybe an option like in this change defaults section:

image

castrojo commented 1 year ago

Or ... we could just select "Ubuntu", "Fedora", and "Wolfi" in yafti entries that just set the logo via a dconf key as part of when they're setting up their machine.

castrojo commented 1 year ago

Looks like this will be F39 only since Kyle's added some goodies but it's going to require GNOME 45+.

castrojo commented 1 year ago

Some ideas from chat:

[11:56 PM]j0rge: @KyleGospo I got it
[11:57 PM]j0rge: I totally got it
[11:57 PM]j0rge: the logo dropdown
[11:57 PM]j0rge: when you choose the "distrobox" you're going to switch into, we dynamically generate that terminal screen.
[11:57 PM]j0rge: "Welcome to your Arch userspace" and then pipe out a hyfetch on first launch or whatever
[11:58 PM]j0rge: it's like, no one is making the terminal with the nice WSL GUI, so what about moving the OS "chooser" thing to the desktop level.
[11:58 PM]j0rge: then we wouldn't need to map shortcuts to terminals and stuff
[11:58 PM]j0rge: like, the terminal would just open to what you have set as the OS
[11:59 PM]KyleGospo: Sounds great to me, we could make that a simple bash script that even calls the just command for you
[11:59 PM]j0rge: and dude we could even have an icon for "Host" when you want to just have a host terminal
[11:59 PM]KyleGospo: And then have logo menu pipe to it

The idea I wanted to capture was to use glow (which we're putting on the image) to replace the default "Here's how to use toolbox" screen in Fedora that doesn't really apply to us, so we could do something really slick there.

https://github.com/ublue-os/bluefin/issues/609