WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: missing applications  (Read 7372 times)

ali

  • Guest
missing applications
« on: May 10, 2011, 01: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

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: missing applications
« Reply #1 on: May 10, 2011, 03: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.
10+ Years Contributing to Linux Open Source Projects.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: missing applications
« Reply #2 on: May 10, 2011, 04: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).
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: missing applications
« Reply #3 on: May 10, 2011, 04: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.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: missing applications
« Reply #4 on: May 10, 2011, 04: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.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: missing applications
« Reply #5 on: May 10, 2011, 04: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.
10+ Years Contributing to Linux Open Source Projects.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: missing applications
« Reply #6 on: May 10, 2011, 04:49:56 PM »
Thank you for clarifying!   :)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

ali

  • Guest
Re: missing applications
« Reply #7 on: May 10, 2011, 09:05:47 PM »
but i don't understand, under tinycore it worked just fine

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: missing applications
« Reply #8 on: May 10, 2011, 09:17:13 PM »
OK. I will look at this extension.
10+ Years Contributing to Linux Open Source Projects.

ali

  • Guest
Re: missing applications
« Reply #9 on: May 10, 2011, 11:39:49 PM »
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

« Last Edit: May 10, 2011, 11:49:48 PM by ali »

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: missing applications
« Reply #10 on: May 11, 2011, 08: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
10+ Years Contributing to Linux Open Source Projects.

ali

  • Guest
Re: missing applications
« Reply #11 on: May 11, 2011, 08:39:31 AM »
good to hear you fixed it :D