[KDE/Mac] Aligning the sockets in kdeinit5 and friends on OS X

Ian Wadham iandw.au at gmail.com
Tue Feb 3 11:11:46 UTC 2015


Hi René,

On 03/02/2015, at 9:09 PM, René J.V. Bertin wrote:
> On Tuesday February 03 2015 13:23:43 Ian Wadham wrote:
>>> If not, the most elegant thing would be to remove the DISPLAY part from the name on OSes that don't require it.
>> 
>> See my reply to David.  I would like to have *something* meaningful after the "_".
> 
> I agree, but don't stress yourself too much. That socket file is hidden somewhere deep where most people don't even see it (under $TMPDIR), and where it gets deleted at each reboot if not each login (never checked that, gee... :)).

The Frameworks code in init.cpp, wrapper.cpp and kcrash.cpp says it goes in
QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation).  The Qt
doco says that evaluates to ~/Library/Application\ Support on OSX and
/run/user/<USER> (writable?) on Linux.  I hope that will be OK, safe and reliable…

That location has directories-only on my OS X system, one per app or org.

Cheers, Ian W.



More information about the kde-mac mailing list