Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[help] su things
12-22-2011, 08:58 AM
Post: #1
[help] su things
Just a small question.
Is there a small solution to automate the startup a program in 'su' modus?
Just a bit like 'gksudo leafpad ~/etc/system.jwmrc' on debian systems.
It would be easy for shortcuts, just type in the password and the program starts.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-23-2011, 11:06 PM (This post was last modified: 12-23-2011 11:06 PM by tavvva.)
Post: #2
RE: [help] su things
(12-22-2011 08:58 AM)nl2stk Wrote:  Just a small question.
Is there a small solution to automate the startup a program in 'su' modus?
Just a bit like 'gksudo leafpad ~/etc/system.jwmrc' on debian systems.
It would be easy for shortcuts, just type in the password and the program starts.

Have You tried plain sudo ? :]
Anyway ... If You like gksudo, I can build it :]
Visit this user's website Find all posts by this user
Quote this message in a reply
12-24-2011, 10:26 AM
Post: #3
RE: [help] su things
Well I actually found a 'sudo' for Arch but it needs dependencies and the dependencies needs other dependencies... so I decided it ain't worth it. I've made only one entry in the menu 'Root terminal'.
The whole idea was to make some entries in the menu like 'Update System" with the su and pacman command.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-24-2011, 06:27 PM
Post: #4
RE: [help] su things
(12-24-2011 10:26 AM)nl2stk Wrote:  Well I actually found a 'sudo' for Arch but it needs dependencies and the dependencies needs other dependencies... so I decided it ain't worth it.

sudo is already in the DeLi(cate) repository Big Grin
Visit this user's website Find all posts by this user
Quote this message in a reply
12-26-2011, 09:14 AM (This post was last modified: 12-26-2011 09:22 AM by nl2stk.)
Post: #5
RE: [help] su things
(12-24-2011 06:27 PM)tavvva Wrote:  sudo is already in the DeLi(cate) repository Big Grin

Typical me I wouldn't see an elephant even when he standing in front of me Smile


(12-26-2011 12:15 AM)Compact Wrote:  Yes. And now you also don't have to type in that password any more.
You can change that in /etc/sudoers if you want.

So far I made a mouse-clickable "pacman menu" in mc for:
make repo.list [sudo pacman -Sl > repo.list] to view within mc (f3)
update repo db [sudo pacman -Sy]
clean cache [sudo pacman -Sc]
manual [mcview /usr/man/man8/pacman.8.gz]
help [sudo pacman -h]
update all packages [sudo pacman -Syu]

My intention was to make something like that, it's very handy Smile

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-29-2011, 09:52 AM (This post was last modified: 12-29-2011 02:57 PM by nl2stk.)
Post: #6
RE: [help] su things
I've made a few entries, and there is still room for improvement.
Now there is a simple 'repolist', but it would be nicer when there is a list with extra info (like pacman -Si gives).
But hey I 've got to start somewhere :]
This is now how it is...

[Image: 335376166969930.jpg]


EDIT: I've made an extra entry called 'PKGBUILD Help".
This opens a textfile and shows the most common options how to change an Arch PKGBUILD to an i386 compatible PKGBUILD.
So most of the times I can copy and paste some things from that document, it reduces typemismatches :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication