LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-28-2006, 07:08 PM   #1
paranoid times
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3, 4
Posts: 135

Rep: Reputation: 16
KDE not saving certian environmental variables


I am running KDE on Fedora Core 4, and whenever I restart the X server (such as when I shut down) when I turn it back on the number of desktops that I have set has returned to the default 4 (I had it set at 8) and the sound mixer will return to the state where it is a button (when I click on it it asks me which sound device I am using, then puts that on the desktop, with all the things that I don't use so I have to change that around). However it isn't just trashing all of my variables, I put a terminal button on my task bar, and that has stayed there fine. Also things like single clicking on icons stays fine. I would like it to keep all my variables the same way so that I don't have to change them all back every time I log in. Any ideas would be great.

Cheers,
Michael
 
Old 03-02-2006, 08:50 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Hello First Wave fan.

First, are you using the KDE control center software to create these changes? The name of the binary is kcontrol. If you are not using this to set changes in KDE then give it a try. Make sure that you press the "Apply" button after making a change.

All of the things that you mention are controlled in two places. First there is a system wide configuration for X and for KDE. These have default settings. You can override these settings if you have your own copy of these files in your home directory. Check to see if you have the following files and directories in your home directory.

The .xinitrc is a normal text file. The rest are directories.
$HOME/.xinitrc
$HOME/.kde
$HOME/.qt

There may be more configuration files for KDE in the $HOME directory. I use several window managers so my $HOME directory has directories from those other environments.

If you do have at least the .xinitrc file in your $HOME then make sure that your account has read/write access to the file.

If you don't have the .xinitrc file in your $HOME directory then you can copy the system's default file from /etc/X11/xinit/xinitrc. Notice that when this file exists in your $HOME directory the name starts with a period but the copy in /etc/X11/xinit does not have a period at the beginning of its name. Once you copy the file to your $HOME directory you have to be able to read and write to the file. That should be okay since your account created the copy but check anyway.

The settings that you listed are not controlled in the .xinitrc file but it is a starting place to configuring the behavior of any window manager. The settings that you listed are stored in the $HOME/.kde directory tree, and maybe in the $HOME/.qt directory tree.

Last edited by stress_junkie; 03-02-2006 at 09:02 AM.
 
Old 03-02-2006, 10:53 AM   #3
paranoid times
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3, 4
Posts: 135

Original Poster
Rep: Reputation: 16
awesome, you are the first person in all the years and places that I've used "paranoid times" as a name to figure out the reference!

I tried using the control panel, and that seemed to work in keeping the desktops the way I set them, though I couldn't find a place to set a sound mixer in it. I'll take another look to see if I just missed it when I get home tonight, otherwise I'll try out your other suggestions.

Thank you very much,
Michael
 
Old 03-02-2006, 03:09 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I've been a big fan of First Wave for a long time.

If you figure out how to get the sound mixer to start automatically in KDE please post that information. That is what I was working on when I decided to start using Gnome about a month ago.
 
Old 03-03-2006, 12:15 AM   #5
paranoid times
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3, 4
Posts: 135

Original Poster
Rep: Reputation: 16
I think I've figured it out. In looking through the control panel I couldn't find anything about the sound mixer on the task bar. However I did go by logout information. Which brought up an idea, so I clicked on the sound mixer button that manages to stay on my desktop. Then it prompted me for which sound device to use. Then I got rid of all the parts of it that I didn't want (such as the mic volume). Then I went down and pressed the logout button, and logged out. When I logged back in the sound mixer was still as I set it. Normally I would just shut down my computer with an "init 0" while still logged in, so I guess it saves the session information on logout, but if it doesn't get to it doesn't save it (and I tried shutting down my usual way, and when the computer came back up everything was still fine, so it looks like you only have to logout once for it to save it).

Thanks for you help,
Michael
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Environmental Variables danglingpointer Slackware 13 01-06-2005 12:36 AM
environmental variables msound Programming 0 08-21-2004 07:06 PM
environmental variables? blackzone Linux - General 1 08-06-2004 03:44 AM
how to set environmental variables chakkerz Linux - Newbie 8 07-01-2004 03:06 AM
environmental variables mbhenry Linux - General 6 09-18-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration