rickyrockrat / parcellite

GNU General Public License v3.0
220 stars 29 forks source link

No icon in system tray on debian bookworm #77

Open henrythemouse opened 2 years ago

henrythemouse commented 2 years ago

Hi,

Thanks for updating parcellite.

I'm running an enlightenment 25.3 desktop and parcellite doesn't show in the system tray. It's running, I can ctrl p and get the menu. It may be a debian package issue. Just in case any one reading here has found a solution to this problem I'd appreciate any help you can offer.

This is how parcellite starts up:

user@bookworm:~$ parcellite
Flag 0x0001, status 256, EXIT 1 STAT 1

** (parcellite:2291): WARNING **: 15:13:08.655: Binding '<Ctrl><Alt>X' failed!

** (parcellite:2291): WARNING **: 15:13:08.655: Binding '<Ctrl><Alt>A' failed!

Flag 0x0001, status 256, EXIT 1 STAT 1

When the menu is activated parcellite will return :

(parcellite:2912): Gtk-WARNING **: 15:52:18.136: Failed to set text from markup due to error parsing markup: Value of 'size' attribute on <span> tag on line 1 could not be parsed; should be an integer, or a string such as 'small', not '0'

rickyrockrat commented 2 years ago

I'm assuming other applications show up in the systray? Parcellite version you are running? I'm guessing not the latest from source. I really should tag and release a version and post RPMs and .debs.

henrythemouse commented 2 years ago

As an example, copyq does show up in the tray. On the other hand, some applets don't. Also, I tried parcellite out in LXDE (debian bullseye) and it did show in the tray. I've got parcellite version 1.2.1 installed on debian bookworm/enlightenment.

-- the latest debian changelog

parcellite (1.2.1-4) unstable; urgency=medium

  [ Hugo Lefeuvre ]
  * Enable AppIndicator support and switch over to Ayatana AppIndicator
    (thanks to Alessio Garzi for the patch !) (Closes: #909651).
  * debian/control:
    - Bump Standards-Version to 4.2.1.
    - Switch B-D from libappindicator-dev to libayatana-appindicator-dev.
  * debian/patches:
    - ayatana-appindicator.patch: switch to ayatana-appindicator.
    - fix-configure-ac.patch: fix build on sid.

 -- Thomas Koch <thomas@koch.ro>  Mon, 11 Jan 2021 14:20:14 +0100
rickyrockrat commented 2 years ago

Ahh. The never ending Gnome chase. It is difficult to keep up with all the latest fads in the appindicator things. I'll look at debian's patch and see about adding it.

henrythemouse commented 2 years ago

Is the switch to Ayatana AppIndicator for gnome compatibility? I did try parcellite under in gnome, but got nothing. Which I guessed would be the case, they usually have their software hand picked.

I'm using the debian package now (I assume with that patch) and it's not working in the Enlightenment tray.

rickyrockrat commented 1 year ago

It's the GTK stack, and it is a moving target. Unfortunately I'm already doing 80 hour plus weeks, so no time to update now. Sorry.

henrythemouse commented 1 year ago

It's the GTK stack, and it is a moving target. Unfortunately I'm already doing 80 hour plus weeks, so no time to update now. Sorry.

No worries, I understand. Thanks for the heads up.

rickyrockrat commented 7 months ago

@henrythemouse, (A year later:) I just noted your key bindings are bound by something else, so either change them or change whoever is binding them (usually the window manager), and this is why your history is not showing up. The systray is another issue. Change Ctrl-X to something else in the preferences. Also, somewhere along the line I added the Ayatana AppIndicator. Check out the latest source and see if it shows up in the systray after building it.

twb-github commented 4 months ago

Regarding system tray icon - ubuntu 20.04 - Parcellite installation works well on one computer but doesn't on another... For whatever reason. The file parcelliterc is missing and sys tray icon as well. Lucky those who can compare...

Remedial action I found in a comment of Ubuntu's software application where people left what they experienced by Parcellite installation. The recommendation, which really worked, to install the Gnome shell extension called 'Tray Icons'. As soon as installed the Parcellite icon appeared in the top bar's system tray. Well this extension seems to bypass the default Ubuntu AppIndicator, which should manage the tray icons, but cannot in every case.

Issue resolved. 'Tray Icons' extension denotes to be just a work around where Parcellite behaves similar to Xwindows. Awful... Parcellite tray icon missing is related to Ubuntu AppIndicator, where several indicator packages installed need to be checked by dpkg -l | grep indicator-. Whether they're installed (application, appmenu, bluethooth, etc.) and don't have the right state as it would be ii or missing, suggestion would to install them by Synaptic Package Manager. The reason, starting to select some packages for installation the package manager suggests to install a bunch of additional packages - necessarily needed. Log in again and the Parcellite icon appears fitting into Gnome's desktop.