View previous topic :: View next topic |
Author |
Message |
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue Mar 30, 2004 12:23 am Post subject: xfce question |
|
|
Hi all,
I use xfce and like it very much. Since the last update of xfce, where xfcalendar was emerged too, I have this annoying problem.
Everytime I start xfce, xfcalendar is started automatically in the beginning. How can I keep it from being started everytime? I like xfcalendar, but I do not want it on the screen everytime I start.
Thanks in advance! |
|
Back to top |
|
|
Ricky Guru
Joined: 30 May 2003 Posts: 341
|
Posted: Tue Mar 30, 2004 12:30 am Post subject: |
|
|
You can copy /etc/xfce4/xinitrc to ~/.xfce4/xinitrc and remove/comment out the line that runs "xfcalendar&" |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue Mar 30, 2004 1:00 am Post subject: |
|
|
That did not solve it, but editing the original file did.
What do I have to change so that xfce uses the ~/.xfce4/xinitrc file? |
|
Back to top |
|
|
Ricky Guru
Joined: 30 May 2003 Posts: 341
|
Posted: Tue Mar 30, 2004 6:48 am Post subject: |
|
|
How do you login to xfce? (i.e. gdm, startx, etc) The startxfce4 script, which the xfce session scripts should be running, should check if you have ~/.xfce4/xinitrc and run that if it exists. The only thing I can think of is that you're somehow not calling this script when you start it?
Code: | if [ -x $HOME/.xfce4/xinitrc ]; then
exec xinit $HOME/.xfce4/xinitrc $*
else
exec xinit /etc/xfce4/xinitrc $*
fi |
|
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue Mar 30, 2004 9:25 am Post subject: |
|
|
I use gdm to login to xfce.
What is really strange, that when I start xfce directly with "/usr/bin/startxfce4", the error occurs too.
By the way, these line you wrote in [code] also show up in my startxfce4 script.
Then the script is definetely executed, but like I said, the error is still there. |
|
Back to top |
|
|
zerwas n00b
Joined: 22 Dec 2003 Posts: 24
|
Posted: Tue Mar 30, 2004 11:51 am Post subject: |
|
|
Simply remove (or edit) $HOME/.xfce4/xfcalendar/xfcalendarrc before starting XFCE4.
--
zerwas |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue Mar 30, 2004 5:13 pm Post subject: |
|
|
zerwas wrote: | Simply remove (or edit) $HOME/.xfce4/xfcalendar/xfcalendarrc before starting XFCE4. |
Removing this file works, it does not start xfcalendar. BUT the file is freshly created when xfce is started, so the next time I will still have the problem.
This does not offer a solution to me, because it takes more to delete that file than simply close xfcalendar.
Editing the file did not work, too. After restarting xfce everything in the file looks as before. It has been overwritten. |
|
Back to top |
|
|
zerwas n00b
Joined: 22 Dec 2003 Posts: 24
|
Posted: Tue Mar 30, 2004 5:52 pm Post subject: |
|
|
OK, but what is wrong in commenting out the line of /etc/xfce4/xinitrc? If it works, you don't have to use the xinitrc in ~/.xfce4 |
|
Back to top |
|
|
Malakai Apprentice
Joined: 24 Dec 2002 Posts: 299
|
Posted: Tue Mar 30, 2004 6:25 pm Post subject: |
|
|
Code: | emerge --unmerge xfcalendar |
IMO the program was useless anyway, so I just unmerged it ^__^ |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue Mar 30, 2004 10:11 pm Post subject: |
|
|
In principle I like xfcalendar. I just do not want it to be started everytime. Only when I want to. |
|
Back to top |
|
|
syadnom Guru
Joined: 09 May 2002 Posts: 531
|
Posted: Wed Mar 31, 2004 3:41 am Post subject: global & local |
|
|
you cannot just edit out a line in the local config ~/.configwhatever. these files just overide the settings in the main config file, so commenting out xfcecalender doesn't stop it from loading because the original tells it too load. Instead comment out everything in the original, then copy it to local, and then UNcomment the things you do want to load. That way other users don't have the same problem your having. |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Wed Mar 31, 2004 9:42 am Post subject: |
|
|
I had tried this already, but it did not work. Somehow my ~/.xfce4/xinitrc is not used when starting xfce. I do not know why. I can get rid of the problem by commenting out xfcalendar in the original file (/etc/xfce4/xinitrc), but I would like to keep the original setting for the other users and only edit my own profile.
How do I get this to work? |
|
Back to top |
|
|
SDGR406 n00b
Joined: 06 Nov 2003 Posts: 47 Location: Ottawa, ON, Canada
|
Posted: Thu Apr 01, 2004 1:39 am Post subject: |
|
|
For what it's worth I am experiencing a very similar problem and also would like to know the answer.
I would like to have one user account where the panel is loaded when XFCE starts and one user account where it does not.
I can remove the entire panel section from the xinitrc file in my home dir but that file does not seem to execute...it just runs /etc/xfce4/xinitrc which has the panel section in it and I get a panel anyway - very annoying.
If I remove the panel section from the 'global' xinitrc file my user account does not have a panel (which is good), but the other user account, which I want to have a panel, does not - also very annoying.
Thought I would chime in since my problem is very similar to yours and I understand that 'remove it from the global xinitrc then' is not a sufficient solution.
Looking forward to a fix/workaround for this. |
|
Back to top |
|
|
olias2 Apprentice
Joined: 23 Aug 2003 Posts: 234 Location: CANADA
|
Posted: Fri Apr 02, 2004 9:17 pm Post subject: |
|
|
Me too. Persistant little calendar isn't it. _________________ A wise man realizes that he too is a fool and then humbles himself to learn that which is greater than he. |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Sat Apr 03, 2004 1:41 pm Post subject: |
|
|
Yeah, silly it is started automatically. But it is xfcalendar's fault. The ~/.xfce4/xinitrc is not considered during start, that is the problem.
I changed the original /etc/xfce4/xinitrc and commented xfcalender out. |
|
Back to top |
|
|
JuMPeRfLy n00b
Joined: 23 Mar 2004 Posts: 30 Location: Bangor, Wales
|
Posted: Sat Apr 03, 2004 5:14 pm Post subject: |
|
|
I had the same problem, it was not using the config from my homedir, the reason for this is it was not executable. I made it executable and all was well. |
|
Back to top |
|
|
olias2 Apprentice
Joined: 23 Aug 2003 Posts: 234 Location: CANADA
|
Posted: Sun Apr 04, 2004 2:18 am Post subject: |
|
|
~/.xfce4/xfcalendar/xfcalendarrc
Code: | [Session Visibility]
hide
|
Work for me. _________________ A wise man realizes that he too is a fool and then humbles himself to learn that which is greater than he. |
|
Back to top |
|
|
SDGR406 n00b
Joined: 06 Nov 2003 Posts: 47 Location: Ottawa, ON, Canada
|
Posted: Sun Apr 04, 2004 3:33 am Post subject: |
|
|
JuMPeRfLy wrote: | I had the same problem, it was not using the config from my homedir, the reason for this is it was not executable. I made it executable and all was well. |
Congratulations sir on a job well done. Works perfectly.
Never bothered to check that because /etc/xfce4/xinitrc is not executable either.
Thanks.
Now to look into this session visibility thing for xfcalendar. |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue Apr 06, 2004 8:30 am Post subject: |
|
|
Thank you olias2, it worked . |
|
Back to top |
|
|
|