You are not logged in.
Hi!
I've recently entered the world of tiling WM and started with dwm.
Since I'm kinda insecure, and wanted to keep gnome as well, I've followed every single step in the wiki article and used the ~/.Xclients way, so I could start dwm from gdm (I've followed also the steps in the discussion page as well).
Then, when I tried to startup dwm from gdm, it doesn't start, and goes back again to gdm.
My ~/.Xclients file is the following:
setxkbmap -layout pt
#relogio
while true; do
xsetroot -name "$( date +"%F %R" )"
sleep 1m # Update time every minute
done &
# #estado da bateria
# while true; do
# batt=$(LC_ALL=C acpi -b)
# case $batt in
# *Discharging*)
# batt="${batt#* * * }"
# batt="${batt%%, *} "
# ;;
# *)
# batt=""
# ;;
# esac
# xsetroot -name "$batt$(date +%R)"
# sleep 60
# done &
#conky bar
conky | while read -r; do xsetroot -name "$REPLY"; done &
#executar o dwm
exec dwm
It's all things copied from the wiki page, just for testing if everything was fine...
My /usr/share/xsessions/dwm.desktop file is:
[Desktop Entry]
Encoding=UTF-8
Name=Dwm
Comment=Dynamic window manager
Exec=/usr/local/bin/dwm
Icon=dwm
Type=XSession
And I've created a /usr/share/xsessions/user.desktop file that looks like this:
[Desktop Entry]
Encoding=UTF-8
Name=User XSession script
Comment=Runs your ~./Xsession script
Exec=/etc/X11/Xsession
Type=Application
Thanks in advance for any help, I've searched the forums and used google and couldn't find any answer to this problem :S
Last edited by Aeriel (2011-09-01 17:19:02)
Offline
[Desktop Entry] Encoding=UTF-8 Name=Dwm Comment=Dynamic window manager Exec=/usr/local/bin/dwm Icon=dwm Type=XSession
My dwm.desktop file has
[Desktop Entry]
Encoding=UTF-8
Name=Dwm
Comment=Dynamic window manager
Exec=dwm
Icon=dwm
Type=XSession
as opposed to what you have there. So you could try that. Also there is no /usr/local/bin/dwm file on my computer, you should check that for your computer as well.
Edit: Why don't you just use .xinitrc?
Last edited by haxit (2011-09-01 16:21:12)
Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.
Offline
haxit, thanks I've managed to solve the problem!
I've installed SLiM and set up everything in .xinitrc.
The dwm.desktop doesn't match with yours because I've changed somethings and because I didn't backup the file (I know, it's super dumb and stupid) I had to paste the defaults I found in the web.
Thanks.
Fellow gdm and dwm users, an advice, put everything in .xinitrc. It's easier.
Last edited by Aeriel (2011-09-01 17:19:30)
Offline
Please mark as solved.
Offline