This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE5 Plasma Dropbox Systray Icon

Tags: None
(comma "," separated)
tekkkz
Registered Member
Posts
1
Karma
0

KDE5 Plasma Dropbox Systray Icon

Fri Aug 14, 2015 7:16 am
Hello!
I'm on Arch Linux with KDE5 Plasma.
I know that there are some difficulties with the system tray, but
#1 I have read that dropbox uses Qt5 now
#2 I have 2 machines, one tower with NVidia graphic card and a thinkpad with AMD graphic chip

My problem:
On my tower I get the dropbox systray icon into my sytem tray at the main panel, but at the thinkpad it doesn't appears.

I can verify that it uses Qt5:
Code: Select all
[tekkkz@pc dropbox]$ ls -lh
total 120M
-rw-r--r-- 1 root root  48K Aug 13 15:50 ACKNOWLEDGEMENTS
-rw-r--r-- 1 root root  31K Aug 13 15:50 Crypto.Cipher._AES.so
-rw-r--r-- 1 root root  16K Aug 13 15:50 Crypto.Hash._SHA256.so
-rw-r--r-- 1 root root  16K Aug 13 15:50 Crypto.Util._counter.so
-rw-r--r-- 1 root root  11K Aug 13 15:50 Crypto.Util.strxor.so
-rw-r--r-- 1 root root 2.8M Aug 13 15:50 PyQt5.QtCore.so
-rw-r--r-- 1 root root 214K Aug 13 15:50 PyQt5.QtDBus.so
-rw-r--r-- 1 root root 3.1M Aug 13 15:50 PyQt5.QtGui.so
-rw-r--r-- 1 root root 749K Aug 13 15:50 PyQt5.QtNetwork.so
-rw-r--r-- 1 root root 231K Aug 13 15:50 PyQt5.QtPrintSupport.so
-rw-r--r-- 1 root root 782K Aug 13 15:50 PyQt5.QtQml.so
-rw-r--r-- 1 root root 918K Aug 13 15:50 PyQt5.QtQuick.so
-rw-r--r-- 1 root root 169K Aug 13 15:50 PyQt5.QtWebKit.so
-rw-r--r-- 1 root root 300K Aug 13 15:50 PyQt5.QtWebKitWidgets.so
-rw-r--r-- 1 root root 5.2M Aug 13 15:50 PyQt5.QtWidgets.so
-rw-r--r-- 1 root root  49K Aug 13 15:50 README
-rw-r--r-- 1 root root    5 Aug 13 15:50 VERSION
-rw-r--r-- 1 root root  13K Aug 13 15:50 _bisect.so
-rw-r--r-- 1 root root  11K Aug 13 15:50 _cffi__x66cf7a7cx17a72769.so
-rw-r--r-- 1 root root  11K Aug 13 15:50 _cffi__xf5cf6433xf9a35663.so
-rw-r--r-- 1 root root 143K Aug 13 15:50 _codecs_cn.so
-rw-r--r-- 1 root root 155K Aug 13 15:50 _codecs_hk.so
-rw-r--r-- 1 root root  27K Aug 13 15:50 _codecs_iso2022.so
-rw-r--r-- 1 root root 259K Aug 13 15:50 _codecs_jp.so
-rw-r--r-- 1 root root 131K Aug 13 15:50 _codecs_kr.so
-rw-r--r-- 1 root root 107K Aug 13 15:50 _codecs_tw.so
-rw-r--r-- 1 root root  40K Aug 13 15:50 _collections.so
-rw-r--r-- 1 root root  34K Aug 13 15:50 _csv.so
-rw-r--r-- 1 root root 130K Aug 13 15:50 _ctypes.so
-rw-r--r-- 1 root root  85K Aug 13 15:50 _curses.so
-rw-r--r-- 1 root root 184K Aug 13 15:50 _dbus_bindings.so
-rw-r--r-- 1 root root  54K Aug 13 15:50 _elementtree.so
-rw-r--r-- 1 root root  16K Aug 13 15:50 _functools.so
-rw-r--r-- 1 root root  22K Aug 13 15:50 _heapq.so
-rw-r--r-- 1 root root 163K Aug 13 15:50 _io.so
-rw-r--r-- 1 root root  41K Aug 13 15:50 _json.so
-rw-r--r-- 1 root root  11K Aug 13 15:50 _librsync.so
-rw-r--r-- 1 root root  20K Aug 13 15:50 _locale.so
-rw-r--r-- 1 root root  21K Aug 13 15:50 _lsprof.so
-rw-r--r-- 1 root root  39K Aug 13 15:50 _multibytecodec.so
-rw-r--r-- 1 root root  29K Aug 13 15:50 _multiprocessing.so
-rw-r--r-- 1 root root  20K Aug 13 15:50 _posixsubprocess.so
-rw-r--r-- 1 root root  15K Aug 13 15:50 _random.so
-rw-r--r-- 1 root root  49K Aug 13 15:50 _struct.so
-rw-r--r-- 1 root root  50K Aug 13 15:50 array.so
-rw-r--r-- 1 root root  25K Aug 13 15:50 binascii.so
-rw-r--r-- 1 root root  94K Aug 13 15:50 cPickle.so
-rw-r--r-- 1 root root  23K Aug 13 15:50 cStringIO.so
drwxr-xr-x 4 root root 4.0K Aug 13 15:50 certifi-14.5.14-py2.7.egg
drwxr-xr-x 4 root root 4.0K Aug 13 15:50 cffi-0.8.6-py2.7-linux-x86_64.egg
-rw-r--r-- 1 root root 103K Aug 13 15:50 datetime.so
-rw-r--r-- 1 root root  23K Aug 13 15:50 dbus.mainloop.pyqt5.so
-rwxr-xr-x 1 root root  21M Aug 13 15:50 dropbox
drwxr-xr-x 4 root root 4.0K Aug 13 15:50 dropbox_sqlite_ext-0.0-py2.7.egg
-rwxr-xr-x 1 root root  248 Aug 13 15:50 dropboxd
-rw-r--r-- 1 root root  46K Aug 13 15:50 fastpath.so
-rw-r--r-- 1 root root  28K Aug 13 15:50 faulthandler.so
-rw-r--r-- 1 root root  22K Aug 13 15:50 fcntl.so
drwxr-xr-x 5 root root 4.0K Aug 13 15:50 futures-2.1.3-py2.7.egg
-rw-r--r-- 1 root root  12K Aug 13 15:50 grp.so
drwxr-xr-x 4 root root 4.0K Aug 13 15:50 images
-rw-r--r-- 1 root root  63K Aug 13 15:50 itertools.so
-rw-r--r-- 1 root root 515K Aug 13 15:50 libGL.so.1
-rw-r--r-- 1 root root 5.2M Aug 13 15:50 libQt5Core.so.5
-rw-r--r-- 1 root root 525K Aug 13 15:50 libQt5DBus.so.5
-rw-r--r-- 1 root root 5.8M Aug 13 15:50 libQt5Gui.so.5
-rw-r--r-- 1 root root 1.5M Aug 13 15:50 libQt5Network.so.5
-rw-r--r-- 1 root root 378K Aug 13 15:50 libQt5OpenGL.so.5
-rw-r--r-- 1 root root 411K Aug 13 15:50 libQt5PrintSupport.so.5
-rw-r--r-- 1 root root 4.2M Aug 13 15:50 libQt5Qml.so.5
-rw-r--r-- 1 root root 4.0M Aug 13 15:50 libQt5Quick.so.5
-rw-r--r-- 1 root root 268K Aug 13 15:50 libQt5Sql.so.5
-rw-r--r-- 1 root root  33M Aug 13 15:50 libQt5WebKit.so.5
-rw-r--r-- 1 root root 275K Aug 13 15:50 libQt5WebKitWidgets.so.5
-rw-r--r-- 1 root root 6.7M Aug 13 15:50 libQt5Widgets.so.5
-rw-r--r-- 1 root root 5.9K Aug 13 15:50 libX11-xcb.so.1
-rw-r--r-- 1 root root  43K Aug 13 15:50 libdrm.so.2
-rw-r--r-- 1 root root  55K Aug 13 15:50 libffi.so.6
-rw-r--r-- 1 root root  16M Aug 13 15:50 libicudata.so.42
-rw-r--r-- 1 root root 1.7M Aug 13 15:50 libicui18n.so.42
-rw-r--r-- 1 root root 1.5M Aug 13 15:50 libicuuc.so.42
-rw-r--r-- 1 root root  43K Aug 13 15:50 libpopt.so.0
lrwxrwxrwx 1 root root    7 Aug 13 15:50 library.zip -> dropbox
-rw-r--r-- 1 root root  59K Aug 13 15:50 librsync.so.1
-rw-r--r-- 1 root root  56K Aug 13 15:50 math.so
-rw-r--r-- 1 root root  25K Aug 13 15:50 mmap.so
drwxr-xr-x 3 root root 4.0K Aug 13 15:50 mock-1.0.1-py2.7.egg
-rw-r--r-- 1 root root  46K Aug 13 15:50 operator.so
-rw-r--r-- 1 root root  64K Aug 13 15:50 parser.so
drwxr-xr-x 3 root root 4.0K Aug 13 15:50 plugins
drwxr-xr-x 4 root root 4.0K Aug 13 15:50 psutil-2.2.1-py2.7-linux-x86_64.egg
-rw-r--r-- 1 root root 256K Aug 13 15:50 pyexpat.so
-rw-r--r-- 1 root root   33 Aug 13 15:50 qt.conf
drwxr-xr-x 4 root root 4.0K Aug 13 15:50 requests-1.2.3-py2.7.egg
-rw-r--r-- 1 root root  11K Aug 13 15:50 resource.so
drwxr-xr-x 2 root root 4.0K Aug 13 15:50 resources
-rw-r--r-- 1 root root  28K Aug 13 15:50 select.so
drwxr-xr-x 6 root root 4.0K Aug 13 15:50 setuptools-12.3-py2.7.egg
-rw-r--r-- 1 root root 130K Aug 13 15:50 sip.so
-rw-r--r-- 1 root root  31K Aug 13 15:50 strop.so
-rw-r--r-- 1 root root  25K Aug 13 15:50 termios.so
-rw-r--r-- 1 root root  24K Aug 13 15:50 time.so
drwxr-xr-x 4 root root 4.0K Aug 13 15:50 tornado-4.0.2-py2.7-linux-x86_64.egg
-rw-r--r-- 1 root root 681K Aug 13 15:50 unicodedata.so
-rw-r--r-- 1 root root  44K Aug 13 15:50 wmctrl
-rw-r--r-- 1 root root  27K Aug 13 15:50 zlib.so


So why could the systray icon be NOT shown on the thinkpad and how to solve this?

I hope you can help me,
Thanks,

Tekkkz (Martin Fischer)
jakedarcy
Registered Member
Posts
33
Karma
0
No, it doesn't appear on my manjaro at all. Plasma5 has many problems on my side and this is only one of them.
piedro
Registered Member
Posts
374
Karma
1
OS
I have the same problem, would someone please tell us what is going on here?

1. Does it really use QT5?
2. What do we have to do to the panel to make it show?

thx, p.
luebking
Karma
0
Wild guess, don't use dropbox:
That dropbox installation seems to come with a bundled Qt (though it's Qt5) which probably won't open plugins (at least this was the case with bundled Qt4 copies, license mumbojumbo, I think) and thus not the KDE platform theme plugin, which provides the systray implementation.
piedro
Registered Member
Posts
374
Karma
1
OS
I do not think that is correct. I can install dropbox 3.10.8 om Arch.

When I start it after exporting the LANG=$LANGUAGES it starts with a nice icon and all the right click functionality on the icon as one would expect.

Restarting KDE I still get dropbox working in the background only the icon disappeared. So KDE can show the icon easily and without any additional software for the tray.

Troubleshooting KDE stuff is annoying at the moment. Nobody seems to know how stuff works, what is a bug, what a feature, the versions melted together by distributions and the status on ports to KF5 aren't consistent at all. Documentation is so outdated and that I would consider it misleading at best in most cases.

Why is the LANGUAGES variable used incorrectly in KDE? Or is it just my localization (german that is)? I wrote a bug report (no answer). Is the language variable responsible for the icon not showing? If I find and use a workaround will it be useless with the next update? Who knows...

Don't use dropbox? Seriously? So KDE is the one desktop that I cannot use because some of my clients need me to use dropbox (which is the de facto standard for easy file syncing for many people and small businesses).

So the conclusion here is: If you need dropbox the KDE forums tell you to drop it (or in consequence if you really need it just don't use KDE!).

@luebking: I really value your expertise in many cases but "Do not use dropbox" cause KDE is not the right platform to run one of the most popluar QT5 applications is really bad advice in my opinion...

Anyways, as I do not have a solution either, though I recommend looking at the dropbox ARCH wiki for lots of useful information, I am glad that dropbox at least started as a systemd user service on my system (fully updated ARCH). The disappearance of the icon is still a nuisance but at least the dolphin service menu works and offers some dropbox functionality...

cheers, p.
luebking
Karma
0
No idea why dropbox relies on the LANG environment being set, but simply fix your system then.
$LANGUAGES is btw. completely empty here.

=> /etc/locale.conf
LANG="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="C"


My answer speculated on the cause being the bundled Qt version and *if* dropbox would bundle and resolve a crippled Qt version, you're indeed completely screwed and can expect a hell lot of random stuff to do not work. Whether the AUR package does so, I don't know (but I actually hope not)
Bananiel
Registered Member
Posts
1
Karma
0
I just installed openSuse Leap 42.1. Not as easy as I would like...
However it now works.
I had my own user-id with Dropbox under 13.2 and now things work again. Then under Leap 42.1 I made a new user-id for my job as club-manager (sports club). Also with its own account for Dropbox, so that the two will not interfere.

In the old account Dropbox works, but in systray NO icon of Dropbox is visible.
In the new account Dropbox works also and in systray there IS an icon of Dropbox present.
That means i.m.h.o. that there must be a configuration file somewhere with settings different for both user-id-s, responsible for this difference in behaviour.

I have not been able to find anywhere a configuration file that will allow me to have the Dropbox-icon show up in systray in my old account.

Anybody out there who can help me out with this?

Bananiel

PS: making a third user with Dropbox working and icon in systray and thereafter moving all my data to that third user account is, of course, a possibility, but a far cry from an elegant solution.
User avatar
LukasT.dev
KDE Developer
Posts
209
Karma
1
OS
Try to read this one:
https://blog.martin-graesslin.com/blog/ ... ray-icons/

It might be dated, but you might find some hints there.


Daylight is coming...
Krita developer | http://lukast.mediablog.sk/log
piedro
Registered Member
Posts
374
Karma
1
OS
Thx for your help.

So this is just a late feedback. The blog entry didn't help but after some updates now there is a transparent icon even showing the dropbox activity just there is no icon itself just an empty space in the systray (official dark breeze theme)...

It's ugly and people will keep using the lack of polish with things like this to confirm that KDE seems to always be in a non-finished, nonprofessional state.

But I don't care - for me it works now in terms of functionality. I don't care about the looks...

Cheers, p.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]