You are not logged in.
Hello,
I recently reinstalled Arch because my first two installations didn't go 100% well. This time I stuck to the wiki and followed it. I have an SSD + HDD setup with LVM using two different physical volumes to allow for moderation down the line.
Everything went well. No errors and the weird error I was getting in my previous two installations is gone it seems. I'm in the process of installing a window manager and I'm going with openbox. I installed intel video drivers after installed xorg-server because my CPU comes with built in graphics card. I know this probably wasn't necessary but it seemed harmless enough.
So I installed xorg-server, xorg-server-utils xorg-apps xorg-xinit. After all that I installed openbox, openbox-themes, pcmanfm and other things it mentioned in the Wiki. Now I'm trying to configure my .xsession it seems to be missing from my /etc/skel/ as well as .xinitrc. I found where xinitrc was in /etc/X11... and copied it over. I know .xsession just sources .xinitrc but I couldn't find where it's default location is. I also wanted to add openbox to .xinitrc but there is tons of writing in there and in my previous installation it was basically default stuff.
So my question is, has something changed in the way these things were installed? Why would they be missing from my /etc/skel? I followed the Wiki to the letter on this one and those files were there in my previous two tries so it's a bit confusing.
Last edited by SirMyztiq (2015-03-27 07:15:50)
Offline
Offline
What changed is the removal of the templates .xinitrc and .xsession in /etc/skel directory.
Instead of /etc/skel/.xinitrc you can:
cp /etc/X11/xinit/xinitrc ~/.xinitrc
Take care to rename it .xinitrc and to edit it for these changes:
from
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
to
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?* ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
It's because 'xdg-user-dirs' has no '.sh' at the end.
And replace at the end of the file:
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
with
...
<everything you want running in background without the exec command>
...
exec openbox-session
If you use startx to launch the graphical environment, you don't need the .xsession file.
Last edited by berbae (2015-03-26 15:40:09)
Offline
It's because 'xdg-user-dirs' has no '.sh' at the end.
Shouldn't this be filed as a bug? Or at least added to the wiki. (and now I know why my infinality settings aren't applied properly either...)
Last edited by Alad (2015-03-26 16:12:36)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
It's because 'xdg-user-dirs' has no '.sh' at the end.
Shouldn't this be filed as a bug? Or at least added to the wiki. (and now I know why my infinality settings aren't applied properly either...)
Offline
Thanks for the help guys!
Offline