Author Topic: lxdecc -- error -- need to fix it [resolved ???]  (Read 797 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
lxdecc -- error -- need to fix it [resolved ???]
« on: July 23, 2010, 07:55:54 PM »
I'm getting this error suddenly:
Code: [Select]
(gtkdialog:14129): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &
/usr/bin/lxdecc: line 179: 14129 Segmentation fault      gtkdialog --program=lxdecc

This is strange. ??? There has never been a semicolon in the script on line one, nor does it have an ampersand there.
Line 179 simply identifies lxdecc with gtkdialog -- gtkdialog --program=lxdecc ??? ??? ???

Has gtkdialog been updated recently? Could that be the source of the problem?

This is lxdecc:
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.

#-------------------------------------------------------
# Start main program

export lxdecc='
<window title="Control Center" icon="/usr/share/icons/gnome/32x32/actions/application-exit.png" window-position="2">
<vbox>
  <notebook labels="Appearance Settings|System ">
  <vbox>
  <frame>
<hbox>
<vbox>
<hbox>
<button>
<input file>"/usr/share/icons/1.png"</input>
<action>pcmanfm --show-pref=2 &</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/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>
</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

« Last Edit: July 24, 2010, 01:31:42 PM by Neal »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdecc -- error -- need to fix it
« Reply #1 on: July 24, 2010, 01:30:56 PM »
Really odd. No problem with launching lxdecc today. ???