View previous topic :: View next topic |
Author |
Message |
jordanweb n00b
Joined: 27 Oct 2020 Posts: 14
|
Posted: Thu Nov 26, 2020 7:11 pm Post subject: xfce4 ~/.xinitrc using exec or not? |
|
|
Hi, I take notes on how to install Gentoo, there's a part where I read on Gentoo wiki about xfce4 .xinitrc file.
https://wiki.gentoo.org/wiki/Xfce
gentoo wiki ~/.xinitrc contents section:
Code: | ~/.xinitrcStarting xfce4 the right way when invoking startx
ck-launch-session dbus-launch --sh-syntax --exit-with-session xfce4-session |
should I add exec for the xfce4 ~/.xinitrc file? or no need to add exec?
echo "exec .. " > ~/.xinitrc
Code: | exec ck-launch-session dbus-launch --sh-syntax --exit-with-session xfce4-session |
Code: | ck-launch-session dbus-launch --sh-syntax --exit-with-session xfce4-session |
I'm still using other DE,I haven't tried this on xfce4 startx, if anyone using xfce4 please reply, Thank you. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA
|
Posted: Thu Nov 26, 2020 7:24 pm Post subject: |
|
|
Well, Consolekit is deprecated, so we should be moving away from it. You should be using elogind/pam, and you should be getting a session if your login setup is setup correctly.
Are you using 'startx' or 'xinit' or otherwise manually starting X11? Then .xinitrc may be the right place to put stuff.
If you're using a graphical login, then .xinitrc is not the right place to put things. Seems to automagically work for me. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
jordanweb n00b
Joined: 27 Oct 2020 Posts: 14
|
Posted: Thu Nov 26, 2020 7:42 pm Post subject: |
|
|
Thanks I'm using graphical manager and now I understand how.
also my bad I did not see the wiki already mentioned just "replace the above line in ~/.xinitrc with the following entry " |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2965 Location: Edge of marsh USA
|
Posted: Fri Nov 27, 2020 3:46 am Post subject: |
|
|
If using a display manger (graphical login) the user's .xinitrc is not used. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
|