You are not logged in.
I am a new user who did his first-ever install of Arch yesterday and got bitten by this. So far, the distro is nifty but this has been a headache for me. That notwithstanding, here's how I fixed it:
/etc/profile.d/xorg.sh
export XDG_DATA_HOME=$HOME/.local/share export XDG_CONFIG_HOME=$HOME/.config export XDG_CACHE_HOME=$HOME/.cache if [ ! -z $XDG_DATA_DIRS ]; then export XDG_DATA_DIRS=/usr/share:$XDG_DATA_DIRS else export XDG_DATA_DIRS=/usr/share fi if [ ! -z $XDG_CONFIG_DIRS ]; then export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS else export XDG_CONFIG_DIRS=/etc/xdg fi
/etc/profile.d/kde.sh
export KDEDIR=/opt/kde export PATH=$PATH:$KDEDIR/bin export MANPATH=$MANPATH:$KDEDIR/man if [ ! -z $XDG_DATA_DIRS ]; then export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share else export XDG_DATA_DIRS=/usr/share:$KDEDIR/share fi if [ ! -z $XDG_CONFIG_DIRS ]; then export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDEDIR/etc/xdg else export XDG_CONFIG_DIRS=/etc/xdg:$KDEDIR/etc/xdg fi
Note that I cleaned xorg.sh up to be written in the same style as kde.sh.
I did all this, and it still doesn't work. I guess I'll be using e16 til kde gets officially fixed
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Thanks for the post...........
I'll spin this one one a test machine at work..
As far as the distro.... Bummer that you got off on a bad footting..
I'm a happy user, and yes this issue has caused some headache. Please accept my apologies. It was certainly not intentional.
I've been a Linux user for many moons, and I like this distro alot. I'm genuinely jazzed about it.
It's as lean or as fat as you want it.... I feel that I have total control of my machine... without a lot of proprietary "tweaks" that I suffered through with the mainstream distros.
When my system hosed over yesterday....I wasn't dead.. I just didn't have KDE... so I used another WM to get around until I took some rather drastic action mentioned in an earlier post to restore KDE to functionality.
Arch...It's about choice....
Although I'm not an official Arch representative, nor on any of the maintainer/developer lists (yet)...
As one user to another... Welcome to Arch... and THANK YOU for your post for a solution. We all work together...
Please overlook past this "blip" in the road.... and wait until you see it's ease of maintenance!
It was this distro that got me well under the hood of Linux, far deeper than I've gone before into an OS's "guts"... And I cut my teeth on old Motorola 6809 assembler.....(I just dated myself), and older processors and chipsets of which I am ashamed to specify. (including the old Honeywell 13 bit UART) (no typo...13 bit). Another dated admission: When 4bit A/d converters came out, we all got excited in the shop where I worked.:oops:
It's a great distro.....and I hope you find it productive for you.
Sincerely,
Dave...........
Offline
iamtheari, the script worked! thanks
Offline
Hi,
I had been running xorg 6.8 since it was released on current (within an hour) and kde 3.3 longer. No problems. I first saw the disapearing menus after todays Syu, zlibs and two others.
Anyway, none of the scripts posted so far have resolved the situation for me. If I can be of any help testing please let me know. That's about all I'm good for at the moment anyway.
Cheers,
TB
Offline
iamtheari, the script worked! thanks
Well, those 2 scripts summarize all the changes I suggested last night to kde.sh/xorg.sh:
- xorg.sh has the actions in the ifs switched (a removal of "!" would have been enough)
- kde.sh has an extra if with for the other environment variable (be aware that the ifs in kde.sh can be removed when the new xorg.sh is used - no need for hacking the variables in kde.sh again) // same goes for the gnome package
They need to be done no matter if they fix this problem or not.
Good to see that everything is working again.
:: / my web presence
Offline
I am a new user who did his first-ever install of Arch yesterday and got bitten by this. So far, the distro is nifty but this has been a headache for me. That notwithstanding, here's how I fixed it:
/etc/profile.d/xorg.sh
export XDG_DATA_HOME=$HOME/.local/share export XDG_CONFIG_HOME=$HOME/.config export XDG_CACHE_HOME=$HOME/.cache if [ ! -z $XDG_DATA_DIRS ]; then export XDG_DATA_DIRS=/usr/share:$XDG_DATA_DIRS else export XDG_DATA_DIRS=/usr/share fi if [ ! -z $XDG_CONFIG_DIRS ]; then export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS else export XDG_CONFIG_DIRS=/etc/xdg fi
/etc/profile.d/kde.sh
export KDEDIR=/opt/kde export PATH=$PATH:$KDEDIR/bin export MANPATH=$MANPATH:$KDEDIR/man if [ ! -z $XDG_DATA_DIRS ]; then export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share else export XDG_DATA_DIRS=/usr/share:$KDEDIR/share fi if [ ! -z $XDG_CONFIG_DIRS ]; then export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDEDIR/etc/xdg else export XDG_CONFIG_DIRS=/etc/xdg:$KDEDIR/etc/xdg fi
Note that I cleaned xorg.sh up to be written in the same style as kde.sh.
YEAH! It works for me!
Gnome - The weakest link!
Linux, *not* GNU/Linux!
Offline
XDG_.. vars are set ok (like in the files posted) , but kde is still broken
any other ideas?
(using xorg R6.8.0 and kde 3.3.0-1)
The impossible missions are the only ones which succeed.
Offline
i tested the new files kde.sh and xorg.sh
they fix not the problem if it exists
but
it solve the problem that it never happens :-)
i deleted .locals in home dir
in ./kde
i deleted my share/applnk
and in /share/config soem files that were changed after the menu problem appears
kderc, kdeglobals, kontrolrc, kickerrc, uisserverrc, kwinrc
now it works again and i can change the menu to what i want
and kcontrol also works again
thanks to you guys for discussing and figuring out what the problem was
hope we can include the fix as soon as possible, i will contact cmf and the rest of the gang
would be nice if some of you with fixed scripts would test my -2 packages
for other problems and don't forget to post if you use nvidia driver or not
then i will look at it and can make them official
bye
Offline
A small modification to iamtherei scripts fixed the problem for my existing user without deleting ~/.kde or ~/.local. Here they are:
/etc/profile.d/xorg.sh
export XDG_DATA_HOME=$HOME/.local/share
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
if [ -z $XDG_DATA_DIRS ]; then
export XDG_DATA_DIRS=/usr/share
else
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share
fi
if [ -z $XDG_CONFIG_DIRS ]; then
export XDG_CONFIG_DIRS=/etc/xdg
else
export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS
fi
/etc/profile.d/kde.sh
export KDEDIR=/opt/kde
export PATH=$PATH:$KDEDIR/bin
export MANPATH=$MANPATH:$KDEDIR/man
if [ ! -z $XDG_DATA_DIRS ]; then
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share
else
export XDG_DATA_DIRS=$KDEDIR/share
fi
if [ ! -z $XDG_CONFIG_DIRS]; then
export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDEDIR/etc/xdg
else
export XDG_CONFIG_DIRS=$KDEDIR/etc/xdg
fi
For KDE to work XDG_DATA_DIRS must be set to /opt/kde/share:/usr/share
and XDG_CONFIG_DIRS to /opt/kde/etc/xdg:/etc/xdg. That´s all
I have also noticed that XDG_DATA_HOME declared in /etc/profile.d/gnome.sh and pointing to /opt/gnome/share/:/usr/share gets overwritten by xorg.sh to point to $HOME/.local/share. Is this supposed to happen?
And finaly Hello to the community. Installed Arch 3 days ago - very nice
Offline
zmeyski, welcome around
thanx for {xorg,kde}.sh - somehow, i had to remove ~/.local and ~/.kde/shared/applnk anyway, but at least i'm now finally having open-width in konqueror working
The impossible missions are the only ones which succeed.
Offline
Golden!!!!
Works peechee again.........:D
Thanks!
Dave.......
Offline
First I change my scripts but I did a backup before removing .local & .kde/share/applnk. After a KDE restar all works but without my personal menus.
I wanted my personal entries back so I looked the differences betwen old & new directories: No .local had been created and there was nothing in .kde/share/applnk.
So i recupered my old .local and copied all the contents of applnk EXCEPT a .hidden directory... And voila! after a KDE restart I have all menus like there were before xorg update.
I post this if it can help anyone.
Thanx.
Offline
I have also noticed that XDG_DATA_HOME declared in /etc/profile.d/gnome.sh and pointing to /opt/gnome/share/:/usr/share gets overwritten by xorg.sh to point to $HOME/.local/share. Is this supposed to happen?
No, it isn't supposed to happen this way. See FlySpray task #1447
:: / my web presence
Offline
/etc/profile.d/kde.sh
export KDEDIR=/opt/kde export PATH=$PATH:$KDEDIR/bin export MANPATH=$MANPATH:$KDEDIR/man if [ ! -z $XDG_DATA_DIRS ]; then export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share else export XDG_DATA_DIRS=$KDEDIR/share fi if [ ! -z $XDG_CONFIG_DIRS]; then export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDEDIR/etc/xdg else export XDG_CONFIG_DIRS=$KDEDIR/etc/xdg fi
For KDE to work XDG_DATA_DIRS must be set to /opt/kde/share:/usr/share
and XDG_CONFIG_DIRS to /opt/kde/etc/xdg:/etc/xdg. That´s all.
That piece of code looks good.
I have one big question about it though:
As the specs mention it, the order of the paths in XDG_*_DIRS matter.
The script above sets
XDG_CONFIG_DIRS=/etc/xdg/:/opt/kde/etc/xdg
not
XDG_CONFIG_DIRS=/opt/kde/etc/xdg:/etc/xdg
as you have said above.
My question is... How should this be?
IMO, /etc/xdg (/usr/share) should be first and the kde settings should be next, but I might be mistaken. I don't know how KDE treats this multiple path config lines (how is the order interpreted by KDE).
:: / my web presence
Offline
You have to delete your configuration in ~/.kde an ~/.config I think.
Offline
Hippy,
there is a new release of kde (3.3-2) on the mirror. I don't know if it solve the problem. See http://bbs.archlinux.org/viewtopic.php?t=6759 for more details.
Offline
hi guys
i will upload kdebase-3 and kdelibs-3 soon a new xorg is also on the way
then the problems should be gone
Offline
files are on the way to your favourite download server
i think they will be available in 2 hours or so
please test them
until a new xorg will appear you still need to patch your xorg.sh
everything should work now
german kdm is also gone :-)
files are named kdebase...-3.pkg.tar.gz kdelibs...-3.pkg.tar.gz
i will go to sleep now
enjoy
feedback would be great
if everything works it's made public and available with pacman tomorrow
Offline
IceRAM
I made a typing error in the script i intended to be /opt/kde/etc/xdg:/etc/xdg
truth is i´m not so sure about the order in which the directories should be listed. The spec says that the first directory listed is most important. On my installation /etc/xdg is empty but /opt/kde/etc/xdg contains some stuff so i think it should be placed first but again i´m not sure. This order is important only if same information is defined in multiple places. With /etc/xdg empty it actually doesn´t matter
Is there anybody out there with /etc/xdg not empty?
Offline
/etc/xdg is created by xorg6.8 (check the PKGBUILD) for freedesktop compatibility.
After some more testing, I managed to break my KDE installation without installing the new xorg package ( 6.8 ). I did this only by adding some correct /etc/profile.d files.
I'm starting to think that installing a FreeDesktop.org compatible XOrg (& correct .sh files for KDE/Gnome) requires reconfiguring the KDE profile. I'm trying to figure out a way of porting at least some of the KDE settings to the newly FreeDesktop-compatible environment (a script maybe).
Surprisingly, I have my entire KDE menu right now with only some shortcuts on a panel missing.
I'll browse back through my ~/.bash_history to see what I've moved and where from/to.
:: / my web presence
Offline
nothing is made official changes can still be included into the new kde packages but the packages should be released soon
bye
Offline
this happens to me too
i had more than one xorg.sh and kde.sh in profile.d
then it doesn't work for me
the files were named xorgneu.sh xorgalt.sh
and kdeneu.sh kdealt.sh
perhaps it helps
by the way the kdebase and kdelibs package are on the server
in 1 hour they should be available by the mirrors
Offline
The kde.sh I've commented on few posts above works (changes the env variables correctly).
That's the only change that needs to be done to the kdelibs (I think).
Besides this, it would be nice if the promised security patch for kdebase would be also added (I think a new kdebase was announced right after the release of 3.3, because of some recently discovered vulnerability).
On top of all, convertor from a "dizzy" KDE environment to a FreeDesktop.org environment would be nice, if there's a problem this and it's solvable this way.
:: / my web presence
Offline
1. Systems affected:
KDE versions up to KDE 3.2.3 inclusive. KDE 3.3 is not affected.
Offline
Does the new xorg-package work or has kde to be fixed too?
Offline