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 Wed 17 Sep 2014, 19:49
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 128 of 237 [3552 Posts]   Goto page: Previous 1, 2, 3, ..., 126, 127, 128, 129, 130, ..., 235, 236, 237 Next
Author Message
mcewanw

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

PostPosted: Fri 21 Mar 2014, 04:25    Post subject:  

saintless wrote:
Hi, William.

DebianDog is pure Debian and it will use debian initrd by default


Yes, it is important to have the pure Debian version by default. Very nice to have all these options though. Well thought out scheme.

_________________
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 
saintless


Joined: 11 Jun 2011
Posts: 2441
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 05:53    Post subject:  

sunburnt wrote:
Toni; For help, run: /root/0_BaCon/debmenu2desktop
This command filled /tmp/0 with only 66 ready to go desktop files ( not sure why not 70 ).
Code:
# /root/0_BaCon/debmenu2desktop /usr/share/menu /tmp/0

        #####  Total Files:  70
#

Hi, Terry.
debmenu2desktop is setup to use /mnt/sq/usr/share/menu which makes it not to work on DebianDog. I guess you use it from puppy?
I had to make some changes but works fine now. We will include it as menu entry option.
Added this in the beginning of /opt/bin/debmenu2desktop (otherwise gives error there is no /tmp/0 folder):
Code:
mkdir /tmp/0
echo "***All converted desktop files are in /tmp/0 folder.***"

And the path changeed from:
Code:
Fs=`find /mnt/sq/usr/share/menu -maxdepth 1 -type f |grep -v README`

to to this:
Code:
Fs=`find /usr/share/menu -maxdepth 1 -type f |grep -v README`

Here is the output from DebianDog now:
Code:
root@debian:~# debmenu2desktop /usr/share/menu /tmp/0
***All converted desktop files are in /tmp/0 folder.***

        #####  Total Files:  70
root@debian:~#


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


Joined: 11 Jun 2011
Posts: 2441
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 09:07    Post subject:  

Hi, all.

After installing w3m and links2 I get in /usr/share/menu files for links2 (GUI), Links2 (CLI), w3m (CLI) and I can start them all from start menu.

In /usr/share/applications I get desktop file only for Links2 (GUI).
If this is the case for most text based programs that means the user have to convert desktop files for them all the time to make them appear in the menu.

It seems desktop files are not well supported in debian package repository. I think we need a way to automate the process of converting menu to desktop files and move them in /usr/share/applications to make them appear in the mk-jwm.menu after installing every new package.

Toni

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

Joined: 11 Dec 2013
Posts: 763
Location: holland

PostPosted: Fri 21 Mar 2014, 09:09    Post subject:  

William, here's a new 021-apps-porteus.xzm updated for JWM.
Just replace with this one in the 'base' folder.
changes=EXIT:/ and choice to save or not should work then.
https://drive.google.com/file/d/0ByBgCDlZZ8K5N0pUN1RHdlNZRWs/edit?usp=sharing

Toni,
Just for info: I edited /root/jwm/jwm.tail and /etc/jwm/system.jwmrc.
Removed the "shutdown" and "reboot" entries and added "Logout" pointing to obshutdown.
Terry, I'll test your new menu-maker later today.

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


Joined: 11 Jun 2011
Posts: 2441
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 09:12    Post subject:  

fredx181 wrote:
William, here's a new 021-apps-porteus.xzm updated for JWM.
Just replace with this one in the 'base' folder.

Thank you, Fred!
Downloading and saving this for the new iso build.

Toni

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

Joined: 11 Dec 2013
Posts: 763
Location: holland

PostPosted: Fri 21 Mar 2014, 10:20    Post subject:  

saintless wrote:
fredx181 wrote:
William, here's a new 021-apps-porteus.xzm updated for JWM.
Just replace with this one in the 'base' folder.

Thank you, Fred!
Downloading and saving this for the new iso build.

Toni


You are welcome Toni!
I hope I did it right, also for puppy user and /etc/skel.
Please test a little.

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

Joined: 11 Dec 2013
Posts: 763
Location: holland

PostPosted: Fri 21 Mar 2014, 11:33    Post subject:  

Hi William, Toni
New revision of 021-apps-porteus.xzm:
https://drive.google.com/file/d/0ByBgCDlZZ8K5N0pUN1RHdlNZRWs/edit?usp=sharing
Forgot in previous version to update a few scripts to use 'gsu' (Graphical su) for multiuser support.

Toni, what I didn't add is a menu entry for creating porteus savefile (anyway question will appear at shutdown to create savefile in case booting without one)
It would be nice if you can add, but if it's very complicated just leave it like it is.

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


Joined: 11 Jun 2011
Posts: 2441
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 11:57    Post subject:  

fredx181 wrote:
Toni, what I didn't add is a menu entry for creating porteus savefile (anyway question will appear at shutdown to create savefile in case booting without one)
It would be nice if you can add, but if it's very complicated just leave it like it is.

Thank you, Fred!

I will add porteus save file option with sure.
I'm removing the second pae kernel now and I will start working on the separate kernel modules.
The base will be one module with kernel 486 included. This way only one module will be loaded on boot for Debian boot and 2 modules for Porteus boot. It should not take more ram usage this way.
The modules for 686-pae and Porteus-kernel + more extra modules later will be available for download and remastering the main module after purging 486 kernel.

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: 5028
Location: Arizona, U.S.A.

PostPosted: Fri 21 Mar 2014, 11:59    Post subject:  

Everyone;
Quote:
Just for info: I edited /root/jwm/jwm.tail and /etc/jwm/system.jwmrc.
Removed the "shutdown" and "reboot" entries and added "Logout" pointing to obshutdown.

I think that this jwm.tail file should be the one for normal users. Correct.?
For root user having the Shutdown, Reboot, etc... is a good thing. Right.?
# We need to define root & user menu differences.

Toni; Yes... I keep forgetting to remove PRINT statements and other code patches.

# Instead of /tmp/0 , probably better to use something like: /tmp/desktop

# How about mk-jwm.menu checking for changes in: /usr/share/menu
This can be done by file creation or a tracking list.
If there`s a change, then run ( on all new files found ):
Code:
debmenu2desktop /usr/share/menu/(NewFile) /usr/share/applications


### New mk-jwm.main file. Complete rewrite of the icon search.
Finds icon anywhere in /usr/share/icons, and it made a good menu.
# Icon search method:
1) If no Icon= , then default icon
2) If is good: /path/icon.ext
3) If is good: $HOME/.icons/icon.ext
4) If is good: /usr/share/pixmaps/icon.ext
5) Search icon no ext. in: $HOME/.icons
6) Search icon no ext. in: /usr/share/pixmaps
7) "find" icon in: /usr/share/icons
mk-jwm.main.zip
Description 
zip

 Download 
Filename  mk-jwm.main.zip 
Filesize  19.33 KB 
Downloaded  67 Time(s) 
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2441
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 12:08    Post subject:  

Hi, Terry.
sunburnt wrote:
Quote:
Just for info: I edited /root/jwm/jwm.tail and /etc/jwm/system.jwmrc.
Removed the "shutdown" and "reboot" entries and added "Logout" pointing to obshutdown.

I think that this jwm.tail file should be the one for normal users. Correct.?
For root user having the Shutdown, Reboot, etc... is a good thing. Right.?

No, this is something needed for Porteus boot option to make save changes work. The changes will be in very small separate module used only for Porteus boot.
Root and user will get the same jwm.tail with shutdown submenu.

Quote:
# How about mk-jwm.menu checking for changes in: /usr/share/menu
This can be done by file creation or a tracking list.
If there`s a change, then run ( on all new files found ):
Code:
debmenu2desktop /usr/share/menu/(NewFile) /usr/share/applications

Sounds good to me.

Quote:
### New mk-jwm.main file. Complete rewrite, finds icon anywhere in /usr/share/icons
It does "find" on: /usr/share/icons , it did find an icon file there and made a good menu.

Thank you, Terry! I will test it and report back.

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: 5028
Location: Arizona, U.S.A.

PostPosted: Fri 21 Mar 2014, 12:12    Post subject:  

Toni; Joe was right about the Firefox navigation keys.
They`re probably the same for other Mozilla browsers too.
Comment out these lines at the bottom of the jwm.tail file:
Code:
<--
   <Key mask="A" key="Left">ldesktop</Key>
   <Key mask="A" key="Right">rdesktop</Key>
 -->


### I`ll look at doing a new file find in /usr/share/menu

# Fred; Maybe you have an idea as to how to find new menu files.?

I didn`t catch that the menu change was a "Proteus thing".

### But still... We want to sandbox the user menu, right.?
.

Last edited by sunburnt on Fri 21 Mar 2014, 12:36; edited 2 times in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2441
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 12:34    Post subject:  

sunburnt wrote:
### New mk-jwm.main file. Complete rewrite of the icon search.
Finds icon anywhere in /usr/share/icons, and it made a good menu.
# Icon search method:
1) If no Icon= , then default icon
2) If is good: /path/icon.ext
3) If is good: $HOME/.icons/icon.ext
4) If is good: /usr/share/pixmaps/icon.ext
5) Search icon no ext. in: $HOME/.icons
6) Search icon no ext. in: /usr/share/pixmaps
7) "find" icon in: /usr/share/icons

Thank you, Terry!
Seems working fine. I get icon for audacious without changing anything else than your new mk-jwm.main
I will test it more in the next days to see if I can find any problems.

Toni

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

Joined: 11 Dec 2013
Posts: 763
Location: holland

PostPosted: Fri 21 Mar 2014, 12:35    Post subject:  

Terry,
Quote:
I didn`t catch that the menu change was a "Proteus thing".

It's "Porteus" Smile
You should try it once, then you know what we're talking about and you might like it!
It brings a lot of options more than the regular debian live-boot and the debian system itself is exactly the same.

Toni, still struggling with multiuser support with 021-apps-porteus.xzm.
It's the exact thing as some time ago:
Because of the copying when changes=EXIT:/ option is used /home/puppy is owned by root.
I thought I had solved it but can't remember how Question
So probably again new update will come later.

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


Joined: 11 Jun 2011
Posts: 2441
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 12:46    Post subject:  

fredx181 wrote:
Because of the copying when changes=EXIT:/ option is used /home/puppy is owned by root.
I thought I had solved it but can't remember how Question
So probably again new update will come later.

Fred, I'm not sure if this is what you are looking for but check out in 01-v7.squashfs in /opt/bin/new/changes-EXIT-files
I keep there to be added later the latest files from you uploaded after creating DebianDog-PorteusDog-test.iso

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: 2441
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 13:06    Post subject:  

sunburnt wrote:
### But still... We want to sandbox the user menu, right.?
.

I'm thinking to keep root only applications to be executed from command line (like xdm-start and xdm-stop). This will save as the troubles creating separate jwm menu for user. User and root will have the same JWM menu unless we do not find good reason to keep them different.

What I don't like is after installing xdm the path in /etc/profile does not work and we have path exported from /etc/environment
Unfortunately it exports the secure bin paths for user also. I will try to fix this but for now we keep this problem.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 128 of 237 [3552 Posts]   Goto page: Previous 1, 2, 3, ..., 126, 127, 128, 129, 130, ..., 235, 236, 237 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.1375s ][ Queries: 12 (0.0413s) ][ GZIP on ]