Software :: Dynamically Determining The Number Of Check List In Zenity?
Apr 29, 2009
In my project i cannot determine the number of check list initially. I will know dynamically during execution.How to specify the number of check list dynamically in zenity.
I'm trying to use zenity in a bash script to display a .csv file using '--list' to allow the user to edit some of the values.I can display it fine but i'm unsure how to edit the data? all i can get is whichever line is highlited when hitting ok on the zenity dialog to print.the data in the csv is arranged:
Is there a way to make a dialog with zenity which would show an updating list? Zenity does it with progress, but I didn't figure out if it's possible to do it with the list. I.e. for example, I want to monitor something, and update the dialog with new list periodically. Is it even possible? zenity can wait for data from stdin, but it just adds stuff to the list. May be there are some control sequences which clear the list in the dialog?
I am new to Debian but not Linux-based systems. I have been experimenting a lot with Debian Lenny/Squeeze. I am growing more comfortable each day with the Debian design. Yet there remain many unexplored areas. I am creating a migration check list. Things to check, prepare, or reconfigure when moving from one Linux-based system to Debian.
I have a good computer background and my current check list probably is fairly good. Yet I would appreciate input and opinions from experienced Debian users of things to watch in such a migration. Login defs, passwd/group files, different directory locations, keymaps, services and daemons, etc. I am not too concerned with the desktop as I plan to stick with KDE 3.5 for a while and I can basically move those settings across.
I recently used up all my free inodes on my server. I had a bunch of mail messages that were sitting there using up a bunch, so I cleared the postfix queue. That gave me some room. What I'd like to do, is get a listing of the directories using the most inodes (or containing the most number of files), so that I can find the other culprits.Basically I want the output of "df -i" but to be able to do it recursively on a specific directory.
I have been forbidden to enable automatic updates on our Ubuntu servers, for both security and regular packages.When I log into any of my four Ubuntu servers, the welcome message contains this:
39 packages can be updated. 26 updates are security updates.
However, when I run the Nagios plugin that monitors APT, I get:
% /usr/lib/nagios/plugins/check_apt APT WARNING: 33 packages available for upgrade (0 critical updates).
I need to know how to properly detect that there are pending security updates, and regular updates. Once I can do that, I plan to write a Nagios script that will return WARNING for pending regular updates, and CRITICAL for pending security updates.
Is there any Linux application for finding the folders with the most number of files? baobab sorts folders by their total size, I'm looking for a tool that lists folders by the total number of files in it.
The reason I'm looking is because copying tens of thousands of small files is excruciatingly slow (much slower than copying a few large files of the same size), so I want to archive or delete those folders with high file counts that that will be slowing down the copying (it won't speed things up now, but it would be faster when I need to move/copy it again in the future).
I'm looking for a way to produce a list of all the directories in the current working directory sorted by the total number of files that are contained with them.
Initially I though that Nautilus could be used for this, but then I realised it doesn't count files in the sub directories.
The best I've got for a command line solution so far is this
Code:
The use case for this is a situation where a user has a quota applied to their home directory which limits the number of files they are allowed to have and they have exceeded that limit.
But when I install new updates for Ubuntu and restart my computer to apply those updates.... a new Ubuntu with different number appears on the list of the operating systems that I need to choose from
[Code]...
does this mean every time I updated Ubuntu I'll have additional OS on my device?
I am using the package Quantum espresso to get electron phonon coefficients for monolayer graphene. While applying one of the executables, I got the error: "At line 356 of file q2r.f90 (Unit 51 "a2Fq2r.51") Traceback not availabel: compile with -ftrace=frame or -ftrace=full. Fortran Runtime error: bad real number in item 1 of list input
I have a text file with a long list of RPM's. I need to check if each RPM is installed. I'm sure I can cat out this file and run "rpm -qa" against it, but I'm having trouble with the syntax right now...
I want to know that is there any command by which i can check which type of hardware devices are installed in my Linux box like SVGA,Sound Card,LAN Card.
I m using pidgin2.5.5-1 that is old version of pidgin because of some proxy issue, I dont want to update it anymore but it keeps on showing its update in package updater its very annoying...How could i get rid of it ?I want package updater show all updates except this...that is permanently remove it from update check list.
I am trying to install ubuntu 10.10 on an eee pc 1000H but the installer is hanging on the installation dialog that shows the check list for installation (min disk space, connected to the net, plugged in to wall outlet, etc).
In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.
I've been google'ing around recently for some good solutions for creating local yum "update" repositories without syncing entire repositories. (or adding hundreds of exclude statements in config files)
I have several boxes with a common base build (centos 5.5/x86_64), one has nagios3, another has apache, and another tomcat6 (also a couple of others) For tomcat and nagios I'm obviously using 3rd party repositories (jpackage, epel, rpmforge to name a few) Everything is installed via RPM from kickstart.
I would like to make an updates repository which contains the updates for everything that's installed (including centos base).
Updates will be downloaded on a separate box, but not sure how to get the list of packages required on that box where the packages are not actually installed. I've looked at reposync and mrepo, but appear to be syncing from what's available rather than what's required.
I was hoping that I can provide an "rpm -qa" output, compare this to a "yum list" or perhaps running "yum check-update" on a list rather than installed packages. I could then use the yum-downloadonly module to get the packages which have changed from available sources.
I have a script I only want to run when a window is being dragged around. Is there an environmental variable or something that will tell me whether one is moving and which one it is? I'm using Ubuntu Lucid if it matters.
Looking at the output of netstat, I'm not seeing a definitive way to tell which torrent connections are clients reaching in to my machine vs my machine reaching out to the world. Is there a clear way to determine which is which?
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.
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?