Software :: How To "link" Read Command To Zenity Entry

Jun 15, 2011

I have searched all over the net and i just can't find out how to "link" read command to zenity entry.An excerpt of my script:

Code:
echo "Insert the location of URL:"
read lokacija

[code]....

View 3 Replies


ADVERTISEMENT

Ubuntu :: Send The Results Of A Command Line $du -max-depth=1 To A Zenity Message Box?

Jun 14, 2010

I'm trying to send the results of a command line $du --max-depth=1 to a zenity message box.I want to create a .sh script that I can run as a Nautilus script that will open a zenity message box with a listing of sub-folders/sizes. $DU with options, will provide the results in a terminal window, but I can't seem to get it into a zenity message box. I've tried gxmessage also, but no go.

View 2 Replies View Related

General :: View CD Shortcut Link / List Link Name By Using Any Command?

Jun 8, 2010

Whenever we insert CD,it creates a shortcut link in desktop.Can we list this link name by using any command? I am using Oracle Enterprise Linux 5.0.

View 10 Replies View Related

Debian :: Vwhat Should Entry Read To Conform With New Policy?

Mar 20, 2011

I have recently upgraded my OS from Lenny to Squeeze.The new setup boots, but sent a "Warning" message during the upgrade - which said:The reference to "/dev/hdb" (the Hard Disk that has my Linux OSs) in "/etc/lilo.conf" is deprecated.The full text of my entry currently reads:boot=/dev/hdb.So what should the entry read to conform with the new Debian policy?

View 11 Replies View Related

Ubuntu :: Can't Figure Out The Fstab Entry \ Connect To Is Not Browseable And Is Read Only=no?

Apr 16, 2011

I am trying to mount a smb share on an ubuntu machine and for the life of me I can't figure out the fstab entry. The server is running fine and the windows machines can map their shares fine, I just cant figure out the fstab entry for an ubuntu box.at this point the fstab looks like this(although I have tried many variations)

Code:
//server/path/share /path/mount/point smbfs credentials=/root/.credentials, uid=1000, gid=1000 0 0

[code]....

View 3 Replies View Related

Server :: Not Booting - Remove The Entry From Fstab For /home It's Read Only

Jun 15, 2011

when i starting the server..it is coming to maintenence mode and saying repair file system...because /home1 was not found in /etc/fstab.. when i tried to remove the entry from fstab for /home..it is read only!!

View 5 Replies View Related

General :: Make A Symbolic Link Read Only?

Feb 2, 2010

Can you make a symlink read only? I have about 100 users who all have a .login. They like to modify their .login, which is fine in most cases, but sometimes they do it wrong & it screws up a LOT of the things they are supposed to be doing. Because of this, I'm going to lock down all .logins & I thought, "wouldn't it be nice if we could modify one file & all users would get the modification?" So I'm currently testing having everyone's .login point to a central .login via symlink. It works fine, but it appears that the users can [re]move the link & replace it with a file, thus defeating the purpose. Can I lock down the symlink so the user cannot move or remove the link? FWIW, it must be a symbolic link (as opposed to a hard link) as the file it points to is on an NFS share (not the same file system).

View 3 Replies View Related

Ubuntu :: Link Opens File In Read-only Mode Change?

Apr 18, 2010

I create a link to a file in order to open the file from the desktop. When I move the link from the file location to the desktop, the file is opended in read-only mode. How can I change this so that the file opens in regular mode so that I am able to edit contents? The file in question is an open office spreadsheet.

View 5 Replies View Related

General :: Sudo For A Single Command With No Password Entry

Apr 20, 2010

I wish to allow a user to use sudo to run a single command (service app status) to determine if my application app is running, in my sudoers file i have: user ALL= /sbin/service app status I understand that there is a parameter called timestamp_timeout that will set the timeout for the 'user', but requires at least 1 entry of the root password.

I wish to allow the user to do "sudo service app status" and not have to enter the root password ever(maybe once is ok), but still make the user enter the root password for all other root activities. Is there a way to prevent the password entry for this command only and no others?

View 3 Replies View Related

Ubuntu :: Link One Command To Another?

Jun 14, 2011

there is a way to link a terminal command to run a different command... but I have no idea what it was called and all my searches keep finding how to make symbolic links.

What I'm trying to achieve is if you run $foo, the terminal will instead run $~/foo.sh

I would like this to be able to create links between the command $blender and my blender 2.5 installation which is buried in my home folder.

View 3 Replies View Related

General :: Execute A Command In A Link?

Jun 30, 2011

When i click in one icon (for example), this icon executes "java -jar ...". In another words: Make a .exe on linux.

View 2 Replies View Related

Fedora :: What's The Command To Know The Mirror With Exact Link

Mar 23, 2011

yum repolist shows the reponame. What's the command to list the specific link that it's using?

View 3 Replies View Related

Software :: Run .htm Link From Command Prompt In Fedora 10?

Jun 17, 2010

How to run .htm web links from command prompt on fedora10. u.

View 1 Replies View Related

Networking :: Connect To A D-link DIR-300 Router Using Command Line?

Apr 3, 2011

I need to connect to my router using only CLI, specifying an username and password, preferably with a single command line, so it won't be interactive, 'cause I need to include the command in a script.

View 5 Replies View Related

Fedora :: Ln Command For Link Creation To Folder On Windows Partition

Jan 16, 2010

I have a question about the ln command for link creation. I have both Windows and Linux partitions on my system. While I'm working on linux, sometimes I need to access the data stored on my windows partition. Yet, the access is provided through /media directory and I often, I have to click on several folders in order to access windows "My Documents" folder. So, in order to avoid this, I decided to create a link to "My Documents" folder directly from my $HOME directory.

Code:
$ mkdir /home/dariyoosh/MyDocuments
$ ln -fs /media/disk/Users/dariyoosh/Documents/MyDocuments/* ./MyDocuments

The link was created without any problem and now I have a direct access to that folder just by a click. Yet, there is a problem. If I update any file of the windows MyDocuments folder within this linking directory, the file is actually updated on the windows partition, which is of course what I want to do. But If I decide to create a new file on the windows "MyDocuments" folder by using this linking folder, that is, /home/dariyoosh/MyDocuments, the file is put actually on the linux partition instead of the windows MyDocuments folder. So, having created a directory linking to another directory, is there any way to proceed so that any file operation, in particular, creation, affects directly the linked directory?

View 3 Replies View Related

Server :: Any Command Not Working On Rhel3 After Creating Soft Link Of Libc.so.6?

Oct 29, 2010

i have server with rhel3 ES. in folder "/lib64/tls" there is one file named libc.so.6 which is softlink of libc-2.3.2.so. i just copied libc-2.3.4.so from rhel4 AS server to rhel3 server in the same location and override the softlink libc.so.6 as a softlink of libc-2.3.4.so. now no any command is working in this server i.e.(cp,vi,rm mv ls etc.). it is also not opening any terminal and nothing command is working.

View 1 Replies View Related

Fedora :: 14 Does Not Boot After Installing Zenity?

Aug 7, 2011

I installed Zenity with yum and while it was installing it delete a lot of things.After an reboot Fedora hangs by the inlogscreen.I also tried to uninstall Zenity with system resque but no result.Does somebody knows how to upgrade my system again so that it boots normally again.

View 7 Replies View Related

General :: Getting Zenity And At To Work Properly

Aug 23, 2011

I'm trying to use zenity and at to make a little reminder script. The problem is that while zenity --info works fine from bash (or sh), running echo "zenity --info" | at now + 1 min does nothing. The job shows up in my atq and then runs, but no zenity pop-up. What's going on?

View 1 Replies View Related

Ubuntu :: Zenity Shutdown Script With Consolekit?

Sep 1, 2011

Somehow we are at the new stage hal deprecated and its changes is not easy for newbies to follows. also changing sudoers is a dirty and not safe trick So: The need for zenity script with these feature:

@ Consolekit
@Logout
@shoutdown
@restart
@suspend
@my be cancel

is really being felt. So if someone how is able to change the old zentiy openbox script comes forward and do the job;

View 9 Replies View Related

General :: Launching ZENITY On A Given Position On The X11 Screen?

Dec 5, 2010

how to pass the position to zenity to be launched specific place of X11? No info are given [URL]

View 3 Replies View Related

Programming :: How To Get Zenity Progress Bar Working Properly

Apr 14, 2011

I am busy writing this script to get a pixel count of a large batch of images in a directory for a research project. To do this I'm using a loop to get all the images in the directory. To make the whole procedure more user friendly for some colleagues I decided to use zenity, something I haven't yet really worked with. As not to make sure that the users don't have to watch to this blank screen during the actual processing of the images I'm trying to get the zenity progress bar working. So far the progress bar comes up but instead of changing over time it stays "empty" till all the images are processed and then becomes 100% when all images are done. What servers my needs for now, but since I am trying to learn more about zenity I was wondering how I could change the script to get the progress bar properly working? Below is the piece of script I am talking about.

Code:
cd $input #goto path of image directory
(for a in *jpg *JPG *jpeg *JPEG; do
if [ -f "$a" ]; then #was it a image file
b="$a" #set b to $a
convert -resize 1000x1000! ${b} -depth 1 -format %c histogram:info:$b.txt #get pixelcount and write to .txt file
fi
done) | zenity --progress

View 2 Replies View Related

Ubuntu :: Command To Read Files?

Jul 17, 2011

know the basic command for reading the README file after you tar the program using terminal Ubuntu 11.04.thx

View 2 Replies View Related

Fedora :: Zenity - Bash: [/code]: No Such File Or Directory

Apr 9, 2010

Awhile back, PabloTwo pointed me to zenity as a way to create bash scripts with changeable parameters. That thread is here, for anyone interested in reading about it: [URL] Anyway, my problem is that I'm trying to capture input that contains double-dashes ("--") but zenity (or maybe or it's bash???) complains with the following error message:

"This option is not available. for all possible usages.
bash: [/code]: No such file or directory"

Here's an example of what I'm doing:

Code:

# Select the time of day
Flytime=`zenity --list --text="Select the Time" --radiolist --height=300 --width=300 --hide-column=2 --column="Select" --column="Code" --column="Time of Day"
"" "--timeofday=real" "Local Time"

[code]....

What I want to accomplish is for the variable $Flytime to contain either "--timeofday=real" or "--timeofday=dawn" (without the quotes) depending upon which radio button is selected. I have tried escaping "--timeofday" (e.g. "--timeofday" and even "--timeofday") but that's not working.

View 3 Replies View Related

Ubuntu :: Simple Script That Will Have Zenity Display A Yes Or No Question?

Apr 15, 2010

Basically I'm trying to write a simple script that will have zenity display a yes or no question and then run a program depending on what I select. I'm also trying to figure out how to have zenity display a message after I select yes or no on the first display. I feel as though I'm forgetting to do something basic with the script...

View 7 Replies View Related

Ubuntu :: Customizing LiveCD With Zenity And Window Position?

Jan 21, 2011

I've been making a "gui" for a script to help automate some of the steps involved in customizing a live cd with zenity. I have a menu with radio buttons for each option. When I pick "Remove a package manually", I have it show all of the installed packages as well as a text box for me to type the name into. The only downside to this method is that the package window overlaps the text box. Is there a way to change the window position of zenity windows?

View 2 Replies View Related

Ubuntu :: Allow Empty Return From Read Command?

Feb 19, 2010

I am writing a short script to do some backups.Here is a small section of it:

Code:
echo -n "Please enter your choice ..."
read CHOICE

[code]....

View 3 Replies View Related

General :: Equivalent Of Read -r - Solaris Command

Jan 3, 2011

What is the equivalent of read -r (solaris command ) in Linux ? read utility in solaris will read a single line from standard input and -r option is used not to treat backslash () as an escape character .

View 4 Replies View Related

Software :: Read Command Not Executed In Script

Nov 2, 2010

I have a read command in the following script, but it does not get executed when I run the script. What's wrong with the read statement?

View 3 Replies View Related

Ubuntu :: Pipe Bash Script To Zenity's Progress Feature?

Feb 22, 2010

Example from zenity:

Code:
#!/bin/sh
(

[code].....

View 1 Replies View Related

Ubuntu Installation :: Get Zenity 2.32.0 Installed On Lucid Besides Compiling It From Source?

Oct 11, 2010

is there anyway to get zenity 2.32.0 installed on lucid besides compiling it from source? because i noticed it was available for maverick.

is this version likely to be available for lucid?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved