You are not logged in.
don't know if this is the right place to be posting this but here we go.
looked over the forum might have missed it, if i did hopefully someone can point me in the right direction. i want this to start when i login to scrotwm: feh --bg-scale images/wallpapers/Firefox-Anime-4-4-2.jpg
tried a few different things with no success, i have feh installed. tried a script can't figure out how to auto start it. bout to just give up and type that command every time i login, which if i use scrotwm as my main wm won't be often but would like it to auto start.
kinda sat up all night playing on psn with friends then started messing with scrotwm, so i might have missed something, sry if i posted this for no reason.
Last edited by siknik (2011-09-28 00:41:46)
Offline
how are you starting scrotwm, with GDM or .xinitrc?
Offline
gdm as for as i know, thats the default crunchbang login right?
Offline
sudo -ienter password
touch /usr/local/bin/scrotwm.sh
cd /usr/local/bin/
<editor of choice> scrotwm.shadd to file
feh --bg-scale /home/YOURUSERNAME/images/wallpapers/Firefox-Anime-4-4-2.jpg &
sleep .2
scrotwmSave, exit, run
chmod +x scrotwm.shthen
<editor of choice> /usr/share/xsessions/scrotwm.desktopmake it look like this
[Desktop Entry]
Comment=This session runs the scrotwm window manager
Encoding=UTF-8
Type=XSession
Exec=/usr/local//bin/scrotwm.sh
TryExec=scrotwm
Name=ScrotwmSave, exit, go to GDM, you should be good to go. If you're using network-manager for connections, you will want to add
nm-applet &to the scrotwm.sh file
Return for troubleshooting.
Offline
thanx man this worked perfect!!! i feel like i owe you money or something!:D
Offline
maybe you could answer one more ?. this one isn't as important to me but could you possibly explain how to add key-bindings. i followed the example at the bottom of the scrotwm.conf file but it doesn't seem to be working. only thing i managed to do was change the mod-key from alt to super. but i tried to add in the shortcuts from open-box and they don't wanna work. so far i tried super-e for gedit and super-w for chromium, neither have worked so i have settled for using super-p for the run app deal, not ever sure what it's called?
Last edited by siknik (2011-09-27 22:15:26)
Offline
Did you restart scrot (MOD + Shift + q)?
Take a look at my shortcuts:
program[firefox] = firefox
bind[firefox] = MOD+w
program[thunar] = thunar
bind[thunar] = MOD+f
program[lowriter] = lowriter
bind[lowriter] = MOD+o
program[synaptic] = gksudo synaptic
bind[synaptic] = MOD+sOffline
i restarted with mod+q, so i would have to quit with mod+shift+q then log back in?
are you placing them in the .conf just like that? if so where? i was placing them separately in the spawn-app and key-bindings sections, that may be my problem.
and with that autostart you help me with, could i add other stuff to it if i decided i wanted something else to start at login? i don't at the moment, but it would be helpful to know for future reference.
Offline
My bad, MOD +q should do it. I added the shortcuts to the end of the scrotwm.conf file. Restart and it works.
Follow the syntax. For gedit, it would be
program[gedit] = gedit
bind[gedit] = MOD+eYou add what you want to start to /usr/local/bin/scrotwm.sh
Offline
thank you so much, you saved me such a headache in figuring all this out. 
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.