Pantheon without any Panel

Discussion in 'Installation' started by Hanisch, Oct 25, 2023.

  1. Hanisch

    Hanisch Thread Starter
    Expand Collapse
    Member

    Joined:
    Oct 25, 2023
    Messages:
    5
    Likes Received:
    0
    Hello,
    I have installed elementaryOS in a VirtualBox since 2014 and Upgraded all Releases inplace (not new installation from ISO).



    Show my report about my Installation https://forum.ubuntuusers.de/topic/elementary-os-eine-echte-alternative/
    Now in elementaryOS 6.1 and 7.1 I am missing the Panel in Pantheon.

    After
    sudo apt install --reinstall pantheon
    the same situation.

    How can I make this Panel visible again?

    with regards
    Ch. Hanisch
     
    #1 Hanisch, Oct 25, 2023
    Last edited: Oct 27, 2023
  2. Hanisch

    Hanisch Thread Starter
    Expand Collapse
    Member

    Joined:
    Oct 25, 2023
    Messages:
    5
    Likes Received:
    0
    Hello,
    I have found a workaround for my problem.
    $ sudo apt update
    $ sudo apt install wingpanel
    io.elementary.wingpanel

    with last command the Panel is visible in Pantheon.

    I have now in autostart:
    $ cat ~/.config/autostart/wingpanel.desktop
    [Desktop Entry]
    Type=Application
    Name=wingpanel
    Comment=Anzeige des Pantheon-Panels
    Exec=io.elementary.wingpanel
    NotShowIn=XFCE;
    StartupNotify=false
    Terminal=false
    Hidden=false

    And for the Dock in autostart:
    $ cat ~/.config/autostart/plank.desktop
    [Desktop Entry]
    Name[de]=Plank
    Categories=Utility;
    Type=Application
    Exec=plank
    Icon[de]=plank
    Icon=plank
    Terminal=false
    NoDisplay=false
    NotShowIn=XFCE;


    My question, why is this workaround necessary?

    I think the name Pantheon in
    cat /etc/xdg/autostart/plank.desktop | grep Show
    OnlyShowIn=Pantheon;
    and
    cat /etc/xdg/autostart/io.elementary.wingpanel.desktop | grep Show
    OnlyShowIn=Pantheon;
    and
    cat /etc/xdg/autostart/indicator-application.desktop | grep Show
    OnlyShowIn=Unity;GNOME;Pantheon;
    NotShowIn=ubuntu;
    are not right recognized by my elementaryOS 6.1 and 7.1 installation in Desktop Pantheon.
    The OnlyShowIn=...; option is interpreted as NotShowIn=...;.
    However, the option NotShowIn=...; has no effect, i.e. all *.desktop files with this option are displayed everywhere on all desktop interfaces.
    This is a heavy bug in elementaryOS.

    How this has come into my system - no idea.

    ChatGPT mean:
    User
    Supported defined desktop interfaces for OnlyShowIn... under elementaryOS
    ChatGPT

    As of my last knowledge update in January 2022, elementaryOS primarily uses the Pantheon desktop environment, which is based on GNOME technologies but has its own distinct interface and user experience. The OnlyShowIn field is typically used in desktop entry files to specify which desktop environments a particular application is intended to run in.

    In the case of elementaryOS with the Pantheon desktop, you'd generally use OnlyShowIn=Pantheon to specify that the application should be shown in the application menu and is meant to run specifically in the Pantheon environment.

    However, it's important to note that restricting an application to only run in Pantheon might limit its use across other desktop environments. Therefore, some developers may choose not to use this field in their applications to allow them to run on various desktop environments without restrictions.

    Please note that there might have been updates or changes in the elementaryOS or the Pantheon desktop environment after my last update. It's advisable to consult the most recent elementaryOS documentation or developer guidelines to ensure accurate information.


    with regards
    Ch. Hanisch
     
    #2 Hanisch, Oct 28, 2023
    Last edited: Nov 1, 2023

Share This Page

Loading...