Programming :: Check Menu & Check List In Utility Dialog?
Aug 19, 2010I want to put check menu & check list in utility dialog.i dont know how i do this
View 1 RepliesI want to put check menu & check list in utility dialog.i dont know how i do this
View 1 RepliesI 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).
View 4 Replies View RelatedI 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.
Is there an Ubuntu utility similar to the one in windows where you right click/select properties/tools/check disk?
View 8 Replies View RelatedIs there a way to reduce or edit the list of languages in the Spelling Checker application? I'm using only three languages:English / United States
Dutch / Netherlands
Croatian / Croatia
The other languages waist my time, I would prefer that surplus languages are not displayed in the list. Is the language list configurable?
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...
View 5 Replies View RelatedI 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.
View 4 Replies View RelatedI am envisioning a dialog menu with 2 sections, the top 2/3 a menu, then the bottom 1/3 is a message box. When you highlight a menu item it gives you a description of what it does in the message box. However I am not sure it is possible. Can this be done in BASH?
View 2 Replies View RelatedI 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.
View 2 Replies View RelatedIn 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.
View 5 Replies View Relatedwhat is this, and more importantly, how do I fix it?
Quote:
Package Arch Version Repository Size
[Code].....
Since upgrading to 10.04, any checkboxes or radials in my menus (File, Edit, etc.) are now really hard to read. They are now white in color and no longer show a "brown" background, blending right into the rest of the gray menu. I've attached a screenshot for clarification.Is there any way to make these things easier to see when they've been selected? How can I change the colors? I've tried to search the forum and google but to no avail.
View 7 Replies View Relateddoes anyone know of a good utility that I could use to check my Linux server, I want to check ports and other vulnerabilities.
View 5 Replies View RelatedMy friend is having trouble installing Ubuntu on his Asus laptop. He says that when he boots it takes him to a root menu then fails a battery check:
[Code]...
sql statement. I am trying to check if there is such a value in the database.
Code:
string NewMovie = "ww";
string queryText ;
queryText = "Select * from movie_info WHERE movie_title = '"+ NewTitle +"'";
MYSQL *conn;
conn=mysql_init(NULL);
mysql_real_connect(conn,host,username,password,database,0,NULL,0);
[Code]......
return 0; The problem i am facing is how do i check if the value is found. I read up and found that a query will return a value of TRUE if the query is a success and a FAIL if there is an error. How do i call these values and then based the check on it?
I have written a tiny script for kernel compilation, which call menuconfig and then compile the kernel. It is working fine. Now I like to test my environment and if it is shell menuconfig will be called and if X then xconfig will be called. How can I check the environment then?
View 7 Replies View RelatedI need to check if $var is not start with 0
Code:
read var
if [ $var IS NOT START WITH 0 (or something like 006077) ];then echo 'Good'
I need to find if, in a folder any directories exist, except a certain one named "mes croquis".What I am trying to say, is that the re already is a directory named "my croquis", which I have to ignore. IF any other directory appears, I have to archive them.I got everything so far, except the starting condition.In other terms , I am lookign for something like this:
IF anyDir EXIST AND name != "mes croquis"
do something
else
[code]....
I've created (as a homework) to create as many folders as told but I still need to check if the variable is a number or not :
Code: #!/bin/sh
echo "Veuillez saisir un nombre"; read nmbr
nmbrf=$nmbr
while [ $nmbrf -gt 0 ]
do mkdir -p "foo$nmbrf"
nmbrf=`expr $nmbrf - 1`
echo "$nmbrf"
how do I check that nmbr is a number or something else?
I have a file with one line. I want to check whether the first character is TAB or space, how can i do this.? using "cut" wont as it "bypasses the tab and space characters"
View 3 Replies View Relatedhave an application where from time to time I need to check the db for some value and run some functions to do some checks. is the best option do it as php daemon or cron job?Whatworried of cron job is the overalapping.
View 9 Replies View Relatedscript that will check if my log file is a certain size? EX: I want to limit the size of my rsync log to say 5MB, if that's true I would move it and create a new one.
View 4 Replies View RelatedIs it possible to check if a pointer is deleted in C++ (using GDB)? For example:
Code:
a = new Thing();
b = a;
delete a;
// If all I have is the variable "b", how can I tell if it was deleted?
We have 7 webservers running in a cluster, and I have zenoss running which does monitor space, network, even performance, but I would like a nice small webpage that I could break into just a few rows of a table. I would like to be able to simple do a reload every 30/60 seconds, and just have the following;row1: server load, memory userow2: server load, memory useBefore the row, if the load > x change the css to make it red (so I could notice it), etc. The css, the refresh, etc. is all simple, I am jut wondering how I could go about getting the load and memory use from PHP.I could setup a bash script that could get the info and spit it to a file as a last resort, but curious if there was a more direct way.
View 3 Replies View Relatedi'm using c++ and Ubuntu and I need to write/copy some files to a directory chosen by the user of my system (the user can save it on any folder of any disk of the pc or other usb device). Before I do it, I need to know if there's space available on the disk. I cannot only check the result of write() function, the validation must be executed before I start to save or copy.
I was trying to use statvsf structure, but I only have the complete filepath (/home/lobinho/myDocs/), not the disk path. The statvfs() function only works with disk path (i.e. /media/KINGSTON ).
The source of my function:
Code:
int MyClass::availableSpace(string dst, ulong* availableSize) {
int result = ERROR;
try {
struct statvfs devData;
[Code]...
I want to check if a MySQL db query will return an empty result - I first do this:
$query="SELECT * from <whatever" ;
$result=mysql_query($query) ;
$row=mysql_fetch_row($result) ;
Now how do I check if $row is empty or not? Will $row="" do the trick?
Greetings EveryOne
how to check if buffer is empty in c?
I'm writing a application which uses translates and I wonder how to check what has been prefix of it's installation to check where translation files are stored. I'm using cmake so maybe is there some preprocessor definition of installation prefix
View 4 Replies View RelatedWe are loading 100 + oracle tables using informatica. At the end of the run, we need to verify the informatica log to confirm the rows are loaded properly to target tables. There are so many detials included in the etllog. But,the part of the informatica log, linux script needs to look into look like as below -(vary for different table names. here, CMN_1740 is the table name.)
MAPPING> TM_6252 Source Load Summary.
MAPPING> CMN_1740 Table: [SQ_W_CASE_FS] (Instance Name: [SQ_W_CASE_FS])
Output Rows [1], Affected Rows [1], Applied Rows [1], Rejected Rows [0]
[code]....
1. The details of source load summary (source table name and the details -Output Rows [1], Affected Rows [1], Applied Rows [1], Rejected Rows [0]) should be written to a log. We need to check whether the affected rows is 0 or rejected rows > 0 for source load summary. In that case , script should write that to a log and exit
2. The details of target load summary (target table name and the details -Output Rows [1], Affected Rows [1], Applied Rows [1], Rejected Rows [0]) should be written to a log
3. We need to check whether the affected rows is 0 or rejected rows > 0 for target load summary. In that case, script should write that to a log and exit.
4.The above steps should be repeated for all set of tables mentioned in the etllog.
I'm messing with a JTree, I need one that has checkboxes to check/uncheck options, and (later) textboxes to edit options....but for now, the checkboxes don't wanna play. Here's the source:
package Habitat.EnvCtrl;
import java.awt.BorderLayout;import MailPopper.hlprs.CheckBoxNode;
import java.awt.Dimension;
import java.util.Vector;
import javax.swing.JDesktopPane;
import javax.swing.JInternalFrame;
import javax.swing.JScrollPane;
import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.TreeNode; .....
The rtree builds (albeit I have a superfluous extra checkbox in there I don't know where it comes from...) but I cannot check/uncheck any boxes.