(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 30 Sep 2020, 06:02
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy
Moderators: Flash, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 258 of 283 [4236 Posts]   Goto page: Previous 1, 2, 3, ..., 256, 257, 258, 259, 260, ..., 281, 282, 283 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Fri 31 Oct 2014, 16:34    Post subject:  

Hi Locky,

Quote:
What I really would like to do is get openbox working like crunchbang as I have become accustomed to the interface and I find it very easy to work with. To that end I have been experimenting with modifying the openbox config and playing with the scripts etc from crunchbang according to the following link...


Just my 2 cents: this may go a little in the right direction, first install tint2:
Code:
apt-get install tint2

And replace from attached archive: crunch.tar.gz:
~/.config/openbox/autostart.sh (all xfce commented out except xfce4-clipman, which is almost invisible on tint2 because of dark icon)
also add in ~/.config/: folder tint2 from archive.
Restart X
Conky configuration is the default one from openbox_xfce version.
To have a wallpaper visible, install hsetroot:
Code:
apt-get install hsetroot

and uncomment line 6 from ~/.config/openbox/autostart.sh (and maybe change path accordingly to the image).

Just for info: I experimented with tint2 to add some launchers, maybe it's me but it seems a little buggy for that (only sometimes works for me).
So I looked at wbar and couldn't get the wheezy version working.
The sid version worked well for me, also installed wbar-config from sid, nice!

Fred
crunch.tar.gz
Description 
gz

 Download 
Filename  crunch.tar.gz 
Filesize  1.27 KB 
Downloaded  238 Time(s) 
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 01 Nov 2014, 01:18    Post subject:  

Hi, Satori.

Uploaded SMP kernel for Jessie version - 021-jessie-3.14-1-686-pae.zip.
Extract the archive inside /live directory (where 01.filesystem.squashfs is), change the boot code to point new vmlinuz2 and initrd file and reboot:
vmlinuz2 - kernel 3.14-1-686-pae
initrd2.img - live-boot-3x
initrd21.img - live-boot-2x
initrd21.xz - porteus-boot

If it works well and you like to replace the default kernel in 01-filesystem.squashfs - boot with the SMP kernel and update dpkg status with information about the SMP kernel typing in terminal:
Code:
0-21-update-dpkg-pae

Or single click on /opt/bin/0-21-update-dpkg-pae (the script will be deleted in a second).
Then remove the default kernel typing in terminal:
Code:
apt-get purge linux-image-3.14-1-486

And use RemasterDog to remaster the system. Replace 01-filesystem.squashfs with your remastered module (keep the same name 01-filesystem.squashfs). You can delete or move vmlinuz1, initrd.img, initrd1.img, initrd1.xz and 021-jessie-3.14-1-686-pae.squashfs. You do not need them after removing the default kernel and remastering.

If you build new iso with this remaster it will be best to rename:
vmlinuz2 -> vmlinuz1
initrd2.img -> initrd.img
initrd21.img -> initrd1.img
initrd21.xz -> initrd1.xz
This will save you the troubles to edit /isolinux/menu.cfg changing vmlinuz and initrd names.

Toni

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

Joined: 14 Jan 2013
Posts: 47

PostPosted: Sat 01 Nov 2014, 11:35    Post subject:  

Wow! Quck turnaround...

installed files and edited grub to boot porteus...
boot shows cpufreq starting on 8 cores, htop shows 8 cpus and 4G (installed mem)

looks real NICE!

thanks! Doggie's got a new chew toy Smile
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 01 Nov 2014, 12:25    Post subject:  

Thanks for testing, Satori!

Now we have one extra kernel module ready for official Jessie upgrade (when becomes stable).
Porteus-boot initrd is the latest version moded from Fred with option for systemd boot - in case you need it sometimes.

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

PostPosted: Sun 02 Nov 2014, 15:01    Post subject:  

Hi, Fred.

Just for information:
If you need it sometimes I made testing module 091-dpkg-restore-utility.squashfs (your extra mods work with all boot methods):
http://smokey01.com/saintless/DebianDog/Packages/Testing
It has menu entry Dpkg Status Restore Utility and includes restdpkg, restore-dpkg-status, synchronize-dpkg, dpkg-restore-utility (calls all scripts) and gawk (/var folder removed).
Found some issue while removing duplicate entries. For example in old DD versions frisbee does not have wpasupplicant as dependency and new status contains frisbee information from older DD version. Apt-get autoremove command will remove wpasupplicant in this case. Fixed this by changeng the file order in cat commands and it worked.
I will continue testing with save file made with standard Debian live cd. It works well but at the end eject, xinit and xterm are available for auto removing (as it was with wpasupplicant). I will try to fix this issue (Edit1: OK, fix found). Most likely nobody will use save file made on different debian system but it will be good to have it as option.

Edit2: About the packages (if you agree I will add it to the post with package changes information) - to add gsu as dependency (or check which gsu) of each package containing gsu line. And the description information suggested here.

Edit3: Module replaced. The fix from Edit1 added as separate script with option to start it. /opt/bin/inst-autorm script exports the output of apt-get autoremove in text file and sets the packages from this file as manually installed.

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


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Mon 03 Nov 2014, 15:27    Post subject:  

Hi Toni, long time no see Smile

Quote:
Just for information:
......
......


Thanks, I'll look into it later, probably next week because I'm suddenly involved in trying to create some sort of kiosk distro for my volunteer work.
As base I use DD and it needs to be completely in dutch language.
I discovered some wrong things (some have to do with locale change) I'll inform you later about it.

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Tue 04 Nov 2014, 05:41    Post subject:  

Take your time, Fred Smile

Synchronize dpkg status scripts are something for experimenting and I guess nobody will actually use them (it is so easy to remaster the system as you like it adding or removing programs and changing settings).
But having tool that can solve most (or all) dpkg status problems makes the system more flexible.

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

PostPosted: Thu 06 Nov 2014, 10:16    Post subject:  

Hi, Fred.

Some more troubles for later Smile
If we are going to make DebianDog packages compatible (as much as possible) with standard Debian I think we have a problem with gsu line in most of the scripts.
I can't find gsu command in Debian or package that contains gsu. I'm sure gksu will do the same job as gsu but since Debian does not use root most scripts will exit with "gsu command not found" message.
We need to decide what to do before editing packages on the site. I see two possible solutions:

1. Change gsu to gksu (or search for gksu if gsu not found) - i don't like this solution because we have to edit many included scripts and the previous DD versions will not have this fix.

2. Create gsu.deb and add in each package that contains gsu line symlink /usr/local/bin/gsu pointing to /usr/bin/gksu (link created from postinst script) and add as dependency in each package gsu or gksu (if gksu is already installed). But it is not easy to do also because gsu in Jwm asks for user password and in OpenBox it asks for root password (the scripts are different because activated XDM exports permissions for user and root different way and gsu with root password does not work well).

I'm sure there are other solutions but can't find better one yet.

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

PostPosted: Sun 09 Nov 2014, 18:02    Post subject:  

Hi Toni,

Quote:
Some more troubles for later Smile
.....
.....

Ahh, I like troubles Smile
For info:
I'm no good in concentrating on different things.
After wednesday (that's the deadline for the kiosk distro I'm working on) I'll get back to DD.

Take care!

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 10 Nov 2014, 05:47    Post subject:  

OK, Fred Smile
You better take few days vacation after kiosk project finish.
BTW my laptop is alive again Smile Found and fixed cold solder connector problem and now it works.

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

PostPosted: Wed 19 Nov 2014, 17:48    Post subject:  

Hi Toni,

Ok, where were we? Smile

The kiosk distro turned out very well but took much more time as expected (which is almost always the case).
After it was finished I jumped directly in trying to improve gdrive-get due to a conversation I had with Stemsee through PM (he had some great ideas for fixes and improvements)
So attached new gdrive-get.tar.gz for testing with the following improvements:
- huge improvement in speed for creating or updating lists (using elinks instead of wget for it)
- same way as smokey-get, config files for every drive in /usr/local/gdrive-get.
- download list items truncated (not whole https address).
- option to filter by filetype
- option to use 'human readable' names for drive, e.g. 'toni'
- download list stays open while downloading, to have the chance to select more again (I'm not sure yet if I like it this way, what's your opinion ?)

Some things I'd like to implement also for smokey-get later (specially I like the filetype filter) but I'd like to know what you think also.

To answer your proposition about gsu (sorry for the delay):
Quote:
2. Create gsu.deb and add in each package that contains gsu line symlink /usr/local/bin/gsu pointing to /usr/bin/gksu (link created from postinst script) and add as dependency in each package gsu or gksu (if gksu is already installed). But it is not easy to do also because gsu in Jwm asks for user password and in OpenBox it asks for root password (the scripts are different because activated XDM exports permissions for user and root different way and gsu with root password does not work well).


I think this is best and I can change things to sudo then on openbox version.
Did you like the 'gsudo' script I made a while back? We could rename to gsu maybe. (attached, just in case you don't have)
I ask because I like more a graphical program then a 'xterm' sudo solution.

Edit: And congrats with your new reborn laptop!

Edit2: Re-uploaded, added checkbox to show filenames only in download list.

Fred
googledrive-get.tar.gz
Description  New gdrive-get
gz

 Download 
Filename  googledrive-get.tar.gz 
Filesize  73.64 KB 
Downloaded  216 Time(s) 
gsudo.tar.gz
Description  graphical sudo
gz

 Download 
Filename  gsudo.tar.gz 
Filesize  513 Bytes 
Downloaded  225 Time(s) 
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 20 Nov 2014, 04:21    Post subject:  

Hi, Fred Smile

I will try to test gdrive-get properly tonight. Too much work these days unfortunately.

I will think a bit more about gsu added as dependency and how to make it right. Official debian gksu package offers to run as root by default from quick testing so there is no need to change openbox gsu version to use user password (unless you prefer to change it anyway).

Quote:
Did you like the 'gsudo' script I made a while back? We could rename to gsu maybe. (attached, just in case you don't have)
I ask because I like more a graphical program then a 'xterm' sudo solution.

I will check it again. I think I have the same gsudo included in /opt/bin

Edit: Reading gsudo script I think it is not a problem to rename it to gsu for next iso update but it needs yad and (if I do not mistake) standard debian system will most likely not have yad installed or yad repository available in sources list. This means every package with gsu line will have to start with auto-downloading and installing yad on first run or we must think of some other way to do it. Debian should have gksu installed already on the other hand.
If we think only about DebianDog compatibility it is fine, but I like to make the packages as much as possible compatible with standard Debian system.
What is your opinion, Fred? Do you see packages compatibility with standard Debian as important? I think it is because DebianDog is Debian down to the core. We can do it and start making new packages compatible for DebianDog and standard Debian but it will take some work and testing till we mod the existing packages proper.

BTW I think I will remove change-jwm-theme package. It is only for Jwm version and depends Terry's menu scripts and it is already included in Jwm version. No need to have it as separate package.

Toni

Last edited by saintless on Thu 20 Nov 2014, 12:02; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 20 Nov 2014, 11:52    Post subject:  

Hi, Fred.
Quick tested new gdrive-get and I like the improvements Smile
fredx181 wrote:
- download list stays open while downloading, to have the chance to select more again (I'm not sure yet if I like it this way, what's your opinion ?)

I like this new option to choose more files after the download finish. If you ask me keep it.

Quote:
Some things I'd like to implement also for smokey-get later (specially I like the filetype filter) but I'd like to know what you think also.

Any way you like to change or improve smokey-get is fine for me, Fred.

The one thing I do not like is elinks dependency that adds too much for DebianDog-Squeeze, but I keep there the old versions.

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

PostPosted: Thu 20 Nov 2014, 12:46    Post subject:  

Hi Toni,

Quote:
Edit: Reading gsudo script I think it is not a problem to rename it to gsu for next iso update but it needs yad and (if I do not mistake) standard debian system will most likely not have yad installed or yad repository available in sources list. This means every package with gsu line will have to start with auto-downloading and installing yad on first run or we must think of some other way to do it. Debian should have gksu installed already on the other hand.

Sorry,I may have lost track on this, you think of making a package for gsu or gsudo and create maybe symlink to gksu?

Is it alright if we can make the gsudo script work with something else than yad, e.g. zenity or gxmessage (gxmessage doesn't have the 'hide-text' option (for password) but zenity does have this option).
And possibly include the portable zenity in the gsu package.
Btw, how it is now, if the user installs latest zenity, it's not going to be used AFAIK, because /opt/bin/zenity is first in PATH, this needs fixed, I think.
I don't have good view on this at this moment, just some thoughts.

Quote:
What is your opinion, Fred? Do you see packages compatibility with standard Debian as important?

Yes, but first priority in my opinion is that DD packages won't conflict with standard Debian.
And for such essential things as sudo or gksu it's important to have compatibility.

Quote:
Quick tested new gdrive-get and I like the improvements


Ah, nice! Thanks to Stemsee for his suggestions!
I'll work soon on smokey-get to include these improvements.

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 20 Nov 2014, 13:31    Post subject:  

Hi, Fred.
fredx181 wrote:
I don't have good view on this at this moment...

Me too Smile Just posting the problems I see now in case I forget them later.
Quote:
Sorry,I may have lost track on this, you think of making a package for gsu or gsudo and create maybe symlink to gksu?

I'm not sure yet what is the best option. Maybe adding official gksu dependency in DebianDog packages but then we need to add in status and available the information gsu provides gksu. Still inside every package that needs gsu we need to add symlink gsu pointing to gksu. Then for new packages we can use gsu=gksu if gksu is installed. Let me think a little bit more about this and I will make a suggestion.

Quote:
Is it alright if we can make the gsudo script work with something else than yad, e.g. zenity or gxmessage (gxmessage doesn't have the 'hide-text' option (for password) but zenity does have this option).
And possibly include the portable zenity in the gsu package.

It could be one way to solve the problem but I'm sure there is easier solution keeping yad and making the packages to use gksu for official debian.

Quote:
Btw, how it is now, if the user installs latest zenity, it's not going to be used AFAIK, because /opt/bin/zenity is first in PATH, this needs fixed, I think.

I think the best way to go here is to make deb package with portable zenity and add new zenity version as conflicting package. Then installing the new one will uninstall portable zenity.
Quote:
Yes, but first priority in my opinion is that DD packages won't conflict with standard Debian.
And for such essential things as sudo or gksu it's important to have compatibility.

I'm sure we can have all in one for the next iso update. I will think a bit more about packages compatibility problem and make a suggestion how to solve it best in my opinion.

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 258 of 283 [4236 Posts]   Goto page: Previous 1, 2, 3, ..., 256, 257, 258, 259, 260, ..., 281, 282, 283 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. 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.1829s ][ Queries: 12 (0.1189s) ][ GZIP on ]