Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce question
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue Mar 30, 2004 12:23 am    Post subject: xfce question Reply with quote

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
View user's profile Send private message
Ricky
Guru
Guru


Joined: 30 May 2003
Posts: 341

PostPosted: Tue Mar 30, 2004 12:30 am    Post subject: Reply with quote

You can copy /etc/xfce4/xinitrc to ~/.xfce4/xinitrc and remove/comment out the line that runs "xfcalendar&"
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue Mar 30, 2004 1:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Ricky
Guru
Guru


Joined: 30 May 2003
Posts: 341

PostPosted: Tue Mar 30, 2004 6:48 am    Post subject: Reply with quote

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
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue Mar 30, 2004 9:25 am    Post subject: Reply with quote

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
View user's profile Send private message
zerwas
n00b
n00b


Joined: 22 Dec 2003
Posts: 24

PostPosted: Tue Mar 30, 2004 11:51 am    Post subject: Reply with quote

Simply remove (or edit) $HOME/.xfce4/xfcalendar/xfcalendarrc before starting XFCE4.

--
zerwas
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue Mar 30, 2004 5:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
zerwas
n00b
n00b


Joined: 22 Dec 2003
Posts: 24

PostPosted: Tue Mar 30, 2004 5:52 pm    Post subject: Reply with quote

OK, but what is wrong in commenting out the line
Code:
xfcalendar&
of /etc/xfce4/xinitrc? If it works, you don't have to use the xinitrc in ~/.xfce4
Back to top
View user's profile Send private message
Malakai
Apprentice
Apprentice


Joined: 24 Dec 2002
Posts: 299

PostPosted: Tue Mar 30, 2004 6:25 pm    Post subject: Reply with quote

Code:
emerge --unmerge xfcalendar



IMO the program was useless anyway, so I just unmerged it ^__^
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue Mar 30, 2004 10:11 pm    Post subject: Reply with quote

In principle I like xfcalendar. I just do not want it to be started everytime. Only when I want to.
Back to top
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Wed Mar 31, 2004 3:41 am    Post subject: global & local Reply with quote

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
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Wed Mar 31, 2004 9:42 am    Post subject: Reply with quote

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
View user's profile Send private message
SDGR406
n00b
n00b


Joined: 06 Nov 2003
Posts: 47
Location: Ottawa, ON, Canada

PostPosted: Thu Apr 01, 2004 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
olias2
Apprentice
Apprentice


Joined: 23 Aug 2003
Posts: 234
Location: CANADA

PostPosted: Fri Apr 02, 2004 9:17 pm    Post subject: Reply with quote

Me too. :roll: 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
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sat Apr 03, 2004 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
JuMPeRfLy
n00b
n00b


Joined: 23 Mar 2004
Posts: 30
Location: Bangor, Wales

PostPosted: Sat Apr 03, 2004 5:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
olias2
Apprentice
Apprentice


Joined: 23 Aug 2003
Posts: 234
Location: CANADA

PostPosted: Sun Apr 04, 2004 2:18 am    Post subject: Reply with quote

~/.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
View user's profile Send private message
SDGR406
n00b
n00b


Joined: 06 Nov 2003
Posts: 47
Location: Ottawa, ON, Canada

PostPosted: Sun Apr 04, 2004 3:33 am    Post subject: Reply with quote

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
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue Apr 06, 2004 8:30 am    Post subject: Reply with quote

Thank you olias2, it worked :D.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum