|
| View previous topic :: View next topic |
| Author |
Message |
hansencomputers
|
Posted: Sun Feb 24, 2008 2:47 pm Post subject: automate entry in a terminal window |
|
|
Hi,
Is it possible to automate entering some text in a terminal window?
I use encfs (encrypted file system) and when I want to mount it, I open a terminal window and have to type some text, and then the password.
I would like to automate that, like a desktop button that when clicked, simply asks for the password.
Is this possible?
Mike
|
|
|
 |
iron_chef
|
Posted: Tue Feb 26, 2008 4:08 pm Post subject: |
|
|
Mike,
Look into zenity and gksu, they might be helpful. Zenity is an easy way to pop-up GUI dialog boxes, and gksu is a gui password prompt tool. You could write a simple shell script using them, and then create a .desktop file that launches the script. They both have man pages.
|
|
|
 |
hansencomputers
|
Posted: Wed Feb 27, 2008 2:55 am Post subject: |
|
|
Thanks, I'll look into it.
The help is always appreciated.
Mike
|
|
|
 |
|
|
|