Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51407 - No KDEDIR variable set
Summary: No KDEDIR variable set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 10:27 UTC by Anders Lindén
Modified: 2004-09-23 19:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Lindén 2004-05-18 10:27:05 UTC
It seems like there is no KDEHOME variable set in Gentoo. I emerged amarok (A KDE media player), and had a problem about the playlist not being saved when exiting, I had to load it every time I started amarok. When asking about this in the amarok IRC-channel, they asked me to check whether KDEHOME was set correctly. When I saw it wasn't, they asked me to set it to /home/username/.kde and try again. This time the playlist was saved as it should be. Apparently several Gentoo users have had the same problem. 
So, to solve this issue, a KDEHOME should be set somehow

Reproducible: Always
Steps to Reproduce:
1. Start amarok
2. Load a playlist
3. Shutdown amarok
4. Start amarok again, playlist is gone
Actual Results:  
The playlist is not saved between amarok sessions 

Expected Results:  
The playlist should be saved between amarok session, which is done by setting 
KDEHOME to /home/username/.kde 
 

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.6) 
================================================================= 
System uname: 2.6.6 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.4.10 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo 
http://gentoo.mirror.sdv.fr http://gentoo.inode.at/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" 
USE="3dnow X aalib alsa amd apm arts avantgo avi berkdb cddb cdr crypt cups 
curl directfb dvd dvdr encode esd faad fam ffmpeg flac foomaticdb gdbm gif 
gphoto2 gpm gstreamer gtk gtk2 imlib ipv6 java jikes jpeg kde lcms ldap libg++ 
libwww mad matroska mcurses mikmod mmx motif mozilla mpeg mpeg4 ncurses nls 
nvidia offensive oggvorbis openal opengl oss pam pcre pda pdflib perl php png 
pnp ppds pthreads python qt quicktime readline samba sdl slang sox spell sse 
ssl svga tcpd tetex theora tiff transcode truetype unicode usb x86 xine 
xinerama xml2 xosd xv xvid zlib"
Comment 1 Anders Lindén 2004-05-18 10:59:06 UTC
Oops, my mistake. Not KDEDIR, KDEHOME
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-05-18 16:18:26 UTC
looks like the line that sets it is commented out in startkde.  not sure why it's commented out...
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2004-05-19 08:59:40 UTC
In startkde there's also:

# The user's personal KDE directory is usually ~/.kde, but this setting
# may be overridden by setting KDEHOME.

So it seems that setting KDEHOME is optional (just to override the default)
and amarok should not assume it is set (and use ~/.kde if not).
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-09-23 19:36:58 UTC
no comment on this in a while - let's assume the amarok devs fixed this?