FreaxMATE / mate-layouts

a simple panel layout switching application for the MATE Desktop
GNU General Public License v3.0
9 stars 3 forks source link

No layout shown in EndeavourOS #4

Open archisman-panigrahi opened 1 year ago

archisman-panigrahi commented 1 year ago

I am using EndeavourOS (a derivative of Arch with a graphical installer), and no layout is shown.

$ mate-layouts 
Current layout: endeavouros
System installed layouts: 
[]

How to install the layouts? I already have mate-tweak installed, but it only shows Fedora, GNOME2 and OpenSuse. It does not show layouts like mutiny, cupertino or redmond.

image

4ngelDus7 commented 6 months ago

Good thing I checked issues, I'm having the exact issue in Fedora even before I downloaded this because I got Mate Tweak. I'm starting to think there is another package or something we're missing. I know those layouts come out of the box on Ubuntu Mate.

Ikytsu commented 5 months ago

Me too, same issue on fedora, if anyone knows how to fix, it would be cool

Ikytsu commented 5 months ago

I am searching the issue, i think that i found it, i am gonna post again soon to help

FreaxMATE commented 5 months ago

@archisman-panigrahi EndeavourOS has the following layouts installed:

default (which shows as gnome2), fedora, mageia, ubuntu, endeavouros, linuxmint, opensuse

The other layouts like redmond or mutiny are not part of MATE only in Ubuntu MATE and some other distros.

However currently MATE Layouts only supports the Cupertino, Manjaro, Mutiny, Redmond and Gnome 2 layouts. Each of these layouts are only shown when installed and on a MATE setup with Ayatana Indicators:

Alt Text

Endeavour OS neither installs these nor supports ayatana indicators so they are not shown. Unfortunately I'm no longer using MATE as my DE and supporting the panel layout switching across multtiple distros is a complete mess. However if someone delivers a quality pull request I'll try to merge it.

FreaxMATE commented 5 months ago

Additional information:

You can check which layouts are installed with

ls /usr/share/mate-panel/layouts/

And then when looking into the file e.g. opensuse:

[Toplevel bottom]
expand=true
orientation=bottom
size=24

[Object menu-bar]
object-type=applet
applet-iid=MateMenuAppletFactory::MateMenuApplet
toplevel-id=bottom
position=0
locked=true

[Object stickynotes]
object-type=applet
applet-iid=StickyNotesAppletFactory::StickyNotesApplet
toplevel-id=bottom
position=10
locked=true

[Object window-list]
object-type=applet
applet-iid=WnckletFactory::WindowListApplet
toplevel-id=bottom
position=20
locked=true

[Object notification-area]
object-type=applet
applet-iid=NotificationAreaAppletFactory::NotificationArea
toplevel-id=bottom
position=30
panel-right-stick=true
locked=true

[Object workspace-switcher]
object-type=applet
applet-iid=WnckletFactory::WorkspaceSwitcherApplet
toplevel-id=bottom
position=20
panel-right-stick=true
locked=true

[Object clock]
object-type=applet
applet-iid=ClockAppletFactory::ClockApplet
toplevel-id=bottom
position=10
panel-right-stick=true
locked=true

[Object show-desktop]
object-type=applet
applet-iid=WnckletFactory::ShowDesktopApplet
toplevel-id=bottom
position=0
panel-right-stick=true
locked=true

there you can see which objects (and therefore sometimes special packages, here: MATE Menu)

Ikytsu commented 5 months ago

Yea, that was what i mean, just need to add the ubuntu mate (why ubuntu mate? bcs they have the more rich layouts) .layout files on the layout directory, before doing that make sure to have all dependencies needed by the layout (for example brisk menu), to take ubuntu mate .layout i made a vm and copied the layout files, for anyone who's lazy, here it is: ubuntu-mate-layouts.zip