Announcement

Collapse
No announcement yet.

Wallpaper plugin

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Wallpaper plugin

    I learned from bugs.kde.org that there is a wallpaper plugin for KDE 4.4 that provides color gradients for the desktop. Is there a way to install that for the current release, 4.3.4?

    #2
    Re: Wallpaper plugin

    Hmm - this bug ? > Bug 194272 - no gradient background possible


    The sources are available (FOSS) > http://websvn.kde.org/trunk/KDE/kdeb...lpapers/color/


    This is with the Kubuntu 9.10 / KDE 4.3.2 / Qt 4.5.2


    Example (you do this at your own risk)


    I have installed:
    - build-essential
    - kdelibs5-dev
    - kdebase-workspace-dev
    + lot of others...

    Downloading:
    Code:
    svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/color
    A color/color.cpp
    A color/Messages.sh
    A color/config.ui
    A color/color.h
    A color/plasma-wallpaper-color.desktop
    A color/CMakeLists.txt
    Checked out revision 1073705.
    cd to the color directory and addind to the CMakeLists.txt few lines - after that:

    CMakeLists.txt
    Code:
    project(plasma-wallpaper-color)
    
    set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
    
    FIND_PACKAGE(KDE4 REQUIRED)
    INCLUDE(KDE4Defaults)
    ADD_DEFINITIONS( ${QT_DEFINITIONS} ${KDE4_DEFINITIONS} )
    
    INCLUDE_DIRECTORIES( 
      ${KDE4_INCLUDES} 
    )
    
    set(color_SRCS
      color.cpp
    )
    kde4_add_ui_files(color_SRCS config.ui)
    
    kde4_add_plugin(plasma_wallpaper_color ${color_SRCS})
    target_link_libraries(plasma_wallpaper_color ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
    
    install(TARGETS plasma_wallpaper_color DESTINATION ${PLUGIN_INSTALL_DIR})
    install(FILES plasma-wallpaper-color.desktop DESTINATION ${SERVICES_INSTALL_DIR})
    Making a build dir:
    Code:
    mkdir -p builddir
    Compiling:
    Code:
    cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr
    Code:
    make
    After that the /color/builddir/lib/ has: "plasma_wallpaper_color.so"

    With the KDE 4.3 the plasma_wallpaper_color.so is coming from the:
    Code:
    apt-file search plasma_wallpaper_color.so
    kdebase-workspace-bin: /usr/lib/kde4/plasma_wallpaper_color.so
    kdebase-workspace-dbg: /usr/lib/debug/usr/lib/kde4/plasma_wallpaper_color.so
    Backing up the original /usr/lib/kde4/plasma_wallpaper_color.so.

    Copying the /color/builddir/lib/plasma_wallpaper_color.so to the /usr/lib/kde4/.

    Log out - log in

    Right clicking the desktop > Desktop settings

    [img width=400 height=273]http://img684.imageshack.us/img684/4927/gradientr.png[/img]

    Seems to work...
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Wallpaper plugin

      The old and new color (Color & Color2 ) can live in the same system.

      Wrapping the new to the .deb > PPA >> PPA for Rog131 >>> Package name contains: plasma-wallpaper.


      After installation and plasma restart (log out log in) there are Color and Color2:

      [img width=400 height=273]http://img709.imageshack.us/img709/3861/color2.png[/img]
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Wallpaper plugin

        way to answer that question Rog

        Mark Your Solved Issues [SOLVED]
        (top of thread: thread tools)

        Comment


          #5
          Where is the color directory?

          I tried to follow the recipe but only got as far as the svn step. I wasn't able to install the modules listed earlier because synaptic couldn't find them. What is the path to the color directory you refer to -- the one containing CMakeLists.txt?

          And yes -- I was looking at Bug 194272.

          Comment


            #6
            Re: Wallpaper plugin

            Originally posted by pwabrahams
            I tried to follow the recipe but only got as far as the svn step. I wasn't able to install the modules listed earlier because synaptic couldn't find them. What is the path to the color directory you refer to -- the one containing CMakeLists.txt?

            And yes -- I was looking at Bug 194272.
            You could just install the package rog packaged into his ppa repository (the link is in his last post) to avoid having to compile it yourself.

            Comment


              #7
              Adding the repository to Synaptic

              Originally posted by kubicle
              You could just install the package rog packaged into his ppa repository (the link is in his last post) to avoid having to compile it yourself.
              I tried adding the repository to the Synaptic repository list by prefixing the URL with deb. That didn't work -- Synaptic rejected it. So I tried also adding karmic new at the end of the line -- just a guess. Synaptic accepted that but then, after a reload, couldn't load anything from that repository.

              So how do I convert that URL to something that Synaptic will accept as a repository and process correctly?

              Comment


                #8
                Re: Adding the repository to Synaptic

                Originally posted by pwabrahams
                So how do I convert that URL to something that Synaptic will accept as a repository and process correctly?
                The simplest (and recommended) way to add the repository (if you have package 'python-software-properties' installed), is to run:
                Code:
                sudo add-apt-repository ppa:samrog131

                Comment


                  #9
                  Added repository -- then what?

                  I added the repository as advised, successfully. I then tried:
                  Code:
                  apt-get install rog
                  but then got the message "couldn't find package rog". What am I missing?

                  Comment


                    #10
                    Re: Wallpaper plugin

                    The correct package name is: plasma-wallpaper-color2
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      apt-get install

                      I tried
                      Code:
                      pwa@Lepiota:~$ sudo apt-get install plasma-wallpaper-color2
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      E: Couldn't find package plasma-wallpaper-color2
                      Hmmm.

                      Comment


                        #12
                        Re: Wallpaper plugin

                        https://launchpad.net/~samrog131/+ar..._filter=karmic


                        if this is the one you wanted you could get it hear

                        VINNY
                        i7 4core HT 8MB L3 2.9GHz
                        16GB RAM
                        Nvidia GTX 860M 4GB RAM 1152 cuda cores

                        Comment


                          #13
                          Re: Wallpaper plugin

                          After making any changes to repository lists, you have to run apt-get update to refresh the package cache. If you don't, you won't have pulled in the package information for the added repository(ies).
                          Windows no longer obstructs my view.
                          Using Kubuntu Linux since March 23, 2007.
                          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                          Comment


                            #14
                            Solved!

                            Originally posted by Snowhog
                            After making any changes to repository lists, you have to run apt-get update to refresh the package cache. If you don't, you won't have pulled in the package information for the added repository(ies).
                            Yes, that was the last missing piece of the puzzle. I've installed color2 and used it. Great!!!

                            Thanks.

                            Paul

                            Comment

                            Working...
                            X