You are not logged in.

#1 2013-02-01 05:13:31

ryanmichaelmcclure
Member
From: Cloudsdale, Equestria
Registered: 2012-10-26
Posts: 44
Website

Removing the top panel or indicators from Lightdm-GTK-Greeter?

Is it possible to remove the top panel of the Lightdm-GTK-Greeter, or the indicators (ex: accessibility)? I want to remove them to make my login screen a little less icon-heavy. I like having a very minimalistic screen, and that would help.

Offline

#2 2013-02-01 06:29:02

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Removing the top panel or indicators from Lightdm-GTK-Greeter?

You can patch /usr/share/lightdm-gtk-greeter/greeter.ui. YMMV


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2013-02-02 04:36:32

ryanmichaelmcclure
Member
From: Cloudsdale, Equestria
Registered: 2012-10-26
Posts: 44
Website

Re: Removing the top panel or indicators from Lightdm-GTK-Greeter?

I backed up the greeter.ui file and removed the following from it:

<object class="GtkWindow" id="panel_window">
    <property name="name">panel_window</property>
    <property name="can_focus">False</property>
    <property name="decorated">False</property>
    <property name="has_resize_grip">False</property>
    <child>
      <object class="GtkMenuBar" id="menubar">
        <property name="name">menubar</property>
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="pack_direction">rtl</property>
        <child>
          <object class="GtkMenuItem" id="power_menuitem">
            <property name="name">power_menuitem</property>
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="use_action_appearance">False</property>
            <child type="submenu">
              <object class="GtkMenu" id="power_menu">
                <property name="name">power_menu</property>
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <child>
                  <object class="GtkMenuItem" id="suspend_menuitem">
                    <property name="name">suspend_menuitem</property>
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="use_action_appearance">False</property>
                    <property name="label" translatable="yes">Suspend</property>
                    <signal name="activate" handler="suspend_cb" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkMenuItem" id="hibernate_menuitem">
                    <property name="name">hibernate_menuitem</property>
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="use_action_appearance">False</property>
                    <property name="label" translatable="yes">Hibernate</property>
                    <signal name="activate" handler="hibernate_cb" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkMenuItem" id="restart_menuitem">
                    <property name="name">restart_menuitem</property>
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="use_action_appearance">False</property>
                    <property name="label" translatable="yes">Restart...</property>
                    <signal name="activate" handler="restart_cb" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkMenuItem" id="shutdown_menuitem">
                    <property name="name">shutdown_menuitem</property>
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="use_action_appearance">False</property>
                    <property name="label" translatable="yes">Shutdown...</property>
                    <signal name="activate" handler="shutdown_cb" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkMenuItem" id="a11y_menuitem">
            <property name="name">a11y_menuitem</property>
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="use_action_appearance">False</property>
            <child type="submenu">
              <object class="GtkMenu" id="a11y_menu">
                <property name="name">a11y_menu</property>
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <child>
                  <object class="GtkCheckMenuItem" id="large_font_menuitem">
                    <property name="name">large_font_menuitem</property>
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="use_action_appearance">False</property>
                    <property name="label" translatable="yes">Large Font</property>
                    <signal name="toggled" handler="a11y_font_cb" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckMenuItem" id="high_contrast_menuitem">
                    <property name="name">high_contrast_menuitem</property>
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="use_action_appearance">False</property>
                    <property name="label" translatable="yes">High Contrast</property>
                    <signal name="toggled" handler="a11y_contrast_cb" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

Worked like a charm! I haven't tested it completely yet, but it looks as if it is working and stable! Thanks Stebalien!

Moderator edit: Please use [ code ] tags around such listings. Put them in for you to keep this mess readable. -- bernarcher

Last edited by bernarcher (2013-02-02 07:17:22)

Offline

Board footer

Powered by FluxBB