Sponsored Content
Full Discussion: Where am I?
Top Forums Shell Programming and Scripting Where am I? Post 302285621 by ruben.rodrigues on Monday 9th of February 2009 10:35:10 AM
Old 02-09-2009
Quote:
Originally Posted by quirkasaurus
this zenity script is just a "do-nothing" little script...

--info gives the little lightbulb....
--title sets the window title
--text gives you a text label....

You mean, you want it to give you the directory that you click?

Sure, try something like this:

Code:

dir=$(

  zenity --list --title="Choose the directory you wish to view" \
       --column="Directory" \
admin \
bin \
data \
deploy \
lost+found \
pdc \
scratch \
web \
webnet \
  )



print dir=$dir

Man, the idea is to not need to enter the directory. Is to write a script that tells me in which directory I am or in which file did I click
 
XFCE4-SCREENSHOOTER(1)						   User Commands					    XFCE4-SCREENSHOOTER(1)

NAME
xfce4-screenshooter - application to take screenshots DESCRIPTION
Usage: xfce4-screenshooter [OPTION...] Help Options: -?, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options Application Options: -V, --version Version information -w, --window Take a screenshot of the active window -f, --fullscreen Take a screenshot of the entire screen -r, --region Select a region to be captured by clicking a point of the screen without releasing the mouse button, dragging your mouse to the other corner of the region, and releasing the mouse button. -d, --delay Delay in seconds before taking the screenshot -h, --hide Do not display the save dialog -m, --mouse Do not display the mouse on the screenshot -s, --save Directory where the screenshot will be saved -o, --open Application to open the screenshot -u, --upload Host the screenshot on ZimageZ, a free online image hosting service --display=DISPLAY X display to use xfce4-screenshooter 1.6.0 June 2008 XFCE4-SCREENSHOOTER(1)
All times are GMT -4. The time now is 02:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy