Results 1 to 3 of 3

Thread: editing metacity.xml for the radiance theme

  1. #1
    Join Date
    Dec 2009
    Beans
    55
    Distro
    Ubuntu 10.04 Lucid Lynx

    editing metacity.xml for the radiance theme

    I just want the radiance theme to have to title in the middle, how do I do it?

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: editing metacity.xml for the radiance theme

    In the <!-- Window Title --> section replace x="10" with x="((3 `max` (width-title_width)) / 2)", x="9" with x="((3 `max` (width-title_width)) / 2)-1" and x="11" with x="((3 `max` (width-title_width)) / 2)+1".

    run:
    Code:
    mkdir -p ~/.themes/Radiance-center/metacity-1
    Code:
    sed -e 's/Name=Radiance/Name=Radiance-center/' -e 's/MetacityTheme=Radiance/MetacityTheme=Radiance-center/' /usr/share/themes/Radiance/index.theme > ~/.themes/Radiance-center/index.theme
    Code:
    cp /usr/share/themes/Radiance/metacity-1/* ~/.themes/Radiance-center/metacity-1/
    and
    Code:
    sed -i -e 's/x=\"9\"/x=\"((3 \`max\` (width-title_width)) \/ 2)-1\"/' -e 's/x=\"10\"/x=\"((3 \`max\` (width-title_width)) \/ 2)\"/' -e 's/x=\"11\"/x=\"((3 \`max\` (width-title_width)) \/ 2)+1\"/' ~/.themes/Radiance-center/metacity-1/metacity-theme-1.xml
    then go to System -> Preferences -> Appearance and select the Radiance-center theme.

  3. #3
    Join Date
    Dec 2009
    Beans
    55
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: editing metacity.xml for the radiance theme

    Thanks.

    Also, anyone know how to prevent gnome-shell from moving the buttons to the right?

    EDIT: Nevermind, I found where it is in gconf.
    Last edited by Ultra_Man; May 1st, 2010 at 02:56 PM.

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
  •