<---- template headericclude ----->
How to change gdm theme with fedora 15
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 13 of 13
  1. #1
    Join Date
    May 2011
    Location
    Tilburg
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to change gdm theme with fedora 15

    This guide will explain how you can change you're gdm gtk3 theme with fedora 15

    prerequisite: gnome-tweak-tool and a terminal (gnome-terminal)

    Open gnome-terminal:
    Code:
    su -
    ( insert password)
    Now we are root and the first step is to install gnome-tweak-tool
    if you already did this skip this.

    Install gnome-tweak-tool
    Code:
    yum install gnome-tweak-tool
    Now we make the gdm user available to make changes:
    Code:
    # xhost +SI:localuser:gdm
    If you did this right you get this message:
    Code:
    localuser:gdm being added to access control list
    Next we will fire up gnome-tweak-tool
    Code:
    # sudo -u gdm gnome-tweak-tool
    This will start gnome-tweak-tool as the user gdm (sudo -u username will start the application as designated user)

    Now we can change the interface gtk+theme, icon theme and cursor theme to whatever you like.
    Don't forget to change windows current theme to what you want.

    How to change gdm login background:
    Code:
    # sudo -u gdm gnome-control-center
    Here you can change the background

    And when you're done exit the gnome-tweak-tool or gnome-control-center and type:
    Code:
    # exit
    (ps the # sign is the sign you're running the command as ROOT don't copy it!!

    This guide has been made thanks to www.archlinux.org fine wiki about gdm.
    Last edited by aboe76; 30th June 2011 at 10:04 PM. Reason: give thanks to source and how to change background and install gnome-tweak-tool

  2. #2
    Join Date
    Apr 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    i can't run this command :
    Code:
    $ sudo -u gdm gnome-tweak-tool
    sudo: gnome-tweak-tool: command not found
    how did this will work?
    because gnome tweak tool is not an install application,only like a portable?

    I've try this in dir gnome twaek tool :
    Code:
    $ sudo -u gdm ./gnome-tweak-tool
    Gtk-Message: Failed to load module "pk-gtk-module"
    Traceback (most recent call last):
      File "./gnome-tweak-tool", line 84, in <module>
        MainWindow()
      File "./gnome-tweak-tool", line 33, in __init__
        assert(os.path.exists(gtweak.PKG_DATA_DIR))
    AssertionError

  3. #3
    Join Date
    May 2011
    Location
    Tilburg
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    I can see you're problem,

    First become root with "su -"
    second step:
    install gnome-tweak-tool
    "yum install gnome-tweak-tool"

    then become gdm "xhost +SI:localuser:gdm"

    and last run the command again.
    ps, if you copy paste it, without the " please

  4. #4
    Join Date
    Jul 2011
    Location
    oMNipre$ent
    Posts
    134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Re: How to change gdm theme with fedora 15

    how do we change gdm login window theme ?
    Last edited by dEnDrOn; 10th July 2011 at 01:56 AM.

  5. #5
    Join Date
    Apr 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15


  6. #6
    Join Date
    Jul 2011
    Location
    oMNipre$ent
    Posts
    134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Re: How to change gdm theme with fedora 15

    Quote Originally Posted by jurank dankkal

    i think it is about changing GTK theme and not GDM theme !

  7. #7
    Join Date
    Aug 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    Hi...

    Thanks for the guide. A quick question...

    In one step you instruct:
    Code:
    # sudo -u gdm gnome-tweak-tool
    I was under the impression that running a sudo command as root can cause problems. Am I mistaken?

    Also... I understand that fedoras equivalent of gksudo is beesu when loading up a graphical command. Would it be better to do this using beesu? I looked through the man and found no equivalent for a -u suffix to tell it what user to load...

  8. #8
    Join Date
    Aug 2011
    Location
    ~
    Posts
    2,111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    Very nice, works perfectly!
    Last edited by Dutchy; 25th August 2011 at 10:32 AM.

  9. #9
    Join Date
    Nov 2009
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    Could anybody help me to fix the error as below?

    When I executed the command " gdm gnome-tweak-tool" ,my terminal feeback the following problem.

    ** (gdm-binary:2807): WARNING **: Failed to acquire org.gnome.DisplayManager

    ** (gdm-binary:2807): WARNING **: Could not acquire name; bailing out

  10. #10
    Join Date
    Jul 2005
    Age
    54
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    This is a great post! for a long time to be able to edit the GDM theme has not been accessible. This is a great work around.
    That being said what file or files are being edited when the commands "sudo -u gdm gnome-tweak-tool" and "sudo -u gdm gnome-control-center" are used?
    For example way back when before they disabled editing the GDM one could go in and edit an xml file to create a custom GDM theme. What file or files are being edited with the gnome-tweal-tool and gnome-control-center?

  11. #11
    Join Date
    Sep 2009
    Posts
    2,209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    You can change things like laptop brightness in GDM with dconf-editor, as well.

    dd_wizard

  12. #12
    Join Date
    May 2011
    Posts
    698
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    Thank you for the tip!
    I'm using Xfce so I use dconf-editor to change the GDM settings.
    There are useful options under org.gnome.gnome-settings-daemon.plugins, like font hinting (Xsettings) (MS fonts like 'Slight', not the default 'Medium') or power button actions. Plus we can disable other stuff that don't make sense to have in GDM (don't know if it makes any difference, though).

  13. #13
    Join Date
    May 2011
    Location
    Tilburg
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to change gdm theme with fedora 15

    Quote Originally Posted by bluewanders
    Hi...

    Thanks for the guide. A quick question...

    In one step you instruct:
    Code:
    # sudo -u gdm gnome-tweak-tool
    I was under the impression that running a sudo command as root can cause problems. Am I mistaken?...
    using sudo as root is no problem, because sudo -u is the command. the -u gives you momentarily the ability to perform the command as the specified user afterwards.

    so sudo -u gdm results in using the command as the user gdm without the need of giving the gdm user a login/password.

Similar Threads

  1. [SOLVED]
    Can't change icon theme to Fedora on Gnome 3
    By sillav in forum F15 Development
    Replies: 1
    Last Post: 25th April 2011, 02:39 AM
  2. Replies: 3
    Last Post: 5th March 2011, 02:22 PM
  3. Replies: 1
    Last Post: 25th February 2011, 12:14 PM
  4. Replies: 4
    Last Post: 29th December 2005, 12:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]