[Bug 858592] [NEW] XDG_DOCUMENTS_DIR should be set to $HOME

Sandra Karuving 858592 at bugs.launchpad.net
Sun Sep 25 01:57:33 UTC 2011

Public bug reported:

XDG_DOCUMENTS_DIR is set to $HOME/Documents wich is the cause of MANY problems. at first scripts with relative paths. click on this scripts will setz them to $HOME/Documents. so the most will not even work. try it
#! /bin/sh
mkdir ./this\ is\ a\ test
save it, make it exec and click on it. it will create a new dir in ~/Documents, not in $HOME. this bad behavor is the caus that many installers can not be startet in KDE with a click and have to started over terminal. for example all the loki installers, ati graphicsdriver-installer, all the humble-indie-stuff, all that stuff from icculus (i think that are loki installer too). 

next the annoying filedialog wich starts always in ~/Documents insteat of $HOME will be fixed 
Test it in terminal: type
kdialog --getopenfilename ./
the same result when you open the filedialog in choqok, kopete and all the other applications

next that some reports, like that from java will always end in ~/Documents 
reports like hs_err_pid31129.log should not be in the document folder.

This causes lots of mistakes in some other applications too. like in
"vbam" a nintento gameboy emulator. if you choose the recent opened roms
the problem will display them but if you click them it will not found
because they save relative pathes. the first start the rom was in
~/Downloads/ROMS/pokemon.rom, now it looks for in
~/Documents/Downloads/ROMS/ (this is a known missunderstanding and will
be fixed in future) but there are more applications like this

so PLEASE change this bad behavior to make kubuntu friendlier for
mouseusers without terminalknowledge and all the stressed  people with
problems in scripts and the crazy poeple who want to select a file in
$HOME but have to click to it on the filedialog on kubuntu

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: kubuntu-desktop 1.239
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Sun Sep 25 03:24:39 2011
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
SourcePackage: kubuntu-meta
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: kubuntu-meta (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: apport-bug i386 oneiric

You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in Ubuntu.

  XDG_DOCUMENTS_DIR should be set to $HOME

To manage notifications about this bug go to:

More information about the kubuntu-bugs mailing list