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

various places for remoteview folder

Tags: None
(comma "," separated)
Sanette
Registered Member
Posts
37
Karma
0
OS
Hi!

I don't know if this issue is directly from KDE or from the distro Kubuntu:

after upgrading to Kubuntu 15.10, Dolphin wouldn't see any of my network shortcuts in the "remote:/" view.
Then I realized Dolphin now looks for them in the .local/share/remoteview folder,
while I had them in the .kde/share/apps/remoteview/ folder.

So I moved them and it works... but hey! now konqueror cannot find them anymore ! it's still looking at the "old" folder ;)

I ended up creating a symlink between the two. But maybe some people at KDE (or Kubuntu ?) should decide which way to go ??
luebking
Karma
0
The problem is that dolphin uses KF5, which looks up the XDG complaint paths, while konqueror is still SC4, which looks in the "legacy" ~/.kde/* locations.
You can add the ~/.kde locations to the XDG environment variables (which you'll however likely have to set up completely) - or use symliks during the transition.
Sanette
Registered Member
Posts
37
Karma
0
OS
thanks for the explanation.

How do I set the XDG variables ?
luebking
Karma
0
by exporting them. See http://standards.freedesktop.org/basedi ... atest.html

You mostly want sth. like
~/.config/plasma-workspace/env/include_kde4_paths.sh
Code: Select all
#!/bin/sh
export XDG_DATA_HOME=$HOME/.local/share:$HOME/.kde/share/apps
export $XDG_CONFIG_HOME=$HOME/.config:$HOME/.kde/share/config


But also see viewtopic.php?f=66&t=129227
Sanette
Registered Member
Posts
37
Karma
0
OS
luebking wrote:by exporting them. See http://standards.freedesktop.org/basedi ... atest.html

You mostly want sth. like
~/.config/plasma-workspace/env/include_kde4_paths.sh
Code: Select all
#!/bin/sh
export XDG_DATA_HOME=$HOME/.local/share:$HOME/.kde/share/apps
export $XDG_CONFIG_HOME=$HOME/.config:$HOME/.kde/share/config


But also see viewtopic.php?f=66&t=129227


Interesting: I tried

Code: Select all
export XDG_DATA_HOME=$HOME/.local/share:$HOME/.kde/share/apps
export XDG_CONFIG_HOME=$HOME/.config:$HOME/.kde/share/config
dolphin


but them I loose my shortcuts ! (the ones on the left sidebar).
I'll try to read some docs to improve my (poor) understanding of all this...

I also noticed that prior to this export, these variables were not set at all:


Code: Select all
set | grep XDG
BASH_REMATCH=([0]="\$XDG_CON" [1]="\$" [2]="XDG_CON")
XDG_CONFIG_DIRS=/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share/plasma:/usr/local/share/:/usr/share/
XDG_RUNTIME_DIR=/run/user/1001
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_COOKIE=99a715f650dc0d0ef7a3c0d5002f2d3e-1447584848.832897-1455106842
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=5
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=7

luebking
Karma
0
No, they're simply resolved to some defaults.
Try prepending /usr/share resp. /usr/share/config

You can look up the defaults by unsetting the variables and calling "kf5-config --path xdgdata" resp. "kf5-config --path xdgconf"


Bookmarks



Who is online

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