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: -h, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options Application Options: -s, --save Directory where the screenshot will be saved -u, --upload Host the screenshot on ZimageZ, a free online image hosting service -c, --clipboard Copy the screenshot to the clipboard -o, --open Application to open the screenshot -d, --delay Delay in seconds before taking the screenshot -m, --mouse Display the mouse on the screenshot -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. -w, --window Take a screenshot of the active window -V, --version Version information --display=DISPLAY X display to use xfce4-screenshooter 1.8.1 February 2012 XFCE4-SCREENSHOOTER(1)
All times are GMT -4. The time now is 12:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy