Sponsored Content
Full Discussion: Where am I?
Top Forums Shell Programming and Scripting Where am I? Post 302285616 by quirkasaurus on Monday 9th of February 2009 10:27:10 AM
Old 02-09-2009
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

 
mousetweaks(1)						      General Commands Manual						    mousetweaks(1)

NAME
mousetweaks - Accessibility enhancements for the mouse SYNOPSIS
mousetweaks [--enable-dwell] [--enable-secondary] [--dwell-time=FLOAT] [--secondary-time=FLOAT] [-m|--dwell-mode=STRING] [-c|--show-ctw] [-x|--ctw-x=INT] [-y|--ctw-y=INT] [-t|--threshold=INT] [-s|--shutdown] [--disable-animations] [--daemonize] [-?|--help] DESCRIPTION
mousetweaks is a daemon that provides various mouse features for the GNOME desktop. It depends on the Assistive Technology Service Provider Interface (AT-SPI). OPTIONS
--enable-dwell Automatically perform mouse clicks without using a physical button. --enable-secondary Trigger the secondary mouse button when the primary mouse button is held down for a specified amount of time. --dwell-time=FLOAT Time to keep the pointer motionless before a dwell click is performed. Range: 0.2 - 3.0 seconds. --secondary-time=FLOAT Time to hold the primary mouse button before a simulated secondary click is performed. Range: 0.5 - 3.0 seconds. -m, --dwell-mode=STRING Select a dwelling mode. Available arguments are: window, gesture WINDOW Select the active click type from a window or a panel applet. GESTURE Perform clicks by moving in different directions after the cursor changes its shape. -c, --show-ctw Show the click-type window. Only useful in combination with dwell-mode=window. -x, --ctw-x=INT X Position of the click-type window on screen. -y, --ctw-y=INT Y Position of the click-type window on screen. -t, --threshold=INT Ignore small pointer movements. Range 0 - 30 pixels. -s, --shutdown Stop the mousetweaks daemon. --disable-animation Disable cursor animations. The animation shows the timer progress for dwell clicks and secondary clicks as cursor overlay. --daemonize Start mousetweaks in the background, ie. spawn a child process. --login Start mousetweaks in login mode. In login mode, mousetweaks does not check whether AT-SPI is running. FILES
~/.mousetweaks.pid The daemon creates a lock file in the users home directory to keep track of its status. BUGS
Report bugs to <http://bugzilla.gnome.org/> <http://bugzilla.gnome.org/> AUTHORS
mousetweaks was written by Gerd Kohlberger LICENSE
Licenced under the GNU General Public License v3 or later. SEE ALSO
dwell-click-applet(1), pointer-capture-applet(1), Assistive Technology Service Provider Interface (AT-SPI) mousetweaks(1)
All times are GMT -4. The time now is 02:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy