Author Topic: Icons in log-in menu are always coffee - Come on, Neal .... [Solved]  (Read 701 times)

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Now - I like my coffee as much as anybody, maybe with the exception of Neal - who might just have the edge on me.  However, I have a problem with the log-in menu.  I have now me and my 2 sons logging in and we all have a coffee cup icon, also we have all chosen a different one when we created or edited the users in PCC.

How would I go about changing those icons, since the - for me - obvious route doesn't lead to success?

Any suggestions welcome!   :)
« Last Edit: August 11, 2011, 10:51:43 PM by longtom »
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

tedlane

  • Guest
Re: Icons in log-in menu are always coffee - Come on, Neal ....
« Reply #1 on: August 11, 2011, 09:24:51 PM »
longtom,

There is gnome app to do this.  I added it months ago to my ConfigureYourLXDesktop configuration file. But I have now forgotten the name of it. If you can tell me the name of the config file for lxdecc (which I have also forgotten), I'll look it up.

ted

Online Rudge

  • Hero Member
  • *****
  • Posts: 9701
  • I'm Just A Dog.
Re: Icons in log-in menu are always coffee - Come on, Neal ....
« Reply #2 on: August 11, 2011, 09:28:09 PM »
I always thought it was a nice "personal" touch. I like it Neal. Keep it up.

*Rudge runs and hides*  :D


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

tedlane

  • Guest
Re: Icons in log-in menu are always coffee - Come on, Neal ....
« Reply #3 on: August 11, 2011, 09:54:40 PM »
Found it!  The app is "gdmphotosetup".  I can't remember if this is installed by default.  (Having a good day aren't I?)

I added that app into my lxdecc script (i.e. /usr/bin/lxdecc) (no wonder I couldn't remember the config file for it) as a new tab "Personal".  This is included below if anyone thinks its of interest.


ted


Code: [Select]
#!/bin/sh

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#-------------------------------------------------------
export TEXTDOMAIN=lxdecc
export TEXTDOMAINDIR="/usr/share/locale"
# Start main program

export lxdecc='
<window title="Control Center" icon="/usr/share/icons/gnome/32x32/actions/application-exit.png" window-position="1">
<vbox>
  <notebook labels="Appearance Settings|System|Personal">
  <vbox>
  <frame>
<hbox>
<vbox>
<hbox>
<button>
<input file>"/usr/share/icons/1.png"</input>
<action>/usr/bin/pcmanfm --desktop-pref --set-wallpaper= &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Set Wallpaper"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/2.png"</input>
<action>obconf &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Configure Openbox"'</label>
</text>
</hbox>
                                <hbox>
<button>
<input file>"/usr/share/icons/cursor_ring_icon.png"</input>
<action>lxcursor &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Change Your Cursor Theme"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/3.png"</input>
<action>lxappearance</action>
<action>lxpanelctl restart &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"GTK & Icon Theme"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/4.png"</input>
<action>xscreensaver-demo &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Screensaver Settings"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/6.png"</input>
<action>pcmanfm --show-pref=1 &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"PCManFM Settings"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/lxautostart_32.png"</input>
<action>lxautostart.sh &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"LX-Autostart Settings"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/5.png"</input>
<action>lxpanelctl restart &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Refresh Panel"'</label>
</text>
</hbox>
</vbox>
</hbox>
    </frame>
  </vbox>
  <vbox>
  <frame>
<hbox>
<vbox>
<hbox>
<button>
<input file>"/usr/share/icons/7.png"</input>
<action>gksu /usr/bin/gdmsetup &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"GDM Settings"'</label>
</text>
</hbox>
<hbox>
     <button>
<input file>"/usr/share/icons/file_tools_section.png"</input>
<action>gksu -l /usr/bin/pcmanfm &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"File Manager Superuser Mode"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/8.png"</input>
<action>gksu -u root /usr/sbin/synaptic &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Install Software"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/drakconf.png"</input>
<action>gksu /usr/sbin/drakconf.real &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"PCLinuxOS Control Center"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/9.png"</input>
<action>lxinput &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Mouse&Keyboard"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/10.png"</input>
<action>lxsession-edit &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Session Settings"'</label>
</text>
</hbox>
<hbox>
<button>
<input file>"/usr/share/icons/11.png"</input>
<action>lxrandr &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Monitor Settings"'</label>
</text>
</hbox>
</vbox>
</hbox>
    </frame>
  </vbox>
  <vbox>
  <frame>
<hbox>
<vbox>
<hbox>
<button>
<input file>"/usr/share/icons/10.png"</input>
<action>gdmphotosetup &</action>
</button>
<text use-markup="true" width-chars="17">
<label>'$"Login Face"'</label>
</text>
</hbox>
</vbox>
</hbox>
  </frame>
  </vbox>
</notebook>
  <hbox>
<button>
<label>'$"Close"'</label>
<input file>"/usr/share/icons/12.png"</input>
<action>EXIT:close</action>
</button>
  </hbox>
</vbox>
</window>
'

gtkdialog --program=lxdecc
unset lxdecc

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: Icons in log-in menu are always coffee - Come on, Neal ....
« Reply #4 on: August 11, 2011, 10:51:22 PM »
I have shamelessly copied the decisive part into my lxdecc script - and it works fantastically!!  :D

Thank you very much, tedlane.

Maybe Neal could possibly make that a permanent feature in the LX Desktop Control Center.   ;)

Will mark this solved !
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

tedlane

  • Guest
Re: Icons in log-in menu are always coffee - Come on, Neal .... [Solved]
« Reply #5 on: August 11, 2011, 11:25:01 PM »
No problemo!

Glad I have (finally) made a valuable contribution.
ted

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3737
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Icons in log-in menu are always coffee - Come on, Neal ....
« Reply #6 on: August 12, 2011, 01:42:25 AM »
I have shamelessly copied the decisive part into my lxdecc script - and it works fantastically!!  :D

Thank you very much, tedlane.

Maybe Neal could possibly make that a permanent feature in the LX Desktop Control Center.   ;)

Will mark this solved !

Will come a update...
Thanks tedlane for suggestions...;)

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3737
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Icons in log-in menu are always coffee - Come on, Neal ....
« Reply #7 on: August 12, 2011, 02:15:57 AM »
I have shamelessly copied the decisive part into my lxdecc script - and it works fantastically!!  :D

Thank you very much, tedlane.

Maybe Neal could possibly make that a permanent feature in the LX Desktop Control Center.   ;)

Will mark this solved !


Will come a update...
Thanks tedlane for suggestions...;)


Update ready
http://dl.dropbox.com/u/2077694/lxdecc-0.2.3.2-1leiche2011.noarch.rpm
You can test it, if you like...:)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Icons in log-in menu are always coffee - Come on, Neal .... [Solved]
« Reply #8 on: August 12, 2011, 09:36:30 AM »
 :o :o :o Doesn't everybody love coffee?

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3737
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Icons in log-in menu are always coffee - Come on, Neal .... [Solved]
« Reply #9 on: August 12, 2011, 10:55:01 AM »
:o :o :o Doesn't everybody love coffee?

Coffee what that's ???

Like tea  ;D

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Icons in log-in menu are always coffee - Come on, Neal .... [Solved]
« Reply #10 on: August 12, 2011, 01:07:30 PM »
:o :o :o Doesn't everybody love coffee?

Coffee what that's ???

Like tea  ;D

For you, it's a tea cup. ;) :)

tedlane

  • Guest
Re: Icons in log-in menu are always coffee - Come on, Neal .... [Solved]
« Reply #11 on: August 12, 2011, 05:18:27 PM »
Leiche,

This is a really minor issue. 
At lines 63 and 152 the "&"s in the <label> strings should be "&amp;"

As in
Code: [Select]
<label>'$"Mouse &amp; Keyboard"'</label>
It is only apparent when lxdecc is run from a terminal emulator.

ted

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3737
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Icons in log-in menu are always coffee - Come on, Neal .... [Solved]
« Reply #12 on: August 13, 2011, 08:09:36 AM »
Leiche,

This is a really minor issue. 
At lines 63 and 152 the "&"s in the <label> strings should be "&amp;"

As in
Code: [Select]
<label>'$"Mouse &amp; Keyboard"'</label>
It is only apparent when lxdecc is run from a terminal emulator.

ted

I had add and as & , and shoulded not displayed again... or not?