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 30 Sep 2014, 06:34
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 127 of 241 [3612 Posts]   Goto page: Previous 1, 2, 3, ..., 125, 126, 127, 128, 129, ..., 239, 240, 241 Next
Author Message
sunburnt


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

PostPosted: Thu 20 Mar 2014, 23:55    Post subject:  

Fred, Toni; Here`s the new mk-menu files.
I added "find /usr/share/icons" to the mk-jwm.main exec. file.
It also has the new .jwmrc file to <Include> jwm.main and jwm.tail.
There is no jwm.head file any more, it is now .jwmrc.
The file /root/.jwm/.jwmrc is a back up copy, /root/.jwmrc is the active file.
Replace all the old files with the new ones, all the new files are changed.
Copy the files into the dirs they are in ( /opt/bin, /root/.jwm, /root ).

# I`ve noticed that jwm -reload does not always fix the menu, jwm -restart is needed.
I`m not sure exactly what the circumstances for this are, but I`m sure we`ll find out.

# Fred; Try this out, it should find audacity`s icon and show it on the menu.
mk-menu.zip
Description 
zip

 Download 
Filename  mk-menu.zip 
Filesize  24.64 KB 
Downloaded  62 Time(s) 
Back to top
View user's profile Send private message 
mcewanw

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

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

fredx181 wrote:
better make it:
Code:

title DebianDog-Porteus
root (hd0,0)
kernel (hd0,0)/live/vmlinuz1 noauto from=/live/ changes=/debian/
initrd (hd0,0)/live/initrd1.xz

The changes directory will then be automatically created in /debian/

Fred


I'm using the new DebianDog 01-v7.squashfs along with vmlinuz1 and initrd1.xz from DebianDog-PorteusDog-test.iso (which I had downloaded long time ago); all of these installed in /live. I'm using above menu.lst stanza except my files are in /dev/sdb1 so replacing above (hd0,0) with (hd1,0). Unfortunately, I am getting the following boot error message:
Code:

loading kernel modules
searching for wheezy-i486.sgn file
from=cheatcode is incorrect, press enter to search through all devices


When I then press enter, I get further message "Porteus data not found"

I already have Porteus-Wheezy itself running on this machine, been using it as default OS for weeks because I like the changes directory. However, that one is using the vmlinuz (not vmlinuz1) Tony pointed me to when I was having trouble with the later Porteus-Wheezy new kernel. Now I want DebianDog running with that nice changes folder method of persistence too though.

_________________
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: 2479
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 01:19    Post subject:  

Hi, Terry
sunburnt wrote:
Fred, Toni; Here`s the new mk-menu files.
I added "find /usr/share/icons" to the mk-jwm.main exec. file..

Here is the output from the new mk-jwm.menu. I do not get icon for audacity but I can't test it proper till I fix the change menus way:
Code:
root@debian:~# mk-jwm.menu
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
find: paths must precede expression: .
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
Usage: grep [OPTION]... PATTERN [FILE]...
...........
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
sh: ./menu-root.lst: No such file or directory

I see you added jwm.main in include tags. Not sure if this is the reason yet but something breaks the existing change menu-debian <-> menu-puppy
In /opt/bin menu-puppy and menu-debian change the /opt/bin/update-menus link to point to mk-jwm.menu or /usr/bin/update-menus and after that run /opt/bin/menu1 or menu2.
I can not think of better scheme to make both debian and mk-jwm menus working for user and root.
It starts to be like never ending circle of small changes that break more and more.
I don't know how IceWM uses icons but it has only this as IconPath in preferences file:
Code:
#  Icon search path (colon separated)
# IconPath="/usr/share/icons:/usr/share/pixmaps"

Converting desktop files from user when needed does not seems good approach to me.

Question to all: Way we try to replace well working and included in all debian wheezy packages debian menu method when not all desktop files follow the standards we try to include in mk-jwm.menu? I suggest we use Debian menu as default and fix mk-jwm.menu and make it default in some proper period of testing.

Terry, I might do something wrong, but desktop-convert gives this outputs. I make new desktop files by copy/paste from terminal to desktop file:
Code:
root@debian:~# debmenu2desktop.convert /usr/share/menu/bash.desktop /tmp/desktop
cat: /usr/share/menu/bash.desktop: No such file or directory
cat: /usr/share/menu/bash.desktop: No such file or directory
root@debian:~# debmenu2desktop.convert /usr/share/menu/bash /tmp/desktop
###  bash.desktop
[Desktop Entry]
Terminal="true"
Categories="Applications;Shells"
Icon="/usr/share/pixmaps/xterm-color_32x32.xpm"
Name="Bash"
Exec="/bin/bash --login"

###  sh.desktop
[Desktop Entry]
Terminal="true"
Categories="Applications;Shells"
Icon="/usr/share/pixmaps/xterm-color_32x32.xpm"
Name="Sh"
Exec="/bin/sh --login"


Toni

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Fri 21 Mar 2014, 01:30; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2479
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 01:26    Post subject:  

Hi, William.
You need not only initrd1.xz from DebianDog-PorteusDog .
You need to have /live/debian folder with all it content.
Also delete the two symlinks from /live/debian/base and create there new one /live/debian/base/01-v7.xzm pointing to /live/01-v7.squashfs
Or just move 01-v7.squashfs in /live/debian/base and rename it to 01-v7.xzm
Inside /live/debian folder you have this wheezy-i486.sgn file.

Toni

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

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

PostPosted: Fri 21 Mar 2014, 01:36    Post subject:  

Ok, Toni, that was what I was actually in the process of arranging. I'll let you know how it goes; should be fine I guess...
_________________
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: 2479
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 01:47    Post subject:  

Hi, Terry.

Quote:
# We still need boot fsck of boot and live-rw file partitions...

I'm working on this but it seems wheezy does not use fsck on boot. It has 6 months period check set. I'm not sure it will work the same way with downgraded initrd.img we use and with porteus-initrd file which is the second boot option.
To check the period fsck setup for every device use for sda1 for example:
Code:
tune2fs -l /dev/sda1


Creating file /forcefsck and reboot -F options does not work to make fsck on next boot.
Quote:

# Also, we need a default time sync utility, then no setup guis are needed.
What do you mean? Isn't it TimeZone setting menu entry enough? Every user will set up time zone once and it is done.
Quote:
## Toni; There are 2 Synaptics desktop files, one is for KDE, do we need it in our menu.?

No, but I keep the second one with no extension end it des not appear in the menu. Better to keep it this way in case someone need it after installing KDE on DebianDog Smile

Quote:
## Added: So Toni found the "Set as Default" for the browsers.? We can use it...

yes, we can easy setup manual the default links in /usr/local/bin to point to different applications with Set-Default-apps. Personaly I do not like the idea every new installed browser auto-become default browser but we can do it as Fred suggested.

Quote:
# Shouldn`t Low-Ram menu setting remove menu icons ( maybe it does already...).?

I don't think we will notice ram saving from removing menu icons and it makes the process more complicated.
Quote:
### If the Settings category gets filled with desktop stuff, we can move it to Desktop.

I suggest to include Desktop from the beginning.

Toni

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

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

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

Okay, DebianDog working with changes directory for persistence now, but including the extras Toni suggested I also used: changes=/live/debian/ rather than changes=/debian/ in my grub menu.li
st

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


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

PostPosted: Fri 21 Mar 2014, 01:54    Post subject:  

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
#

# I`ll look at mk-menu, something simple I`m sure... Rolling Eyes
# I didn`t think about JWM actually searching sub dirs for icons, I assumed it only did the dir.

# I think there`s a way for the time sync web site to auto. get your location.?

# I see the renamed Synaptics file, I`ll have to check if mk-menu will ignore it.
### Yes it will ignore the renamed file.

# I`m still looking at the fsck thing...
.

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


Joined: 11 Jun 2011
Posts: 2479
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 01:58    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 /mnt/sq/usr/share/menu /tmp/0

   #####  Total Files:  70
#

Thank you, Terry.
Maybe we should make menu entry to automate this process.

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

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

Just tested JWM IconPath, JWM does not search sub dirs.

Toni; Do you know if IceWM does search sub dirs. for icons.?
Back to top
View user's profile Send private message 
mcewanw

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

PostPosted: Fri 21 Mar 2014, 02:28    Post subject:  

I've also now tried modifying menu.lst with changes=EXIT:/live/debian/

That seems to allow shutdown without saving changes (does in Portues-Wheezy anyway), but I haven't really checked that thoroughly. I did note however that unlike in Porteus-Wheezy I don't then get the nice splash choice to save or not. Would be good to include that and document DebianDog working with changes directory nicely for users. I've been using Porteus-Wheezy for some time simply because I love this changes directory method of persistence. I can manually just add or delete things in that changes directory and they have the desired effect on next boot. So I definitely plan to use DebianDog with that facility too rather than live-rw.

Of course, the changes directory method won't work on top of ntfs because of permisssion issues and symlinks not working there, but then live-rw is very tricky to make work on ntfs partition also, as I documented earlier. That is one of the better things in Puppy; Puppy save files work fine when stored on ntfs (on same or different partition to the other boot files), which is what I have habitually been doing for years (and never bothered making sure the ntfs area was defraged - still worked fine).

So the question I have is: what is the difference with the way Puppy handles its save file to the way Debian handles live-rw?

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


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

PostPosted: Fri 21 Mar 2014, 02:29    Post subject:  

NOPE... Still not working right.
Back to top
View user's profile Send private message 
mcewanw

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

PostPosted: Fri 21 Mar 2014, 02:38    Post subject:  

Just trying Terry's menu in JWM for the first time. It is 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 
saintless


Joined: 11 Jun 2011
Posts: 2479
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 03:24    Post subject:  

sunburnt wrote:
Toni; Do you know if IceWM does search sub dirs. for icons.?

I'm not sure t searches subdirs, Terry. But it has only two paths in preferences and i don't think we had problems with icon showing after Fred found the fix for icewm-common. Maybe all icons are included in those two paths. Even if it searches subdirs I don't think we can easy include the same in Jwm.
Adding more PATH-s in .jwmrc looks better for me than copying and symlinking dirs and icons all the time.

Toni

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Fri 21 Mar 2014, 03:50; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2479
Location: Bulgaria

PostPosted: Fri 21 Mar 2014, 03:36    Post subject:  

Hi, William.

DebianDog is pure Debian and it will use debian initrd by default. All other options that make DebianDog different from Debian are only options. You can also use linux-live initrd from here:
http://www.smokey01.com/saintless/Light-Wheezy/initrd-3.2.0-4-486-linux-live.xz
It is similar to porteus boot way.
Porteus boot way works well after adding small module with porteus changes. You can check it out in /live/debian/base
Save on EXIT works in DebianDog-PorteusDog-test.iso

mcewanw wrote:
So the question I have is: what is the difference with the way Puppy handles its save file to the way Debian handles live-rw?

I don't know and I never use NTFS. Having main squashfs module less than 100 Mb is small enough to use copy to ram and live-rw save file on NTFS partition. You have found one more different way to use it. It is enough for me. If someone else finds a way to use live-rw on NTFS without changing the debian boot way we will use it.
BTW I havent test this but as far as I remember Debian Wheezy docs says if you use persistence save file it works from NTFS partition. You can test it with not-downgraded initrd file if you like:
http://www.smokey01.com/saintless/Light-Wheezy/original-initrd.img/initrd1.img
You need to change persistent with peristence in kernel boot line and to use this save file:
http://www.smokey01.com/saintless/1Gb-persistence-or-live-rw.zip

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 127 of 241 [3612 Posts]   Goto page: Previous 1, 2, 3, ..., 125, 126, 127, 128, 129, ..., 239, 240, 241 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.1370s ][ Queries: 12 (0.0381s) ][ GZIP on ]