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
 
WSP(4)							   BSD Kernel Interfaces Manual 						    WSP(4)

NAME
wsp -- Wellspring touchpad driver SYNOPSIS
To compile this driver into the kernel, place the following lines into your kernel configuration file: device wsp device usb Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): wsp_load="YES" DESCRIPTION
The wsp driver provides support for the Apple Internal Trackpad device found in many Apple laptops. The driver simulates a three-button mouse using multi-finger tap detection. A single-finger press generates a left button click. A two-fin- ger tap maps to the right button; whereas a three-finger tap gets treated as a middle button click. wsp supports dynamic reconfiguration using sysctl(8) through nodes under hw.usb.wsp. Pointer sensitivity can be controlled using the sysctl tunable hw.usb.wsp.scale_factor. FILES
wsp creates a blocking pseudo-device file, /dev/wsp0, which presents the mouse as a sysmouse or mousesystems type device--see moused(8) for an explanation of these mouse types. SEE ALSO
sysmouse(4), usb(4), loader.conf(5), xorg.conf(5) (ports/x11/xorg), moused(8), sysctl(8) AUTHORS
The wsp driver was written by Huang Wen Hui <huanghwh@gmail.com>. BSD
February 7, 2014 BSD
All times are GMT -4. The time now is 08:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy