On 16/07/16 03:52, Mick wrote:
> On Saturday 16 Jul 2016 01:30:33 Michael Palimaka wrote:
>> On 15/07/16 07:00, Mick wrote:
>>> On Friday 15 Jul 2016 02:03:09 Michael Palimaka wrote:
>>>> On 14/07/16 08:04, Mick wrote:
>>>>
>>>> For the missing icons, is this inside a Plasma session? What's the
>>>> output of "env | grep XDG_"?
>>>
>>> No, I am not running the full Plasma desktop - although I had tried this
>>> on a PC with the Plasma desktop and the effect was the same.
>>>
>>> This is what I get on my laptop:
>>>
>>> $ env | grep XDG_
>>> XDG_VTNR=7
>>> XDG_MENU_PREFIX=e-
>>> XDG_SESSION_COOKIE=dell_xps-1468520688.314968-1860262165
>>> XDG_SESSION_CLASS=user
>>> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
>>> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
>>> XDG_CONFIG_DIRS=/etc/xdg
>>> XDG_SESSION_TYPE=x11
>>> XDG_SEAT=seat0
>>> XDG_SESSION_DESKTOP=
>>> XDG_DATA_DIRS=/usr/local/share:/usr/share
>>> XDG_RUNTIME_DIR=/var/run/user/1000
>>> XDG_CURRENT_DESKTOP=
>>
>> There is an ongoing issue with KDE Applications displaying missing icons
>> outside of a Plasma environment, due to a behaviour change in Qt 5 where
>> it tries to automatically theme (including icon theme) applications
>> based on the running environment.
>>
>> As a workaround, try exporting XDG_CURRENT_DESKTOP="KDE" prior to
>> running Dolphin.
>>
>>>>>> It is expected that kim4 (kdelibs4-based) does not work with
>>>>>> KF5-based Dolphin.
>>>>>
>>>>> This was a very useful facility for me.  I hope kim5 will be brought
>>>>> out.
>>>>
>>>> I did a really quick test by copying the service files to the KF5
>>>> location (/usr/share/kservices5/ServiceMenus) and ran a couple of
>>>> operations and it seemed to work OK.
>>>
>>> Do you mean copying the Kim4 files from
>>> ~/.kde4/share/kde4/services/ServiceMenus/?
>>
>> The ones it installs:
>>
>> /usr/share/kde4/services/ServiceMenus/kim_compressandresize.desktop
>> /usr/share/kde4/services/ServiceMenus/kim_convertandrotate.desktop
>> /usr/share/kde4/services/ServiceMenus/kim_publication.desktop
> 
> Thanks for this tip Michael, it works perfectly.  While I was there, I also 
> copied over all k3b shortcuts too.  :-)
> 
> Shouldn't all these get picked up automatically when Plasma is installed and 
> symlinked?
> 

There's no guarantee that KDE4 services will function in a KF5
environment - it's just lucky in this case that they are fairly simple
and do.


Reply via email to