BLAG

BLAG Forums
It is currently Sun Dec 21, 2014 6:44 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Feb 24, 2008 2:47 pm 
Offline

Joined: Sun Mar 25, 2007 11:33 am
Posts: 240
Location: Great Lakes
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 4:08 pm 
Offline

Joined: Thu Sep 28, 2006 5:41 pm
Posts: 68
Location: Idaho, USA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 2:55 am 
Offline

Joined: Sun Mar 25, 2007 11:33 am
Posts: 240
Location: Great Lakes
Thanks, I'll look into it.

The help is always appreciated.

Mike


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group