Is there anyway to dock a window at startup that first needs a password prompt?

Asked by Johnny on 2013-08-30

Hi again. I was wondering if it was possible to dock a window that first needs a password , upon startup?

I tried : kdocker -s -q -d 30 gksu pantheon-files ....but that doesn't work.

"gksu pantheon-files" is what I use as a command in terminal or app search to bring up a password prompt to login to my files as an Administrator(root) in Elementary OS.

Is it possible to set a startup command that will ask me for my password to open pantheon-files as an administrator and then have kdocker dock pantheon-files automatically?

 Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Inactive kdocker (moved to https://github.com/user-none/KDocker) Edit question
Assignee:
No assignee Edit question
Last query:
2013-08-30
Last reply:
2013-08-31
John Schember (user-none) said : #1

gksu is a graphical program so KDocker would doc that not the command you want it to run.

Really the only thing you can do is use sudo; set your sudoers to allow your user to run the command without a password. Then use sudo (instread of gksu) to run the command. You may have to use the window title matching option for KDocker since sudo will act as a launcher.

Can you help with this problem?

Provide an answer of your own, or ask Johnny for more information if necessary.

To post a message you must log in.