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 23 Oct 2019, 18:56
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
DebianDog - Jessie (21 June 2017)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 20 of 68 [1013 Posts]   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21, 22, ..., 66, 67, 68 Next
Author Message
dancytron

Joined: 18 Jul 2012
Posts: 1374

PostPosted: Mon 21 Sep 2015, 17:51    Post subject:  

Okay, thanks.

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


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Tue 13 Oct 2015, 13:53    Post subject:  

Hi Toni, William,

Breaking the silence with some bugs I found in debdog-install. see below.

How's life? Busy with some secret project or maybe just taking a rest from all the great effort taken in last year? Smile

Me, my old laptop sort of died (screen always fall out) so got busy getting and setting up another one now, much faster (dual core) and (finally, after trying out first Windows 7) installed windows 10 on it along with Debian-Standard-Full/DebianDog/Mintpup (multiple boot setup), works nicely. I found out about the bugs in debdog-install when creating this setup.

Two bugs I found:
- When canceling the bootloader install, the bootflag is set to the partition selected, which should not, IMO.(Windows would not start for me because I selected sda3, so sda1 (with Windows) wasn't marked as active partition anymore)
I think, when canceling the bootloader install it should just copy the files, nothing more.

- When a device is mounted more than once (might happen specially when using porteus-boot) you might get strange effect, see screenshot attached.

What do you think? Anyway I made new debdog-install with fixes for these issues, search for '20151011 fredx181 change' in the script for what I changed.

Fred
debdog-install.tar.gz
Description  Fixed debdog installer
gz

 Download 
Filename  debdog-install.tar.gz 
Filesize  6.95 KB 
Downloaded  252 Time(s) 
multiple-mountpoints.png
 Description   Unexpected install path when device is mounted more than once.
 Filesize   23.96 KB
 Viewed   890 Time(s)

multiple-mountpoints.png

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Wed 14 Oct 2015, 03:40    Post subject:  

Hi Fred.

In my opinion it is better to fix the bugs with updated deb packages after some testing. But it is better to wait for answer from William first.

I'm fine otherwise. Busy with other things but checking the threads for questions mostly. And exploring very old Debian versions when I have time. Trying to make well working live CD without Xorg but with working apt-get and archive repoes and converting some DD scripts into bash code without extra dependencies. Attached some examples if you like to see part of my secret retro-debian-sarge-etch-lenny project (not tested in DD). Nice to see so well working Debian archive repoes and fast and light Gnome and KDE available.

Toni
Screenshot.jpg
 Description   
 Filesize   62.76 KB
 Viewed   830 Time(s)

Screenshot.jpg

scripts-sarge-etch-lenny.tar.gz
Description  Remaster and install cli scripts for old Debian (3.1; 4.0; 5.10). Don't use them in DebianDog.
gz

 Download 
Filename  scripts-sarge-etch-lenny.tar.gz 
Filesize  3.53 KB 
Downloaded  220 Time(s) 

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


Joined: 16 Nov 2011
Posts: 27
Location: Tambo, Ecuador

PostPosted: Thu 15 Oct 2015, 00:16    Post subject: Script translation
Subject description: Maybe can help
 

Quote:
augras wrote:
Are your scripts ready to translate ? If you want i can begin to translate some ? My french is better than my english !
Quote:
Sainless wrote:
If we get time or help in the future to edit some or all special scripts the same way it will be nice.
Thanks, but I think most of the scripts are not made with option to use different languages (without gettext). Most of the special DebianDog scripts are in /opt/bin but the only way to translate them is to replace the english with french inside the scripts.
If you still like to translate some scripts this way and confirm they work on your system I will upload them on the site for anyone who needs them in the future. But this is not the correct way for translation. I think the only script with gettext in /opt/bin is mount-wizard (modded from Sfs) with option to create .mo translated files and it is the correct example for writing scripts.
If we get time or help in the future to edit some or all special scripts the same way it will be nice.


Tony: if is not too late, and you still would like help.
If you post the scripts, I may be able to translate into Spanish.
Regards, Andres
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3200

PostPosted: Thu 15 Oct 2015, 01:43    Post subject:  

fredx181 wrote:

Two bugs I found:
- When canceling the bootloader install, the bootflag is set to the partition selected, which should not, IMO.(Windows would not start for me because I selected sda3, so sda1 (with Windows) wasn't marked as active partition anymore)
I think, when canceling the bootloader install it should just copy the files, nothing more.

- When a device is mounted more than once (might happen specially when using porteus-boot) you might get strange effect, see screenshot attached.

What do you think? Anyway I made new debdog-install with fixes for these issues, search for '20151011 fredx181 change' in the script for what I changed.

Fred


Hi Fred,

Yes I've noticed the unusually long 'silence' in the DebianDog/Mintpup threads. Like Toni, I read the threads regularly, but spring is here in NZ and I find myself hard-pushed to keep the growing 'jungle' in control. Then I became gardening ambitious and have tons now to do to complete my plans so my computing project plan (which I still have) has been put into storage for now...

I haven't looked at your debdog install changes, but I am sure your comments above regarding incorrectly setting active partition and so on are correct, so am happy to use your modded version.

So now you have a dual-core machine, which is presumably 64bit processor(?). Maybe one day a 64bit MintPup will be created? :-) I'm sure Toni's old machine will break down eventually... sadly. I tend to use MintPup most nowadays because some of the software we use has been provided in Ubuntu versions specifically so makes life easier. I tend to use JWM version of MintPup but with the look and feel a bit of a copy of your earlier Openbox DebianDog efforts. My only reason for looking for a 64bit MintPup one day is that my wife currently uses 64bit Linux Mint in order to have working 'Viber' (skype like app) working (no 32bit version available for that).

I do wish there were more hours in the day - so much I'd like to do (computing-wise included).

William

_________________
github mcewanw
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 15 Oct 2015, 06:16    Post subject: Re: Script translation
Subject description: Maybe can help
 

atv wrote:
Tony: if is not too late, and you still would like help.
If you post the scripts, I may be able to translate into Spanish.
Regards, Andres

Thanks Andres, it is not too late but too early I'm afraid. Changing the language inside the script is not good idea.
If we start translating inside the scripts we will end up with several versions of the same script in different language and the only way to use it will be replacing the script manually inside the system.
The special DD (gtkdialog and yad) scripts need mods to use gettext in all buttons and messages instead direct title names in english. Also the .desktop menu files need adding names and categories in different language. Then the translation will be in separate .mo files in /usr/share/locale subdirectory and the deb package will install all available translations.
I haven't tried to work on such mods yet and I'm not sure I will. This will take much time for testing after the changes in each script. But without such mods we can't translate properly the special DD scripts.

Otherwise all programs installed from debian repository have translations included in several languages.

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: 4125
Location: holland

PostPosted: Fri 16 Oct 2015, 15:50    Post subject:  

Hi Toni, William,

Here's deb package debdoginstallscripts v1.0.6 with the fixes I earlier mentioned for debdog-install:

https://googledrive.com/host/0ByBgCDlZZ8K5bUsxVnhCTkhoZDA/DebianDog/debdoginstallscripts_1.0.6_i386.deb

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 17 Oct 2015, 05:44    Post subject:  

Thanks Fred!

Repository and fixes post for DD-Jessie, Wheezy, Squeeze and MintPup updated with fixed package and information:
Quote:
Fixes for frugal installer from Fred described here.
Upgrade the installer package with:
Code:
sudo apt-get update
sudo apt-get install debdoginstallscripts


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: 4125
Location: holland

PostPosted: Sat 17 Oct 2015, 15:33    Post subject:  

hi Toni.

Quote:
Repository and fixes post for DD-Jessie, Wheezy, Squeeze and MintPup updated with fixed package and information:


Thanks! I see you edited 'mintpup-install' the same way, nice!

Sorry to say, but I found another bug, it has to do again with multiple mountpoints for one device.
Probably the problem occurs only in a rare case, but I think the installer needs to work well in all cases.
I'll try to fix and test, get back later about it.

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


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Sun 18 Oct 2015, 16:36    Post subject:  

Hi Toni, William,

Some more fixes for debdog-install and mintpup-install
Note, the problems I found are NOT because of the modifications William has made some time ago.

Two issues found:
1) In case there's not enough space on the device to copy the files, there's no message noticing that, it will display 'Installation completed' but in fact the copying is incomplete.
Fixed by adding 'wait $CPPID' and small change to progress bar code.

2) Probably in some exceptional case:
-- Disable journal checkbox is checked
-- Boot partition is the same as save partition
-- Trying to install with 'from directory' option from inside this partition, to this same partition.
To clarify:
I have directory 'debdog' on /mnt/sda3 with live folder inside
Ok, I choose 'live' folder with 'from directory' option, disable journal checkbox is checked and install partition is sda3
Result: 'live' folder cannot be found because /mnt/sda3 is unmounted (has been done later in the script by unmounting /dev/sda3, just before 'disable journal', unmounting is needed for that)
Fixed by adding separate function 'disable_journal' and execute it at the end of script
Also fixed by setting mountpoint for selected partition unconditionally on /mnt/sd?*, even when it's already mounted (more safe, avoids finding by accident mountpoint of changes directory e.g. changes-exit or persistence)

See '20151017 fredx181 change' for what I edited.

I tested a lot already, but as these are not small changes, better test more on other machine, so if you have time... Smile

For Debiandog:
https://googledrive.com/host/0ByBgCDlZZ8K5bUsxVnhCTkhoZDA/DebianDog/debdoginstallscripts_1.0.7_i386.deb
For Mintpup:
https://googledrive.com/host/0ByBgCDlZZ8K5bUsxVnhCTkhoZDA/DebianDog/mintpupinstallscripts_1.0.6_i386.deb

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 19 Oct 2015, 05:17    Post subject:  

Thanks Fred.

I will wait one-two weeks before updating the repositories and do some testing.
I still get widget_entry_refresh messages reported here and noticed also the checkbox command not found messages. I get them with all debdog-install versions when unchecking the boxes and running gparted button. All seem harmless but I thought it is better to report them here if you can see any problem:
Code:
widget_entry_refresh(): <label> not implemented for this widget.
widget_entry_refresh(): <label> not implemented for this widget.
/opt/bin/debdog-install: line 899: Checkbox: command not found
/opt/bin/debdog-install: line 900: Checkbox: command not found
/opt/bin/debdog-install: line 901: Checkbox: command not found
/opt/bin/debdog-install: line 902: Checkbox: command not found


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: 4125
Location: holland

PostPosted: Mon 19 Oct 2015, 08:11    Post subject:  

Hi Toni,

Quote:
widget_entry_refresh(): <label> not implemented for this widget.
widget_entry_refresh(): <label> not implemented for this widget.
/opt/bin/debdog-install: line 899: Checkbox: command not found
/opt/bin/debdog-install: line 900: Checkbox: command not found
/opt/bin/debdog-install: line 901: Checkbox: command not found
/opt/bin/debdog-install: line 902: Checkbox: command not found


I also think these are harmless warnings, but anyway I managed to fix them.
The info from here was very helpful for the widget_entry_refresh warning.
http://www.murga-linux.com/puppy/viewtopic.php?t=82648&sid=ef7757530e6c2b0838689e3f647ded52
3d post from thunor
To fix the 'Checkbox: command not found' warning I just removed the lines containing "echo Checkbox ...." .

Re-uploaded both debs,

https://googledrive.com/host/0ByBgCDlZZ8K5bUsxVnhCTkhoZDA/DebianDog/debdoginstallscripts_1.0.7_i386.deb

https://googledrive.com/host/0ByBgCDlZZ8K5bUsxVnhCTkhoZDA/DebianDog/mintpupinstallscripts_1.0.6_i386.deb

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 22 Oct 2015, 13:50    Post subject:  

All DD repoes updated with latest install scripts from Fred.
For DD-Squeeze, Wheezy and Jessie:
Code:
sudo apt-get update
sudo apt-get install debdoginstallscripts


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: 4125
Location: holland

PostPosted: Sat 24 Oct 2015, 04:58    Post subject:  

Hi Toni,

I made an attempt again to make xdm work properly in openbox version, but couldn't fix the problems.
As you wrote here:
http://www.murga-linux.com/puppy/viewtopic.php?p=856279#856279
No protocol specified etc.. when using sudo as normal user.
Btw, when using 'sudo -E' it's working fine.

But I made special DD package for slim, everything works OK for me, also save on exit from console works, needed to add -novtswitch to xserver_arguments in /etc/slim.conf, so becomes:
Code:
xserver_arguments   -nolisten tcp -novtswitch

Also edited DEBIAN/postinst and DEBIAN/prerm to make it disable autologin from /etc/inittab
And added script in /opt/bin 'start-stop-slim' which is setup similar to how you did with xdm (enable/disable)
Menu entry for it under System 'Start/Stop Slim display-manager'
Slim will be enabled as default (autologin from /etc/inittab disabled) after installing the deb.
Only for Jessie so far, tested on openbox and jwm, I will make for Wheezy if you agree with this package setup.
Maybe you have other ideas for it, please tell me then.

https://googledrive.com/host/0ByBgCDlZZ8K5bUsxVnhCTkhoZDA/Packages/slim_1.3.6-4-ddjessie_i386.deb

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 24 Oct 2015, 10:14    Post subject:  

Hi Fred.

If you like to make xdm work well in OpenBox I will try to help you. BTW exit from console with save on Exit works fine in MintPup with xdm activated. I'm sure it is some configuration change we need to make in DD to fix this but for me it is minor issue anyway.

Having well working login manager is important and if your choice for OpenBox is slim I don't mind. I will do some testing when I can but I had bad experience with slim and I don't like it. My choice is xdm and it works well for me. It is included in all Jwm versions and I will not change this in the future. But if the user wants to change xdm with slim or another alternative I do not mind and it is good to have fixed slim package available. Slim and anything you like will be uploaded in DD repoes. Just say when.

BTW take a look at github when you have time. I made some changes the last few days in Jessie and Wheezy pages. Now it is pretty much independent backup (check out the download links and snapshot repository modules). The best thing is you and William can easy update, delete, reupload any files and information posted by me and everything is in one place. I will keep DD-Squeeze version separate in MintPup account (unless you or William like to be able to update DD-Squeeze in the future).

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 20 of 68 [1013 Posts]   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21, 22, ..., 66, 67, 68 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1124s ][ Queries: 13 (0.0510s) ][ GZIP on ]