Results 1 to 10 of 10

Thread: how to find where are plasmoid data

  1. #1

    Default how to find where are plasmoid data

    in KDE4.10.5 and opensuse 12.3, is there a plasmoid called (I suppose the name reading on the top bar when I click on the "wrench") "system monitor settings", a part of it is called "hardware info", well, I would like to try to modify something on hardware info, how can I know where are its data files??

    manythanks, :-) ciao :-) P

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,373
    Blog Entries
    2

    Default Re: how to find where are plasmoid data

    I think you are referring to KInfocenter on the KDE Desktop?
    AFAIK that applet aggregates information from numerous subsystems, and there is usually little point to modifying it.

    Perhaps if you described exactly what info you might want to change, the subsystem, config file or YAST applet can be suggested to make the change.

    TSU

  3. #3

    Default Re: how to find where are plasmoid data

    may be, but I suppose it isn't kinfocenter, it is this:

  4. #4

    Default Re: how to find where are plasmoid data

    Quote Originally Posted by pier_andreit View Post
    may be, but I suppose it isn't kinfocenter, it is this:
    That's the "System monitor" plasmoid.
    But what do you mean with "how can I know where are its data files?"?

    If you want to know where it gets it's data from, I don't know exactly (would have to look at the source code), but most of it seems to come from Solid (the KDE4 hardware abstraction layer):
    Try to run:
    Code:
    solid-hardware list
    to get a list of all hardware known to Solid, then f.e.
    Code:
    solid-hardware details /org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:00
    to get information about your CPU...

    But what do you want to change?
    You would have to change your hardware to get different output...

  5. #5

    Default Re: how to find where are plasmoid data

    Quote Originally Posted by wolfi323 View Post
    That's the "System monitor" plasmoid.
    But what do you mean with "how can I know where are its data files?"?
    ...sorry, I would like to make some changes in the plasmoid source code to add some informations..., usually it is in qml and has an easy structure, and it is easy to change something .....

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,373
    Blog Entries
    2

    Default Re: how to find where are plasmoid data

    Quote Originally Posted by pier_andreit View Post
    ...sorry, I would like to make some changes in the plasmoid source code to add some informations..., usually it is in qml and has an easy structure, and it is easy to change something .....
    If you really want to make changes to a standard KDE application, I would guess the best place to start is at kde.org, particularlly now that you have to application name. You should be able to locate source and fork it if you wish.

    But, most End Users probably wouldn't try to modify a KDE app...
    - Check out the various desktop widgets first to see if someone has already built what you want.
    - Particularly if you already have an idea how to acquire the data you want, you can use something like Conky to expose and embed in your Desktop.
    - Look into building your own Widget and distributing for all if you think you are doing something many would like. Many of the existing widgets simply display System Monitor data in more interesting ways.

    HTH,
    TSU

  7. #7

    Default Re: how to find where are plasmoid data

    Quote Originally Posted by pier_andreit View Post
    ...sorry, I would like to make some changes in the plasmoid source code to add some informations..., usually it is in qml and has an easy structure, and it is easy to change something .....
    Sorry to disappoint you, but the system monitor plasmoid (and its dataengine) is written in C++.

    So you would need to download the source code (either from kde.org or just install the "kdebase4-workspace" source RPM from openSUSE), change it and recompile it.

    Or you could just file a wishlist item at http://bugs.kde.org/. But I don't know how good your chances are right now, because kdebase-workspace is feature frozen until KDE5.

  8. #8

    Default Re: how to find where are plasmoid data

    ...many thanks, I will look at kde.org if somebody has made something that shows kernel version, kde version, libreoffice version and other things...

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: how to find where are plasmoid data

    On 07/22/2013 08:26 PM, pier andreit wrote:
    > kernel version, kde version, libreoffice version and other
    > things..


    so you are wanting to add software versions to the hardware info in
    the KInfocenter?

    probably easier to just make a script to dig out the version numbers
    and flash'em to a file you can click on to read..

    i keep updated a manually constructed list of software, hardware and
    customizations...(maybe next time i'll use your script to dig out the
    version info)...see sig.

    --
    dd
    http://tinyurl.com/DD-Software
    http://tinyurl.com/DD-Hardware

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,373
    Blog Entries
    2

    Default Re: how to find where are plasmoid data

    Speaking of sig...

    I recommend you install and take a look at the output of siga, it's a collection of scripts that will dig just about anything and everything out of your system
    Code:
    zypper in siga
    TSU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •