Results 1 to 6 of 6

Thread: HOWTO: Change KDE3 App Themes in 8.10

  1. #1
    Join Date
    Jun 2005
    Location
    Albuquerque, New Mexico
    Beans
    272
    Distro
    Ubuntu Development Release

    HOWTO: Change KDE3 App Themes in 8.10

    With the release of 8.10 one of my biggest gripes is the lack of the ability to theme KDE3 applications. This has been mostly because of 8.10's lack of the KDE Control Center, also known as kcontrol, which is no longer available in the intrepid ibex repos. This HowTo covers how to bring some of kcontrol's functionality back to 8.10.


    Step 1: Download kcontrol from the hardy release.

    Code:
    For amd64:
    http://packages.ubuntu.com/hardy-backports/amd64/kcontrol/download
    
    For i386:
    http://packages.ubuntu.com/hardy-backports/i386/kcontrol/download
    Step 2: Extract the kcontrol package into a temp directory.

    Code:
    dpkg -x kcontrol_3.5.10-0ubuntu1~hardy2_i386.deb ~/temp
    Step 3: Change into the directory.

    This is to verify that the deb package extraction worked.

    Code:
    cd  ~/temp/usr/lib/kde3
    Step 4: Copy several kcontrol modules to /usr/lib/kde3

    For the most part you'll just need the icons, colors, fonts and style modules from kcontrol.

    Code:
    sudo cp ~/temp/usr/lib/kde3/kcm_icons.* /usr/lib/kde3
    sudo cp ~/temp/usr/lib/kde3/kcm_colors.* /usr/lib/kde3
    sudo cp ~/temp/usr/lib/kde3/kcm_fonts.* /usr/lib/kde3
    sudo cp ~/temp/usr/lib/kde3/kcm_style.* /usr/lib/kde3
    sudo cp ~/temp/usr/share/applications/kde/icons.desktop /usr/share/applications/kde
    sudo cp ~/temp/usr/share/applications/kde/colors.desktop /usr/share/applications/kde
    sudo cp ~/temp/usr/share/applications/kde/fonts.desktop /usr/share/applications/kde
    sudo cp ~/temp/usr/share/applications/kde/style.desktop /usr/share/applications/kde
    Step 5: Changing KDE3 Applications to match your themes.


    Open a Terminal and issue the following commands.

    To change KDE3 icons:
    Code:
    kcmshell icons
    To change KDE3 colors:
    Code:
    kcmshell colors
    To change KDE3 fonts:
    Code:
    kcmshell fonts
    To change KDE3 style:
    Code:
    kcmshell style
    There you go... enjoy.

    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	screenshot.png 
Views:	165 
Size:	632.1 KB 
ID:	96664  
    Last edited by GrammatonCleric; December 17th, 2008 at 03:40 AM.
    "Nice jail. Looks strong."
    - H. Houdini

  2. #2
    Join Date
    Jun 2005
    Location
    Albuquerque, New Mexico
    Beans
    272
    Distro
    Ubuntu Development Release

    Re: HOWTO: Change KDE3 App Themes in 8.10

    Fixed a type-o.
    "Nice jail. Looks strong."
    - H. Houdini

  3. #3

    Talking Re: HOWTO: Change KDE3 App Themes in 8.10

    Nice tutorial!
    Thanks

  4. #4
    Join Date
    Mar 2008
    Location
    Fond du Lac, Wisconsin
    Beans
    72
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOWTO: Change KDE3 App Themes in 8.10

    Thank you so much. I made a bad decision a while back with an awful color scheme, and have been racking my brain on how to fix it.

    I hacked up a little script so that the above commands could be executed with just one sudo command.

    Code:
    #!/bin/sh
    ##
    ## kc_install.sh
    
    cp ./usr/lib/kde3/kcm_icons.* /usr/lib/kde3
    cp ./usr/lib/kde3/kcm_colors.* /usr/lib/kde3
    cp ./usr/lib/kde3/kcm_fonts.* /usr/lib/kde3
    cp ./usr/lib/kde3/kcm_style.* /usr/lib/kde3
    cp ./usr/share/applications/kde/icons.desktop /usr/share/applications/kde
    cp ./usr/share/applications/kde/colors.desktop /usr/share/applications/kde
    cp ./usr/share/applications/kde/fonts.desktop /usr/share/applications/kde
    cp ./usr/share/applications/kde/style.desktop /usr/share/applications/kde
    PS Note that you must be working from within the directory you extracted (if you're following the above examples, it would be ~/temp).
    Last edited by supercheetah; March 1st, 2009 at 11:36 AM. Reason: Quick note about working directory

  5. #5
    Join Date
    Apr 2005
    Location
    cosmopolite
    Beans
    54
    Distro
    Ubuntu

    Re: HOWTO: Change KDE3 App Themes in 8.10

    thanks, I did that when I started using intrepid, forgot it meanwhile, and now it quickly helped me achieving the same in jaunty

  6. #6
    Join Date
    Jun 2008
    Location
    India
    Beans
    86
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Change KDE3 App Themes in 8.10

    Hello all, many apologies for reanimating an old thread but I have a quick question. Having followed this procedure and applied some font changes to make amarok14 look a little more integrated, I find that the "kcmshell fonts" command has made system wide changes. For e.g. even my firefox window now uses the same font settings as kcmshell (see the screenshot, where the tab fonts, toolbar fonts are blurry and the main window font is different to what is set in my gtk appearances setting).

    So my question is whether it is possible to revert back to default settings or to ensure the changes made by kcmshell are undone.

    Many thanks.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot-1.jpg 
Views:	44 
Size:	132.0 KB 
ID:	164300  
    Last edited by aniruddha; July 23rd, 2010 at 06:30 AM. Reason: corrected the command used

Bookmarks

Posting Permissions

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