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:
I just installed ubuntu 10.10, and im triying to update, when i uncheck the packages that i dont want and click on the "install updates" button in the update manager, the update manager check it again and download the packages that i dont want
I've run in to a weird problem where i cant uncheck the "pre-released updates" box...I had recently checked it to get a glimpse at what kinds of updates would be available with the option checked so i tried it and updated my repository. The problem is now i cant uncheck it again or any of the options for that matter. Is there a way to reset the repository settings to default?
I also would like to know if kde keeps a history of installed packages..since i couldnt uncheck the box i went ahead and installed everything thinking it might let me uncheck it afterwards (stupid i know), but seeing as how im pretty newbie, i dont want to take the chances of some package breaking
im installing fedora13. I need to install it as multi boot. I used a live cd to load up the live version of fedora on my computer and i started the installation setup. The problems im facing are: I cannot uncheck my usb drive when the setup asks me where do i need to install fedora. When i select "shrink current system" it shows my hard drive but says it has 0 bytes. I cannot proceed further because of the above problems.
I am using fedora 12.every time when i start my browser which is firefox 3.5.4 ,i need to unchecked WORK OFFLINE. is there any way to permanently unchecked this.
When I try to access the internet after I turn on my machine I get a message that I cannot access the internet due to my work offline is checked. After I uncheck it and try again, still no luck.
how to uncheck option to synchronize clock with UTC. This option is being asked at installation time. I couldn't remember text correctly but above text will give you hint. how can I uncheck that option using command.
Just installed 5.3/gnome.I am on pc/desktop with only wired internet connection via routerto dsl-modem. The OS sets-up the "eth0" automatically.For just this type of setup what services can I disable and uncheck ? In System>Admin.>Services I unchecked and disabled bluetooth,isdn,pcscd and sshd. Should I disable sendmail, avahi-daemon, portmap,rpcidmapd,rpcgssd and.apmd(no laptop)? Goal is to minimize unneeded services and improve security. The wiki article on securing CentOS did not cover this.Under System>Security Level Configuration I allow ftp,Mail(smtp), and WWW(HTTP). Is the ftp allowed ok for my pc/desktop?
I am creating an openSUSE 11.2 Kiosk image. I have everything pretty much locked down but when I go into the gconf-editor under /apps/nautilius/preferences/show_desktop and uncheck the check box my mouse pointer changes to the circle icon that looks like it moves in a circle. Sortta like the busy or what it does during boot. Hard to describe by typing it out but if you make that change you'll see what I am talking about. I had this setup like this in previous versions of openSUSE so I am not sure what it is doing or what else I need to do to make the mouse pointer just the arrow like normally. I don't want the users to be able to right-click on the desktops to get a menu nor add icons so unchecking the show_desktop has served my needs.
I have been having some issues with Ubuntu One. I am running Ubuntu 10.10 Maverick. For some reason, Nautilus tells me that Ubuntu's default Videos folder (there is data in this folder) is synced on Ubuntu One when it is not. I have checked on the Ubuntu One website, and the site says the Videos folder is not synced (Ubuntu One's website does not show the Videos folder under "my synced folders"). When I attempt to uncheck the sync option in Nautilus, the loader next to it spins endlessly, or Nautilus gives me an error that it can not sync the folder.
I have a fedora 8 server and I just wanted to install fedora directory server I got it install and running, but I'm unable to check the replication and also it seems that I has no database when I user fedora-console-idm.[URL].. Also the same thing happens at the web tool. Any ideas? I think there is no db set, but I have no idea how to do this on fedora-ds. I'm new to it.
In KPackageKit I can't uncheck the 'Proposed updates' or the 'Unsupported updates' boxes in the 'Kubuntu updates' section of the 'Updates' tab of the 'Software Sources' window (brought up by clicking on the 'Edit Origins' button in the 'Settings' tab of 'KPackageKit'). [URL]
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?
I'm using Debian squeeze and for an assignement, i have create 2 virtual pdf cups printers. Both are working very well. To test the different administion command; i try to disable one of the printer and move his queue file to the second one. I'm able to do it easily.
Now, i wish to write a bash script that wil test the status of the printer. So that,if the printer is disable, it just execute the "move" script. Is there a way to know the status of a cups printer and use that information in a script?
For example, a command/function that can return "O" is the cups printer is enable and "1" if not.
I looked at my apache2 logs. Code:[Wed Mar 10 01:56:34 2010] [crit] [client 192.168.1.100] (13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable the server is located at /etc/apache2 the default place.
I have just re-installed Ubuntu 10.04. -The installation went smoothly, completing in approximately 25-30 minutes. All of my hardware, including keyboard, mouse, monitor and network interface has been detected and works properly. I am currently using the machine to type this. I can browse the web using Mozilla Firefox. My network connection does not start and stop; the machine remains connected with no indication that there is a fault with the NIC, and so on. I am able to download files at 150-170kB/s as is normal for me with Firefox.
I have not yet installed a graphical user interface to configure the firewall. I have not in any way worked with any system files. I am using the same hardware that I have used for approximately one year before this with no incident. I first encountered this with my previous install at approximately 3:00 AM (local time,) when I manually started Update Manager and attempted to check for updates in the default repositories. I have not altered the repository list in either the previous install or this new install. The Update Manager is entirely default.
Upon checking for updates, the list of repositories hangs after I believe at least ten lists have been checked. All of the lists checked before this hangup read "0 B" in the downloaded section of the window. It appears that upon checking for updates, no actual data is transferred to my computer. Again, after going through several of the default repo lists, the entire process halts. A wait of approximately ten minutes still reads that the process has not continued. -During this time I am able to browse the web using Firefox, and the OS seems to be responsive and otherwise functional. There is not a slow response from the keyboard or mouse, there are also no graphics glitches. Again, this problem first occurred with my previous install of Ubuntu 10.04, which was up-to-date as of approximately midnight last night. I have reinstalled the OS and the problem persists. The symptoms of this problem are consistent between my previous install and the reinstall.
i have edge server. raid(5) have been installed but not able to check raid health. using command line able to.but using monitoring tool opsview, showing error -NRPE: Unable to read outpumachine Arch- 64 bit centos -5.2 package installed -MegaCli-2.00.15-1.i386.rpm
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
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"
have 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.
script 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.
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.
i'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;