On Fri, Jan 07, 2011 at 11:31:51AM +0700, Gwenhael Le Moine wrote: > 2011/1/7 Zeerak Mustafa Waseem <[email protected]>: > > Hey guys, > > > > I'm using awful.util.spawn_with_shell to start some programs when I start > > awesome, but I'm unsure of how to start some programs as root (primarily > > emacs as I often need to edit some files that require superuser permissions > > (and should require superuser permissions)). Any hints? > > you could use a graphical su like kdesu or equivalent, or, even > better, use Emacs' tramp facility with something like > > awful.util.spawn( 'emacs /su::' .. your_file ) >
Yup that worked, thanks! -- Best Regards Zeerak Waseem -- To unsubscribe, send mail to [email protected].
