Bug 238371 - kde-settings: lacking xdg-user-dirs integration
kde-settings: lacking xdg-user-dirs integration
Product: Fedora
Classification: Fedora
Component: kde-settings (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Rex Dieter
Fedora Extras Quality Assurance
Depends On:
Blocks: FC7Target 240556
  Show dependency treegraph
Reported: 2007-04-29 18:27 EDT by Jason Frothingham
Modified: 2013-01-09 23:17 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-16 12:23:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jason Frothingham 2007-04-29 18:27:00 EDT
Description of problem: Install to Hard Drive missing from KDE version of Fedora
7 Test #4

Version-Release number of selected component (if applicable): Fedora 7 Test #4
Live CD- KDE

How reproducible: Every single .iso version I've downloaded through the mirrors.

Steps to Reproduce: 
1. Download .iso for Test #4 Live CD
2. Burn .iso
3. Leave in drive and reboot
4. try to figure out where the installer is on reboot.
5: Realize the install to hard drive is missing and anaconda won't run.
Actual results: No installation of KDE Live CD.

Expected results: Was hoping to install from KDE Live CD. Can't stand gnome.

Additional info: I apologize if this bug report comes off as a bit... jerkish.
I'm just trying to figure out how the install feature could have been left out
of the KDE version.
Comment 1 Jeremy Katz 2007-04-30 14:31:21 EDT
This comes up fine here -- are you logging in as the fedora user for the live CD?
Comment 2 Luc 2007-04-30 15:36:24 EDT
Have the same problem if I choose a language in the login screen: No shortcut to
the install program.
OK if I log directly without choosing any language: In that case I find the
Install shortcut onto my desktop
Comment 3 Sebastian Vahl 2007-05-01 06:20:49 EDT
The file /home/fedora/Desktop/liveinst.desktop should be placed there during the
login. If you login as root it would be hidden (KDE seems to don't like
"NoDisplay=true" in liveinst.desktop. This is replaced by "NoDisplay=false" for
User "fedora"). 
/home/fedora/Desktop/liveinst.desktop should be definetily there. You should at
least see it in a terminal with "ls /home/fedora/Desktop"
Comment 4 Luc 2007-05-01 10:55:39 EDT
I made a new test.
I choosed the French language in the login screen. Then I put that language as 
default  in the popup window asking if the language is just for that session 
or by default.
After  login I confirm that the Icon is not displayed on the desktop.
The file liveinst.desktop exists but is in the folder /home/fedora/Bureau/ 
(and not /home/fedora/Desktop/)
You will notice that 'Bureau' is the French translation of 'Desktop'.
Surprisingly, If I move the file liveinst.desktop in the right folder 
(/home/fedora/Desktop/), I still don't see the icon on the desktop.
Comment 5 Rex Dieter 2007-05-01 11:02:47 EDT
Ah, only English works atm, we need to integrate xdg-user-dirs.

This is a kde-specific issue then (not really livecd)... I'll re-assign this in
a bit, when I figure out where best to put it. 
Comment 6 Sebastian Vahl 2007-05-09 17:06:42 EDT
For the final we will use kdm with autologin. So this problem would not occur.
Also I replaced "NoDisplay=true" with "NoDisplay=False" in
/usr/share/applications/liveinst.desktop directly. So if someone boot with
"live_locale=<locale>" there would be at least a icon in the menu.
Comment 7 Rahul Sundaram 2007-05-13 14:35:24 EDT
Sebastian, has all the changes required to fix this problem already been
committed and tested? What's the status?
Comment 8 Sebastian Vahl 2007-05-14 07:24:48 EDT
(In reply to comment #7)
> Sebastian, has all the changes required to fix this problem already been
> committed and tested? What's the status?

I've committed the changes described in comment #6 before I wrote that comment.

But the main problem here is that the integration of xdg-user-dirs needs some
love (see comment #5). So maybe I should re-assign this to Rex and/or Than?

Comment 9 Sebastian Vahl 2007-05-14 07:27:27 EDT
Oh. Just to make this clear: My changes are for livecd-fedora-kde.ks (for the
livecd), not for kdebase or xdg-user-dirs.
Comment 10 Rex Dieter 2007-05-14 07:57:26 EDT
Reassigning to kde-settings, removing FC7Blocker (since we don't non-English 
atm anyway)
Comment 11 Rex Dieter 2007-05-16 12:23:09 EDT
* Tue May 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.5-24
- kdeglobals: xdg-user-dirs integration: Desktop, Documents (#238371)

Basic/initial integration, inserting into kdeglobals:
Desktop[$e]=$(xdg-user-dir DESKTOP)
Documents[$e]=$(xdg-user-dir DOCUMENTS)

So that the output of the following now match:
kde-config --userpath desktop  =  xdg-user-dir DESKTOP
kde-config --userpath document =  xdg-user-dir DOCUMENTS

Now, we can do likewise for multimedia app configs wrt to XDG_MUSIC_DIR,
Comment 12 Rex Dieter 2007-05-18 09:00:45 EDT
Followup additions:

* Fri May 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.5-27
- kdeglobals: [Paths] Trash[$e]=$(xdg-user-dir DESKTOP)/Trash/
- Requires: xdg-user-dirs

Note You need to log in before you can comment on or make changes to this bug.