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 )

--
To unsubscribe, send mail to [email protected].

Reply via email to