I want to merge file1.xml and file2.xml to file3.xml.
Also I want to do this with two bash script files.
Actually with files AppInfo.xml and AppRun from within a RoxApp Directory (AppDir).
Any tips (or even fully working code
![Laughing :lol:](./images/smilies/icon_lol.gif)
RSH
I want to insert AppInfo.xml and AppRun of a new created RoxApp into those files of an already existing RoxApp.So it`s a matter of stripping header info. appropriately before concating them.
I`ve done this with GtkDialog code to merge separate dialogs onto tabs on a main dialog.
Yes, if it contains only one application, doesn't make sense to have a menu.sunburnt wrote:amigo; I`m curious, what does an AppDir need a right click menu for?
Hm, I just don't know, how to create a menu for left-click.RSH; I guess my point was the difference between left-click and right-click.
Right-click is usually for settings and preferences, not that an AppDir couldn`t have those.
But to left-click is to run an app or menu.
No.# A guess... Right-click is for non-RoxFiler file managers to run AppDir packages?
Code: Select all
<?xml version="1.0"?>
<AppInfo>
<Summary xml:lang="en">SFS P.L.U.S. Suite GUI - a GUI for the applications of the SFS P.L.U.S.!</Summary>
<Summary xml:lang="de">SFS P.L.U.S. Suite Arbeitsumgebung - eine Benutzeroberfläche für die Programme des SFS P.L.U.S.!</Summary>
<About xml:lang="en">
<License>GNU Public License 2</License>
<Version>SFS P.L.U.S. 3.8.x</Version>
<Homepage>(RSH, R-S-H) - http://puppy-linux.org/</Homepage>
</About>
<About xml:lang="de">
<License>GNU Public License 2</License>
<Version>SFS P.L.U.S. 3.8.x</Version>
<Homepage>(RSH, R-S-H) - http://puppy-linux.org/</Homepage>
</About>
<AppMenu>
<Item icon="gtk-info" option="-about">
<Label xml:lang="en">About SFS P.L.U.S. Suite GUI</Label>
<Label xml:lang="de">Über SFS P.L.U.S. Suite Arbeitsumgebung</Label>
</Item>
<Item icon="sfs-plus" option="-guiexec">
<Label xml:lang="en">Run SFS P.L.U.S. Suite GUI</Label>
<Label xml:lang="de">SFS P.L.U.S. Suite Arbeitsumgebung starten</Label>
</Item>
</AppMenu>
</AppInfo>
You might want to have a look into this?It's a quite useful option if you don't get carried away with too many entries.
To make such options useful you'll need to handle them in the AppRun script.