LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 08-13-2005, 06:49 PM   #1
jkassemi
Member
 
Registered: May 2004
Location: Albuquerque, NM
Distribution: slackware-current, slamd64-11
Posts: 106

Rep: Reputation: 15
ksysguard applet - adding new displays


I'm trying to get the ksysguard applet to add new displays for networking and such, but can't figure out how to do it. When I add a new display to the applet, the blank box comes up, but I don't get a display properties dialog when I right click it... Instead I get the panel configuration menu... Can anybody tell me how to get this working?

Thank you very much,
James

KDE 3.4
Slackware 10.1
 
Old 08-13-2005, 11:23 PM   #2
jkassemi
Member
 
Registered: May 2004
Location: Albuquerque, NM
Distribution: slackware-current, slamd64-11
Posts: 106

Original Poster
Rep: Reputation: 15
Got it!

Okay... I decided to work on it myself... as I really wanted to get this thing done pretty quick... The answer was fairly simple, but I really wish I could get it tow ork through configuration...

Open up your ksysguard (full application, not the applet), and create a new sheet with one display. Get it working with what you want, and save the sheet. Open the saved sheet up with an editor, and you'll see it's all simple xml. Do the same with ~/.kde/share/ksysguard/KSysGuardApplet.xml. You'll see that that's the configuration file for your system guard applet. Copy the entirety of the <display> tag from your saved worksheet, and paste it into the KSysGuardApplet.xml.

Change the dckCount attribute in the configuration file to the number of docks you are going to want to have. Paste the <display> tag information after the others... Then copy the display tag from another of the docks, and paste it into the one you just pasted in. Alter the "dock" attribute to the next available value. Save the file and add the ksysguard applet to your panel again. You should have the display that you created in the ksysguard application.

Good luck,
James
 
Old 08-28-2005, 04:45 PM   #3
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
Hey - I'm just trying to get a CPU graph applet,
your technique sounds brilliant, but I'm getting XML errors.

My files is like this:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE KSysGuardApplet>
<WorkSheet sizeRatio="1" dockCnt="1" interval="2" />
<display topBar="0" vColor="326429" title="CPU Load" bColor="3223601" graphStyle="0" class="FancyPlotter" row="0" unit="" hScale="1" column="0" showUnit="0" hLines="1" hCount="5" vLines="1" autoRange="0" min="0" max="100" hColor="326429" globalUpdate="1" pause="0" fontSize="9" labels="1" vScroll="1" vDistance="30" >
<beam sensorName="cpu/user" hostName="localhost" color="1608191" sensorType="integer" />
<beam sensorName="cpu/sys" hostName="localhost" color="16743688" sensorType="integer" />
<beam sensorName="cpu/nice" hostName="localhost" color="16771600" sensorType="integer" />
</display>
</WorkSheet>

Thanks,
Riddick
 
Old 09-12-2005, 03:09 AM   #4
glix9
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: SuSE 9.3 Pro
Posts: 3

Rep: Reputation: 0
I had this problem too, found a much simpler solution. You'll notice if you have no current display and hover the mouse over it it says "Drag sensors from KDE System Guard into this cell."

Doesn't get much easier than drag'n'drop!
 
Old 09-12-2005, 04:07 AM   #5
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
found that out later too!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ksysguard FAQs?????? carl0ski Linux - Software 5 02-09-2005 03:46 AM
Adding .htaccess makes java applet ask for passwd... JimDog Linux - Software 2 02-05-2005 10:55 AM
ksysguard FAQs?????? carl0ski Linux - Software 0 02-04-2005 05:28 AM
adding a gnome applet to the panel from the command line meonkeys Programming 1 04-23-2004 04:35 AM
KSysGuard Applet/Daemon Problems DOCta_Gnome Linux - Software 0 01-19-2004 01:23 AM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration