Difference between revisions of "How Enlightenment IBar app-launchers work"
Jump to navigation
Jump to search
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 11:59, 14 May 2022
The machinery behind those fragile app-launchers (the IBars) is divided between two locations:
This directory contains the launcher definitions. For example, nemo.
[Desktop Entry] Hidden=false Exec=nemo --no-desktop Icon=/usr/local/icons/Nautilus.png Type=Application NoDisplay=false Version=1.0 MimeType=inode/directory;application/x-gnome-saved-search; StartupNotify=false StartupWMClass= GenericName[en_US]= Comment=Access and organize files Categories=GNOME;GTK;Utility;Core; Terminal=false Name=Files GenericName= Icon[en_US]=/usr/local/icons/Nautilus.png Name[en_US]=Files Comment[en_US]=Access and organize files
Or for a customized launcher such as Root_shell_on_Paoha.desktop:
[Desktop Entry] Hidden=false Exec=gnome-terminal -- ssh -l root 192.168.1.2 Icon=/usr/local/icons/mono.png Type=Application NoDisplay=false Version=1.0 StartupNotify=false StartupWMClass= GenericName[en_US]= Comment=Root shell on Mono DBusActivatable=false Terminal=false Name=Root shell on Mono GenericName= Icon[en_US]=/usr/local/icons/mono.png Name[en_US]=Root shell on Mono Comment[en_US]=Root shell on Mono
~/.e/e/applications/bar/
This directory contains the groups that compose each IBar. For example, the Music group at ~/.e/e/applications/bar/Music/.order:
vlc.desktop easytag.desktop audacity.desktop org.kde.k3b.desktop pavucontrol.desktop
Both of these sets of parameters have to be in place or the launcher won't show up, even though it is defined in .local. Editing these files results real-time GUI changes. Cruft accumulates over time and hand-pruning of the files improved stability.
Configuring Shelf + IBar[s] from the GUI
To add an IBar to a Shelf:
- On desktop, left-click to open Enlightenment menu.
- Select Settings > Shelves.
- Select the shelf to edit and click Contents.
- In the Shelf Contents dialog, select IBar and click Add. [Ignore the radio buttons.] A new IBar appears in the shelf containing whatever Enlightenment thinks is the default IBar profile. Don't worry, this can be changed. Similarly, to remove an IBar, select IBar and click Remove.
To set the source data for an iBar:
- Right-click anywhere on the IBar, and navigate to IBar > Settings.
- In the Selected source list, click the desired source and then click Apply.