Re: Can't seem to load .xinitrc

2010-07-05 Thread Christophe-Marie Duquesne
About gdm ignoring .xsession, I remember I wrote a workaround on the wiki some time ago. http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome#with_gdm You have to create /usr/share/xsessions/xsession.desktop: [Desktop Entry] Name=Xsession Comment=This runs ~/.xsession Exec=

Re: Can't seem to load .xinitrc

2010-07-04 Thread Jérôme M. Berger
Noah Meyerhans wrote: > On Sun, Jul 04, 2010 at 12:49:10PM +1000, Adam Nielsen wrote: >>> Nothing. I even did a cold reboot. It seems as if .xinitrc isn't actally >>> being executed on startup, because 'sh .xinitrc' gets everything running >>> great. >> Might depend on your system config, I've

Re: Can't seem to load .xinitrc

2010-07-04 Thread Noah Meyerhans
On Sun, Jul 04, 2010 at 12:49:10PM +1000, Adam Nielsen wrote: > > Nothing. I even did a cold reboot. It seems as if .xinitrc isn't actally > > being executed on startup, because 'sh .xinitrc' gets everything running > > great. > > Might depend on your system config, I've never fully understood

Re: Can't seem to load .xinitrc

2010-07-04 Thread Matti Eiden
There's also a nice console session manager, called CDM. It can be found on arch linux wiki or forum. At least with my version it doesn't allow the user to suspend X. If the user tries to ctrl out, the user is greeted with a new login screen. It's pretty nice, fully done in bash. On 4 Jul 2010 14:

Re: Can't seem to load .xinitrc

2010-07-04 Thread Gregor Best
For what it's worth, the method of using startx leaves a small security hole open, which is especially sucky with laptops. Even if the X session is locked by something like xtrlock or xscreensaver, one can still switch to the first terminal and use ^Z to background X, then being allowed to run any

Re: Can't seem to load .xinitrc

2010-07-04 Thread nharris
(just for the sake of keeping anybody reading this up to date, the method in my last email to fix the console *doesn't* actually work, it's just that the driver had not been initiated when I rebooted...my mistake) >Like this? > >sudo update-rc.d -f gdm remove > >Good news is that I got the console

Re: Can't seem to load .xinitrc

2010-07-04 Thread nharris
Like this? sudo update-rc.d -f gdm remove Good news is that I got the console stuff worked out with the proprietary nvidia drivers... 'nvidia-settings' > GPU 0 - (ION) > DFP-0 - [serial number?] > GPU Scaling Method: check 'Aspect Ratio Scaled' (just for future reference if somebody comes acros

Re: Can't seem to load .xinitrc

2010-07-03 Thread nharris
Ehh, turns out it's an issue with GDM, which ignores .xinitrc My console might be hosed from the nvidia drivers, but I can still login and use 'startx'. I don't mind getting rid of the bloat, either. =) > @Noah, I mean #!/bin/bash ;) > > did you try running another DE? What distro are you runn

Re: Can't seem to load .xinitrc

2010-07-03 Thread nharris
Nothing. =\ > Hi guys, > > @Noah, just a question: are you sure this is right > > #!/usr/bin/bash > > > usually bash is found in /bin/bash, and .xinitrc can even use /bin/sh. > > Regards > > -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Can't seem to load .xinitrc

2010-07-03 Thread nharris
Yea, I still can't get .xinitrc to load. =( I'd happily changed runlevels so I didn't go through GDM (I actually prefer this), but since I installed the non-free nvidia driver (gotta have my 1080p) last night it seems to have hosed my console and I haven't quite got around to finding a fix just y

Re: Can't seem to load .xinitrc

2010-07-03 Thread nharris
Looks like (from /etc/X11/xinit/xinitrc, which execs /etc/X11/Xsession) that the default is ~/.xsession, and I had used ln -s to ~/.Xsession, so I'll give that a quick try. Would you be able to track down where I would find the relevant init scripts by any chance? >> Nothing. I even did a cold

Re: Can't seem to load .xinitrc

2010-07-03 Thread Adam Nielsen
> Nothing. I even did a cold reboot. It seems as if .xinitrc isn't actally > being executed on startup, because 'sh .xinitrc' gets everything running > great. Might depend on your system config, I've never fully understood the difference between ~/.xinitrc, ~/.xsession, /etc/X11/xinit/xinitrc,

Re: Can't seem to load .xinitrc

2010-07-03 Thread nharris
Nothing. I even did a cold reboot. It seems as if .xinitrc isn't actally being executed on startup, because 'sh .xinitrc' gets everything running great. FYI, I'm running Debian Squeeze (well, technically Crunchbang Statler). (Sorry for sending this to you twice, had to get this reply to the lis

Re: Can't seem to load .xinitrc

2010-07-03 Thread Adam Nielsen
> #!/usr/bin/bash > > exec awesome This command replaces the running script with Awesome. After this call, no other commands will run. > #open network manager > nm-applet & > #compositing > cb-compmgr --xcompmgr & > #background > nitrogen --restore & If you put it last, it should work. Cheers

Can't seem to load .xinitrc

2010-07-03 Thread nharris
I'm having some issues getting my system to load the .xinitrc file...whenever I log in, nothing is loaded from it. I'm not sure what's going on, but maybe somebody else has experienced this and can give me some help. Here's my .xinitrc: #!/usr/bin/bash exec awesome #open network manager nm-ap