From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-172288-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6A79A138326
	for <garchives@archives.gentoo.org>; Sat, 16 Jul 2016 15:28:31 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B39A421C08E;
	Sat, 16 Jul 2016 15:28:17 +0000 (UTC)
Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8BF9BE0B10
	for <gentoo-user@lists.gentoo.org>; Sat, 16 Jul 2016 15:28:16 +0000 (UTC)
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <lnx-gentoo-user@m.gmane.org>)
	id 1bORVl-0008M2-NG
	for gentoo-user@lists.gentoo.org; Sat, 16 Jul 2016 17:28:14 +0200
Received: from 124-148-181-239.dyn.iinet.net.au ([124.148.181.239])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@lists.gentoo.org>; Sat, 16 Jul 2016 17:28:13 +0200
Received: from kensington by 124-148-181-239.dyn.iinet.net.au with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@lists.gentoo.org>; Sat, 16 Jul 2016 17:28:13 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From: Michael Palimaka <kensington@gentoo.org>
Subject: [gentoo-user] Re: KDE 5
Date: Sun, 17 Jul 2016 01:28:01 +1000
Message-ID: <nmdjq5$lid$1@ger.gmane.org>
References: <20160712173058.GA1285@ca.inter.net> <1614084.doH5nyHBeu@dell_xps>
 <nmavis$bb2$1@ger.gmane.org> <81593065.TyZ4QPYQpe@dell_xps>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: 124-148-181-239.dyn.iinet.net.au
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.2.0
In-Reply-To: <81593065.TyZ4QPYQpe@dell_xps>
X-Archives-Salt: 8215f4fd-a46f-40aa-85c4-74c71ac74635
X-Archives-Hash: 3aa9a67c298e921fd55ca92aea6d5a4a

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.