Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Jul 2017, 15:02
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Puppy-like ICEWM menu?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
torm


Joined: 07 Mar 2015
Posts: 101

PostPosted: Wed 15 Mar 2017, 18:07    Post subject:  Puppy-like ICEWM menu?  

Hello.

Looking at icewm-BRANCH version 1.3.12.56,
it has pretty good and fast icewm-menu-fdo ( 14K installed ) with
icons, local language support, dynamic generation, etc.
However, most Puppy-apps end up in "Other" section...
I'm no good at C, so I'm kinda hoping someone with proper
knowledge for menus and C could help out here.

icewm-BRANCH can be found at GitHub,
file that needs some modification is fdomenu.cc ( added to this post, see below )
To compile that version of icewm, one may need:
autopoint ( for translations )
sgml2html ( for documentation )
.. it may compile the binaries before falling over on the
missing sgml2html, while.. it will "need" autopoint for autogen.sh to start with.
There is something strange about installing autopoint, so just extracted it to
/root/my-applications/bin/ for compiletime, to have it "on-path"..

For now I've got most apps to show up at least ..somewhere Smile
All suggestions and examples and patches are welcome.


Other notes.
This version of icewm can be safely configured/compiled
without the built-in taskbar or sm ( 629K, with all in = 809K )
Will work with bmpanel2 without any noticeable errors, and looks way far better this way.
Removed the default "Unknown-x-event-blah-blah.." from the bmpanel2 source,
as it tends to flood xerrs.log with thousands of lines in a single session,
at least in TahrPup605(32bit) .
fdomenu.cc.tar.gz
Description 
gz

 Download 
Filename  fdomenu.cc.tar.gz 
Filesize  3.83 KB 
Downloaded  20 Time(s) 
Back to top
View user's profile Send private message 
torm


Joined: 07 Mar 2015
Posts: 101

PostPosted: Wed 15 Mar 2017, 18:09    Post subject:  

Also tested:

-xfwm4 ( version 4.11.1 )
xfwm4 will work with bmpanel2, gives pretty lite and solid impression,
while it may-or-not compile into something usable, if modified.
Any gtk2 theme change will drop it out of X.
Looks like there must be something in theme "refresh" code in apps:

------------------------------------------------------
Code:
#include <gdk/gdk.h>

int main(int argc, char *argv[])
{
   gdk_init(&argc,&argv);
   GdkEventClient event;
   event.type = GDK_CLIENT_EVENT;
   event.send_event = TRUE;
   event.window = NULL;
   event.message_type = gdk_atom_intern("_GTK_READ_RCFILES", FALSE);
   event.data_format = 8;
   gdk_event_send_clientmessage_toall((GdkEvent *)&event);
}

-------------------------------------------------------

..that does it?

Inside events.c in xfwm4 source there is some similar-looking line 2750:

-------------------------------------------------------
Code:
static gboolean
client_event_cb (GtkWidget * widget, GdkEventClient * ev, gpointer data)
{
   TRACE ("entering client_event_cb");

   if (!atom_rcfiles)
   {
      atom_rcfiles = gdk_atom_intern ("_GTK_READ_RCFILES", FALSE);
   }

   if (ev->message_type == atom_rcfiles)
   {
      set_reload (G_OBJECT (widget), (GdkEvent *) ev, data);
   }

   return (FALSE);
}

--------------------------------------------------------

..no idea.. Sad



- metacity ( version 2.34.5 )
metacity should work with gtk2panel-0.1.1 or fbpanel,
( kinda unfriendly with bmpanel2, for some reason )
and may need extra workarounds for ( external only ) usable menus
+ custom apps ( - can be gtkdialog, etc ) for graphical UI settings,
then, one should probably comment out anything "zenity"-related from configure
to reduce some dependency-hell..
Then --disable some more misfeatures.

As a sidenote about gtk2panel-0.1.1
- can be found at SourceForge,
dependencies - libwnck/libwnck-common
compiletime dependencies - libwnck-dev
optional - glade 3.6.0 or later
size bin - 10K
size lib - 30K
size xml - ..depends on a number of menuitems?
-
features:
menu, launchbar, show-desktop, pager, tasklist, cpu-meter, volume, clock, logout
-
missing:
system-tray, vertical placement ( ? )
-
good:
pager features and look, tasklist grouping, volume, clock,
gtk2 theme support
-
no-good:
hardcoded cpu-meter, how to show clients from all workspaces? menu..
---
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10515
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Mar 2017, 18:36    Post subject:  

Hi torm.

We should have somewhere in this bazaar of a forum Smile an icewm-xdg file
and corresponding plug-in for fixmenus -- used to create icewm menus in
Puppy.

Maybe have a look at how it's done by a pro!
http://murga-linux.com/puppy/viewtopic.php?p=877417&sort=lastpost&search_id=255627263#877417
Tronkel has produced a couple of icewm based Puppies in the past.

I was successful in creating menu scripts for wmx and pekwm, but failed
at a menu creator for icewm, sorry. So maybe hunt the tricks Tronkel
used to get an icewm menu?

IHTH

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10515
Location: Gatineau (Qc), Canada

PostPosted: Fri 17 Mar 2017, 23:29    Post subject:  

Hi torm.

You may find this thread of interest, where French forum member Médor is
reporting his compilations of the recent icewm being developed on github:
http://murga-linux.com/puppy/viewtopic.php?p=896814&sort=lastpost#896814

On page 2 of that thread, I discovered that the developer, Médor,
understands English. So you may want to ask him your question directly or
via a Google translation.

IHTH.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
torm


Joined: 07 Mar 2015
Posts: 101

PostPosted: Wed 05 Jul 2017, 22:50    Post subject:  

Almost somewhere Confused however it will break translations and whatnot
.desktop files are one big mess..

Think I'll try to mix something up from PupMenu and Navig8or, to get a better picture
how this menu thing may work in general, at least it's faster to test..

Will report back if anything usable to share.
fdo-dynamic-test1.jpg
 Description   dynamic test
 Filesize   35.71 KB
 Viewed   45 Time(s)

fdo-dynamic-test1.jpg

Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10515
Location: Gatineau (Qc), Canada

PostPosted: Thu 06 Jul 2017, 00:31    Post subject:  

Hello torm.

The attached contains stuff extracted from:

an old Puppy with a template for the icewm menu when icewm
is chosen as the window manager;

and

a couple of menu-related executables in /usr/bin from the
icewm-githubmod-1.3.12.195-alt1.gitf199d1b.i586.rpm
archive. (You may already have the latter.)

IHTH.
icewm-menu-stuff.zip
Description 
zip

 Download 
Filename  icewm-menu-stuff.zip 
Filesize  12.38 KB 
Downloaded  7 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0627s ][ Queries: 14 (0.0055s) ][ GZIP on ]