Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: ali on May 10, 2011, 04:17:54 PM

Title: missing applications
Post by: ali on May 10, 2011, 04:17:54 PM
well, i made a thread in the tiny core section, it should be here
i installed microcore, i'm quite happy with it so far but the applications are not in the menu for some reason,
they won't appear in openbox
Title: Re: missing applications
Post by: roberts on May 10, 2011, 06:53:38 PM
FYI openbox is an extension. Extension posts should be in the TCE area not in the base topic areas.
However, openbox's maintainer has modified openbox to work with LXDE and as such openbox is no longer a supported WM for Core's dynamic menus.
Title: Re: missing applications
Post by: tinypoodle on May 10, 2011, 07:19:39 PM
A list with all supported wm's in a prominent place might be a consideration, unless it already exists and I have overlooked it (as I am already fully satisfied with 2-3 wm's which I am sure they are supported).
Title: Re: missing applications
Post by: jur on May 10, 2011, 07:26:10 PM
I use Openbox and it sure works for me... Robert, you have endeavored to keep it compatible after I requested this...?

I check with a clean install and report back. I worked with bmarkus when upgrading OB3 and though it is integrated with LXDE, the changes are from within LXDE not OB3.
Title: Re: missing applications
Post by: roberts on May 10, 2011, 07:41:30 PM
I am not the maintainer of openbox. My initial involvement with several WMs were to provide sample scripts to support Core's dynamic menu. Thereby each maintainer could continue with their WM offering. The last I heard openbox supports freedesktop and would therefore not need custom dynamic menu scripts and furthermore having such scripts could interfere with LXDE. But not being the maintainer of either project one should direct further support questions to the maintainer.
Title: Re: missing applications
Post by: roberts on May 10, 2011, 07:45:57 PM
A list with all supported wm's in a prominent place might be a consideration, unless it already exists and I have overlooked it (as I am already fully satisfied with 2-3 wm's which I am sure they are supported).
With the plethora of WMs in the respository, it should be up to the maintainer of each WM if they wish to add support scripts for dynamic menus. As I stated my initial involvement was to offer examples in a few WMs how the parsing could be achieved with only the tools in the base, i.e., ash & awk. Support questions for WMs other than flwm & flwm_topside should be directed to respective maintainer.
Title: Re: missing applications
Post by: tinypoodle on May 10, 2011, 07:49:56 PM
Thank you for clarifying!   :)
Title: Re: missing applications
Post by: ali on May 11, 2011, 12:05:47 AM
but i don't understand, under tinycore it worked just fine
Title: Re: missing applications
Post by: roberts on May 11, 2011, 12:17:13 AM
OK. I will look at this extension.
Title: Re: missing applications
Post by: ali on May 11, 2011, 02:39:49 AM
i came up with a temporary solution
based on the openbox_makemenu script i created the fixappsmenu script

Code: [Select]
#!/bin/bash
# (c) Ali 2011

. /etc/init.d/tc-functions
. /usr/local/bin/openbox_menu_common

TCEMENU=/usr/local/tce.openbox.xml

outputFile="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<openbox_menu xmlns=\"http://openbox.org/3.4/menu\">\n\
\t<menu id=\"apps-menu\" label=\"Applications\">\n"

cd /usr/local/share/applications
ITEMS=`ls | wc -l`
if [ $ITEMS -gt "0" ]
then
LIST=`ls`
for X in $LIST; do
outputFile="${outputFile}\t\t`writeMenuItem ./"$X"`\n"
done
fi
outputFile="${outputFile}\t</menu>\n</openbox_menu>"
echo -e $outputFile > $TCEMENU
openbox --reconfigure
i replaced the original script with that. at least until a better solution comes along :P

(http://img96.imageshack.us/img96/6049/screenshot0511092421.png) (http://img714.imageshack.us/img714/6049/screenshot0511092421.png)
Title: Re: missing applications
Post by: roberts on May 11, 2011, 11:06:56 AM
OK. I will look at this extension.
Found the issue. Was in Xprogs.tcz. Affected all alternate supported Window Managers.
Fixed. Reposted Xprogs.tcz
Title: Re: missing applications
Post by: ali on May 11, 2011, 11:39:31 AM
good to hear you fixed it :D