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 Tue 29 Jul 2014, 10:59
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 131 of 226 [3376 Posts]   Goto page: Previous 1, 2, 3, ..., 129, 130, 131, 132, 133, ..., 224, 225, 226 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 2206
Location: Bulgaria

PostPosted: Sat 22 Mar 2014, 04:30    Post subject:  

Hi, Terry.

AFAIK the desktop files are used from different WM like KDE and others that prefer to have their own generate menu method different from debian one. I guess you are right the desktop files are placed inside from the package developers.

It will be nice to have same method to convert IceWM menu.
The corresponding jwm.main file for IceWM is /etc/X11/icewm/programs or $HOME/.icewm/programs if we move it separate for each user.
Corresponding Jwm.head file for Icewm is $HOME/.icewm/menu
We can't use something similar to jwm.tail in IceWM. I think this part of the menu is auto-generated by $HOME/.icewm/preferences At least we can hide the shutdown menu from this file.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
sklimkin

Joined: 11 Jul 2012
Posts: 151
Location: Russia Moscow

PostPosted: Sat 22 Mar 2014, 09:36    Post subject: apt2sfs+loadmodule_debiandog  

Thank you Fred.

'apt2sfs+loadmodule_debiandog' -wonderful addition to the system as a whole.
In my opinion a compact system that can design their own versions of the new, is one of the main advantages of DebianDog (Debian and Porteus).
The user has another effective tool for experimentation and improvement of the system in the right (to him - user) direction.
Unmet dependencies inherent in almost all implementations of Linux, this is the reality. Methods of dealing with this phenomenon known to us.

Sergey.
Back to top
View user's profile Send private message 
fredx181

Joined: 11 Dec 2013
Posts: 673
Location: holland

PostPosted: Sat 22 Mar 2014, 10:59    Post subject:  

Hi Toni
Quote:
For example after creating sfs module with Gtkam it does not appear in debian menu with this content:
Code:
?package(gtkam):needs="X11" \
section="Applications/Viewers" \
title="gtkam" \

But changing package name to registered one this way makes it appear in the menu.
Code:
?package(epdfview):needs="X11" \
section="Applications/Viewers" \
title="gtkam" \


Aahh, of course, I should have known, noticed already you did that with some applications.

Fred
Back to top
View user's profile Send private message 
fredx181

Joined: 11 Dec 2013
Posts: 673
Location: holland

PostPosted: Sat 22 Mar 2014, 11:05    Post subject:  

Thanks Sergey,

I was expecting at least some rotten tomatoes throwing at me.
But maybe they come later... Very Happy

Fred
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2206
Location: Bulgaria

PostPosted: Sat 22 Mar 2014, 12:15    Post subject:  

Hi, Fred.
fredx181 wrote:
I was expecting at least some rotten tomatoes throwing at me.

I'm sure no one here will do that Smile
Just a thought for extra option.
It needs apt-get update to be run before starting apt2sfs. Maybe running apt-get update at program start up as default?

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2206
Location: Bulgaria

PostPosted: Sat 22 Mar 2014, 12:22    Post subject:  

Terry,
I'm thinking to make desktop files for all missing apps.
It is better to have them this way instead of hardcoded jwm.head. it will be easier to remove desktop and menu file than editing $home/.jwm/jwm.head and /etc/skel/.jwm/jwm.head and the corresponding IceWm menu files if you make the same menu method for IceWM.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
sunburnt


Joined: 08 Jun 2005
Posts: 5010
Location: Arizona, U.S.A.

PostPosted: Sat 22 Mar 2014, 12:39    Post subject:  

# You guys have used Debian packages more than me I think.

### Do most all Debian packages have the menu files in them.? ( You`d think so...)

# This is critical... If many packages lack menu files, then they`re no better than desktop files.


Toni; To make the top & bottom menu items from desktop/menu files. how do we order them.?
The best way I can think of is to use the menu-root.lst file.
In the menu-root.lst file, have a key word ( App ) and the menu file name.
# Like this:
App xterm
App dillo

The menu file name refers to desktop files or Deb. menu files, which ever is being used.
Fairly easy to add the needed mk-menu code to do this.
# But... The top menu items use default_ links. Perhaps a way to still use them.?
.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2206
Location: Bulgaria

PostPosted: Sat 22 Mar 2014, 12:52    Post subject:  

Hi, Terry.
Quote:
### Do most all Debian packages have the menu files in them.? ( You`d think so...)
# This is critical... If many packages lack menu files, then they`re no better than desktop files.

All deb packages in debian squeezy, wheezy, jessie, sid repository have /usr/share/menu files. Some of them do not have /usr/share/applications desktop files.
All deb packages from debain based distros will have /usr/share/applications desktop files. Most likely will not have at all /usr/share/menu file.
We use mostly official debian repository and we can be sure all packages we use have /usr/share/menu file


Quote:
Toni; To make the top & bottom menu items from desktop/menu files. how do we order them.?
The best way I can think of is to use the menu-root.lst file.
In the menu-root.lst file, have a key word ( App ) and the menu file name.
# Like this:
App xterm
App dillo

The menu file name refers to desktop files or Deb. menu files, which ever is being used.
Fairly easy to add the needed mk-menu code to do this.
# But... The top menu items use default_ links. Perhaps a way to still use them.?
.

I'm not sure what you try to order. I like alphabetical order as it is now in 01-v7.squashfs Why do you want to change it and to have more complicated root-menu.list
Menu-root.list makes the top categories only at the moment.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2206
Location: Bulgaria

PostPosted: Sat 22 Mar 2014, 12:56    Post subject:  

Terry, the top and bootom if I understand right are lwm.head and lwm.tail?
I already have bottom Shutdown items in one menu category.
The top items from jwm.head will be placed in system and utility folders mostly. Manual changing the section inside the desktop file will do it.

Only Default terminal and Default Web-browser will stay on top of the menu.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2206
Location: Bulgaria

PostPosted: Sat 22 Mar 2014, 13:17    Post subject:  

Terry.
Download the attached archive with current configuration I have and extract the zip. It includes your latest mk-jwm.main + all desktop and menu files.
Load it with SFS-Loader or place 02-menu-test.squashfs in /live with 10-v7.squashfs and reboot. make sure not to have save file in use.
Run menu-debian and menu-puppy to see the changes. The top terminal and browser will not have icons but i forgot to add the changes in the squashfs for them.
I know much more has to be edited and sorted.
Write what you think about this.

Toni
02-menu-test.squashfs.zip
Description 
zip

 Download 
Filename  02-menu-test.squashfs.zip 
Filesize  46.62 KB 
Downloaded  47 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
fredx181

Joined: 11 Dec 2013
Posts: 673
Location: holland

PostPosted: Sat 22 Mar 2014, 14:46    Post subject:  

Hi Toni
Quote:
Just a thought for extra option.
It needs apt-get update to be run before starting apt2sfs. Maybe running apt-get update at program start up as default?


Yes, good idea, I made a checkbox for it.
Also made it do some "zerosizing" to save some space.

I edited my post on previous page and new version uploaded there.

Fred
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2251
Location: New Zealand

PostPosted: Sun 23 Mar 2014, 01:14    Post subject:  

saintless wrote:

Unfortunately some package developers do not make menu files for debian menu system and have only desktop packages included. This is the future package management behaviour. This means debian packages outside debian wheezy repository may not have menu files included. Debian developers maybe will follow this method for the next stable debian or try to adapt current debian menu to use desktop files.
If we change the menu method it is better to use desktop files. This way we will have separate working replacement for debian menu system.


I absolutely agree with this last comment. Making menu from desktop files is the way to go. I would be surprised if Debian developers didn't in the future move to a menu based on desktop files also. In the meantime shouldn't be too difficult to make a few desktop files for any packages that didn't supply one by default. Terry's menu looking good.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
fredx181

Joined: 11 Dec 2013
Posts: 673
Location: holland

PostPosted: Sun 23 Mar 2014, 13:49    Post subject:  

Hi Toni, William
Here's IMO an important addition to DebianDog-Porteus:
It will give an option (in case boot parameter changes=EXIT:/) to save changes or not when shutdown/reboot from terminal or console instead of only when X is running.
It works also when pressing Ctrl+Alt+Del from some tty.
It gives a simple question on the console, but when you install the 'dialog' package, then there will be a nicer "dialog".
See below for: snapexit_0.1.1-1_i386.deb (remove dummy .tar extension)

Toni, I wanted to add this to the 021-apps-porteus.xzm module but AFAIK it isn't reliable because of changes in the shutdown order (changed symbolic links in e.g. /etc/rc6).
So the best thing I can think of is to include it in the main module.
I made sure it doesn't run when using the live-boot DebianDog version.

Fred
snapexit_0.1.1-1_i386.deb.tar
Description 
tar

 Download 
Filename  snapexit_0.1.1-1_i386.deb.tar 
Filesize  3.12 KB 
Downloaded  41 Time(s) 
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2206
Location: Bulgaria

PostPosted: Sun 23 Mar 2014, 14:40    Post subject:  

Thank you, Fred!

I'm working on 021-apps-porteus.xzm now. There are some troubles I can not fugure out yet. Ktsus creates issues for user account for obshutdown for example. It does not give password window to reboot and shutdown Old gsu works.
Obshutdown Exit button also does not work for user from icewm and jwm.
There other small issues like loadmodule included in apt2sfs and loadmodule in 021-apps-porteus.xzm - they are different I think. I will overlay the last on top of the first one.

I will create new deb-porteus-dog-test.iso in the next days and very possible I will need your help for some issues.

Toni
Back to top
View user's profile Send private message MSN Messenger 
fredx181

Joined: 11 Dec 2013
Posts: 673
Location: holland

PostPosted: Sun 23 Mar 2014, 16:12    Post subject:  

Hi Toni

Quote:
Ktsus creates issues for user account for obshutdown for example. It does not give password window to reboot and shutdown

Strange, just tried, I don't have this problem.
Is the "gsu" line there in e.g. /usr/bin/wmpoweroff ?

Quote:
Obshutdown Exit button also does not work for user from icewm and jwm.

Yes, got that also, appearently 'pkill X' or 'killall X' is not permitted for user.
A workaround I can think of is to NOT use obshutdown for JWM and have like this in ~/.jwmrc (instead of the Logout line I added for porteus-boot):
Code:
<Program label="Reboot" confirm="false" icon="restart.png">wmreboot</Program>
      <Program label="Shutdown" confirm="false" icon="shutdown.png">wmpoweroff</Program>


And for icewm use obshutdown and in ~/.obshutdownrc instead of 'pkill X', then 'pkill icewm' (don't know, maybe is to much forcing)
(isn't there something like 'icewm -exit' ?, just couldn't find)
Hope this helps.

Quote:
There other small issues like loadmodule included in apt2sfs and loadmodule in 021-apps-porteus.xzm - they are different I think. I will overlay the last on top of the first one.

Yes, the one in /usr/bin is old.
btw, now that my new loadmodule supports full path, maybe right-click option for (de)activate?
EDIT:
Q; What are you using as boot options for changes= ?
I suspect there there's a difference in how things behave according to what's used.

Fred
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 131 of 226 [3376 Posts]   Goto page: Previous 1, 2, 3, ..., 129, 130, 131, 132, 133, ..., 224, 225, 226 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1335s ][ Queries: 13 (0.0439s) ][ GZIP on ]