ווטסאפ - לינוקס, BSD, קוד פתוח ותוכנה חופשית בעברית. Whatsup - Linux, BSD, open source and free software in Hebrew

 
 
  כניסת חברים · רישום · שכחתי סיסמה  
tux the penguin
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
מואהדיבאורח · ·
 

הודעה פורסם: 23/10/2014 - 09:09
נושא ההודעה: תפריט בקראנצ'באנג שלא נטען

אני התקנתי קראנצ'באנג ואחרי קינפוג של התפריט זה עושה לי את הerror הבא כל פעם שהמחשב נדלק:
קוד:

"One or more XML syntax errors were found while parsing the Openbox configuration files. See stdout for more information. The last error seen was in file "/home/will/.config/openbox/menu.xml" line 525, with message: Extra content at the end of the document"

השורה 525 היא השורה האחרונה בקובץ של הקוד של התפריט, ואין לי מושג מה לא נכון איתו.
הקוד של התפריט הוא:
קוד:

<?xml version="1.0" encoding="UTF-8"?>

   <openbox_menu xmlns="http://openbox.org/"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://openbox.org/
         file:///usr/share/openbox/menu.xsd">

      <menu id="root-menu" label="Openbox 3">
         <item label="Run Program">
            <action name="Execute">
               <command>
                  gmrun
               </command>
            </action>
         </item>
         <separator/>
         <item label="Terminal">
            <action name="Execute">
               <command>
                  terminator
               </command>
            </action>
         </item>
         <item label="Web Browser">
            <action name="Execute">
               <command>
                  x-www-browser
               </command>
            </action>
         </item>
         <item label="File Manager">
            <action name="Execute">
               <command>
                  thunar
               </command>
            </action>
         </item>
         <item label="Text Editor">
            <action name="Execute">
               <command>
                  geany
               </command>
            </action>
         </item>
         <item label="Media Player">
            <action name="Execute">
               <command>
                  vlc
               </command>
            </action>
         </item>
         <separator/>
         <menu id="accessories" label="Accessories">
            <item label="Catfish File Search">
               <action name="Execute">
                  <command>
                     catfish
                  </command>
               </action>
            </item>
            <item label="Archive Manager">
               <action name="Execute">
                  <command>
                     file-roller
                  </command>
               </action>
            </item>
            <item label="Geany Text Editor">
               <action name="Execute">
                  <command>
                     geany
                  </command>
               </action>
            </item>
            </item>
            <item label="Task Manager (htop)">
               <action name="Execute">
                  <command>terminator --command=&quot;htop&quot;</command>
               </action>
            </item>
            <item label="Terminator Terminal">
               <action name="Execute">
                  <command>
                     terminator
                  </command>
               </action>
            </item>
            <item label="Thunar File Manager">
               <action name="Execute">
                  <command>
                     thunar
                  </command>
               </action>
            </item>
            <item label="Thunar File Manager (root)">
               <action name="Execute">
                  <command>
                     gksudo thunar
                  </command>
               </action>
            </item>
         </menu>
         <menu id="graphics" label="Graphics">
            <item label="GIMP">
               <action name="Execute">
                  <command>
                     gimp
                  </command>
               </action>
            </item>
            <item label="Viewnior Image Viewer">
               <action name="Execute">
                  <command>
                     viewnior
                  </command>
               </action>
            </item>
            <menu id="graphicsScreenshots" label="Take Screenshot">
               <item label="Screenshooter">
                  <action name="Execute">
                     <command>
                        xfce4-screenshooter
                     </command>
                  </action>
               </item>
               <separator label="scrot"/>
               <item label="Now">
                  <action name="Execute">
                     <command>
                        scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
                     </command>
                  </action>
               </item>
               <item label="In 5 Seconds...">
                  <action name="Execute">
                     <command>
                        scrot -d 5 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
                     </command>
                  </action>
               </item>
               <item label="In 10 Seconds...">
                  <action name="Execute">
                     <command>
                        scrot -d 10 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
                     </command>
                  </action>
               </item>
               <item label="Selected Area... (click &amp; drag mouse)">
                  <action name="Execute">
                     <command>
                        scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'
                     </command>
                  </action>
               </item>
            </menu>
         </menu>
         <menu id="multimedia" label="Multimedia">
            <item label="VLC Media Player">
               <action name="Execute">
                  <command>
                     vlc
                  </command>
               </action>
            </item>
            <item label="Volume Control">
               <action name="Execute">
                  <command>
                     pavucontrol
                  </command>
               </action>
            </item>
            <item label="Xfburn">
               <action name="Execute">
                  <command>
                     xfburn
                  </command>
               </action>
            </item>
         </menu>
         <menu id="network" label="Network">
            <menu execute="cb-x-www-browser-pipemenu" id="wwwbrowsers" label="WWW Browsers"/>
            <item label="gFTP Client">
               <action name="Execute">
                  <command>
                     gftp
                  </command>
               </action>
            </item>
            <item label="Transmission BitTorrent Client">
               <action name="Execute">
                  <command>
                     transmission-gtk
                  </command>
               </action>
            </item>
            <item label="XChat IRC Client">
               <action name="Execute">
                  <command>
                     xchat
                  </command>
               </action>
            </item>
            <item label="Remote Filesystems">
               <action name="Execute">
                  <command>
                     gigolo
                  </command>
               </action>
            </item>
            <menu execute="cb-remote-desktop-pipemenu" id="remotedesktop" label="Remote Desktop"/>
            <menu execute="cb-sshconfig-pipemenu" id="sshconfig" label="SSH"/>
            <separator label="Services"/>
            <menu execute="cb-dropbox-pipemenu" id="dropbox" label="Dropbox"/>
         </menu>
         <menu id="office" label="Office">
            <menu id="libreoffice" label="LibreOffice" execute="cb-libreoffice-pipemenu" />
            <item label="Google Docs">
               <action name="Execute">
                  <command>
                     x-www-browser https://drive.google.com/
                  </command>
               </action>
            </item>
            <item label="AbiWord Word Processor">
               <action name="Execute">
                  <command>
                     abiword
                  </command>
               </action>
            </item>
            <item label="Gnumeric Spreadsheet">
               <action name="Execute">
                  <command>
                     gnumeric
                  </command>
               </action>
            </item>
            <item label="Calculator">
               <action name="Execute">
                  <command>
                     galculator
                  </command>
               </action>
            </item>
            <item label="Evince PDF Viewer">
               <action name="Execute">
                  <command>
                     evince
                  </command>
               </action>
            </item>
         </menu>
         <separator/>
         <menu execute="cb-places-pipemenu" id="pipe-placesmenu" label="Places"/>
         <menu execute="cb-recent-files-pipemenu" id="pipe-recentfilesmenu" label="Recent Files"/>
         <separator/>
         <menu id="settings" label="Settings">
            <menu execute="cb-compositor" id="CompositingPipeMenu" label="Compositor"/>
            <menu id="conkyconfig" label="Conky">
               <item label="Edit .conkyrc">
                  <action name="Execute">
                     <command>
                        geany ~/.conkyrc
                     </command>
                  </action>
               </item>
               <item label="Restart Conky">
                  <action name="Execute">
                     <command>
                        conkywonky
                     </command>
                  </action>
               </item>
               <separator label="Help?"/>
               <item label="man page">
                  <action name="Execute">
                     <command>
                        terminator --command="man conky"
                     </command>
                  </action>
               </item>
               <item label="Wiki Page">
                  <action name="Execute">
                     <command>
                        x-www-browser http://crunchbanglinux.org/wiki/conky
                     </command>
                  </action>
               </item>
            </menu>
            <menu id="dmenuconfig" label="dmenu">
               <item label="Edit start-up script">
                  <action name="Execute">
                     <command>
                        geany ~/.config/dmenu/dmenu-bind.sh
                     </command>
                  </action>
               </item>
               <separator label="Help?"/>
               <item label="man page">
                  <action name="Execute">
                     <command>
                        terminator --command="man dmenu"
                     </command>
                  </action>
               </item>
            </menu>
            <menu id="gmrunconfig" label="gmrun">
               <item label="Edit config file">
                  <action name="Execute">
                     <command>
                        geany ~/.gmrunrc
                     </command>
                  </action>
               </item>
               <separator label="Help?"/>
               <item label="man page">
                  <action name="Execute">
                     <command>
                        terminator --command="man gmrun"
                     </command>
                  </action>
               </item>
            </menu>
            <menu id="obConfig" label="Openbox">
               <item label="Edit menu.xml">
                  <action name="Execute">
                     <command>
                        geany ~/.config/openbox/menu.xml
                     </command>
                  </action>
               </item>
               <item label="Edit rc.xml">
                  <action name="Execute">
                     <command>
                        geany ~/.config/openbox/rc.xml
                     </command>
                  </action>
               </item>
               <item label="Edit autostart">
                  <action name="Execute">
                     <command>
                        geany ~/.config/openbox/autostart
                     </command>
                  </action>
               </item>
               <separator/>
               <item label="GUI Menu Editor">
                  <action name="Execute">
                     <command>
                        obmenu
                     </command>
                  </action>
               </item>
               <item label="GUI Applications Settings Editor">
                  <action name="Execute">
                     <command>
                        obapps
                     </command>
                  </action>
               </item>
               <item label="GUI Config Tool">
                  <action name="Execute">
                     <command>
                        obconf
                     </command>
                  </action>
               </item>
               <separator/>
               <item label="Reconfigure">
                  <action name="Reconfigure"/>
               </item>
               <item label="Restart">
                  <action name="Restart"/>
               </item>
            </menu>
            <menu id="terminatorconfig" label="Terminator">
               <item label="Edit config file">
                  <action name="Execute">
                     <command>
                        geany ~/.config/terminator/config
                     </command>
                  </action>
               </item>
               <separator label="Help?"/>
               <item label="man page">
                  <action name="Execute">
                     <command>
                        terminator --command="man terminator_config"
                     </command>
                  </action>
               </item>
            </menu>
            <menu id="tint2config" label="tint2">
               <item label="Edit config file">
                  <action name="Execute">
                     <command>
                        geany ~/.config/tint2/tint2rc
                     </command>
                  </action>
               </item>
               <item label="Restart tint2">
                  <action name="Execute">
                     <command>
                        tint2restart
                     </command>
                  </action>
               </item>
               <separator label="Help?"/>
               <item label="man page">
                  <action name="Execute">
                     <command>
                        terminator --command="man tint2"
                     </command>
                  </action>
               </item>
               <item label="Online Help">
                  <action name="Execute">
                     <command>
                        x-www-browser http://code.google.com/p/tint2/wiki/Welcome
                     </command>
                  </action>
               </item>
            </menu>
            <menu id="DisplaySettings" label="Display Settings">
               <item label="ARandR Screen Layout Editor">
                  <action name="Execute">
                     <command>
                        arandr
                     </command>
                  </action>
               </item>
               <separator label="Help?"/>
               <item label="man xrandr">
                  <action name="Execute">
                     <command>
                        terminator --command="man xrandr"
                     </command>
                  </action>
               </item>
            </menu>
            <menu id="Notifications" label="Notifications">
               <item label="settings">
                  <action name="Execute">
                     <command>xfce4-notifyd-config</command>
                  </action>
               </item>
            </menu>
            <item label="Edit Default Applications">
               <action name="Execute">
                  <command>
                     terminator --command="sudo update-alternatives --all"
                  </command>
               </action>
            </item>
            <item label="User Interface Settings">
               <action name="Execute">
                  <command>
                     lxappearance
                  </command>
               </action>
            </item>
            <item label="Power Management">
               <action name="Execute">
                  <command>
                     xfce4-power-manager-settings
                  </command>
               </action>
            </item>
            <item label="Screensaver">
               <action name="Execute">
                  <command>
                     xscreensaver-demo
                  </command>
               </action>
            </item>
            <item label="Choose Wallpaper">
               <action name="Execute">
                  <command>
                     nitrogen ~/images/wallpapers/
                  </command>
               </action>
            </item>
         </menu>
         <menu id="system" label="System">
            <menu execute="cb-printing-pipemenu" id="PrintingPipeMenu" label="Printers"/>
            <item label="GParted">
               <action name="Execute">
                  <command>
                     gksudo gparted
                  </command>
               </action>
            </item>
            <item label="Synaptic Package Manager">
               <action name="Execute">
                  <command>
                     gksudo synaptic
                  </command>
               </action>
            </item>
            <item label="User Login Settings">
               <action name="Execute">
                  <command>
                     gksudo slimconf
                  </command>
               </action>
            </item>
         </menu>
         <!--<menu id="help" label="Help" execute="cb-help-pipemenu" />-->
         <separator/>
         <item label="Lock Screen">
            <action name="Execute">
               <command>
                  cb-lock
               </command>
            </action>
         </item>
         <item label="Exit">
            <action name="Execute">
               <command>
                  cb-exit
               </command>
            </action>
         </item>
      </menu>
</openbox_menu>



תוכלו בבקשה לעזור לי?
חיפשתי באינטרנט ולא מצאתי מה הבעיה
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
האורח השניאורח · ·
 

הודעה פורסם: 23/10/2014 - 09:19
נושא ההודעה:

קוד:
Extra content at the end of the document

יש שורה חדשה לאחר התג הסוגר האחרון ? <
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
Jenyaלא בפורום כעת ת.הצטרפות: 04/05/2006 · הודעות: 188 ·
 

הודעה פורסם: 23/10/2014 - 09:25
נושא ההודעה:

ניתן להשתמש בקובץ menu.xml ברירת מחדל (או לפחות לבצע השוואה) אשר מופיע תחת:
קוד:
/etc/skel/.config/openbox/menu.xml


http://crunchbang.org/forums/viewtopic.php?pid=40929%23p40929#p40929
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
האורח השניאורח · ·
 

הודעה פורסם: 23/10/2014 - 09:44
נושא ההודעה:

קוד:
XML Parsing Error: mismatched tag. Expected: </menu>.
Location: file:///tmp/bla.xml
Line Number 75, Column 15:            </item>
--------------^


ותודה לפירפוקס.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 23/10/2014 - 10:01
נושא ההודעה:

יש תוכנה בשם tidy שמסוגלת לסייע גם בעבודה עם xml תקני.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 23/10/2014 - 11:09
נושא ההודעה:

האורח השני :
קוד:
XML Parsing Error: mismatched tag. Expected: </menu>.
Location: file:///tmp/bla.xml
Line Number 75, Column 15:            </item>
--------------^


ותודה לפירפוקס.


תודה רבה
הבעיה נפתרה בזכותך
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
הצגת הודעות מלפני:     
מעבר אל:  
כל הזמנים הם GMT + 2 שעות
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
PNphpBB2 © 2003-2004 

תוכן הדיון

  1. אורח [מואהדיב]
  2. אורח [האורח השני]
  3. Jenya
  4. אורח [האורח השני]
  5. אורח
  6. אורח