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 Thu 21 Nov 2019, 10:17
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 44 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 42, 43, 44, 45, 46, ..., 101, 102, 103 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 12778
Location: Stratford, Ontario

PostPosted: Thu 28 Sep 2017, 22:31    Post subject:  

rodiontw wrote:
On the Stretch DD's my PC's USB WiFi adapter is not working properly

If you want help with this, you need to provide more information.

1. The name and model number of the adapter.
2. The driver that is loaded in the OS where it works.
3. The exact DD version where it doesn't work.
4. The network connection tool that you are using.
Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 520
Location: Yugoslavija

PostPosted: Fri 29 Sep 2017, 02:27    Post subject: LZ4 Versions  

LZ4 Versions
Picture1.jpg
Description 
jpg

 Download 
Filename  Picture1.jpg 
Filesize  182.27 KB 
Downloaded  195 Time(s) 
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Fri 29 Sep 2017, 08:19    Post subject:  

Hi rcrsn51,

I made some changes to the peasywifi deb package and added to repos (v 4.5-1):
https://fredx181.github.io/StretchDog/i386/Packages/Extra/peasywifi_4.5-1_i386.deb
- Changed DEBIAN/control in a way that installing peasywifi will remove frisbee (and vice versa)
- Edited postinst and prerm scripts, so that peasywifi will be activated without having to reboot
- Added sudo line on top of peasywifi script:
Code:
# fredx181, normal user needs admin privileges, exception for using password in: /etc/sudoers.d/peasywifi
[ "`whoami`" != "root" ] && exec sudo -E -S ${0} "$@"

(and added the file: /etc/sudoers.d/peasywifi to the package)
This is for multi-user support, so peasywifi can be used when logged in as normal user, (e.g. puppy)

Tell me if you agree or not (or maybe have a better solution in mind for multi-user support).

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


Joined: 05 Sep 2006
Posts: 12778
Location: Stratford, Ontario

PostPosted: Fri 29 Sep 2017, 10:07    Post subject:  

That's fine with me. I have no expertise on multi-user support.

Here is something to try. The PWF Config lets you set the location for the connection profiles. For a non-root user, it might be possible to keep them in the home directory. Then each user could manage his/her own set of profiles.

But I have never tested this.

Last edited by rcrsn51 on Fri 29 Sep 2017, 11:56; edited 1 time in total
Back to top
View user's profile Send private message 
rodiontw

Joined: 27 Sep 2017
Posts: 7

PostPosted: Fri 29 Sep 2017, 10:52    Post subject:  

rufwoof wrote:
rodiontw wrote:
I'm sticking to DD Jessie with Trinity Desktop on my PC

Remember that have been able to do similar in native Debian for a long time (for instance http://forums.debian.net/viewtopic.php?p=93201&sid=3088dae72107035749c4596bd73846ef#p93201 or https://www.linuxquestions.org/questions/linux-general-1/installing-debian-jessie-to-a-chroot-on-ubuntu-4175592616/). Part of the appeal of Debian is that you can source from just their Main repository and if your hardware supports that then that is very stable and secure. Running browsers or other internet facing programs as root isn't a good policy, as user you can't even mount drives let alone corrupt or reformat them. I use pure Debian Jessie along with jwm and pcmanfm and configure that to be much like Puppy and all based on Debian Main repositories only. Whilst I have live-boot installed I tend more nowadays to boot as though a full install, but where I can make a sfs of that installation and boot it puppy frugal style if I so desire (useful for testing purposes and not saving the session). mklive is just a hash of what is already provided/supported by Debian along with puppy type scripts added in to the options of things that can be installed ... and that installs bad security practice (running as root).

As part of puppification of Debian you can set it to 'trim the fat' as per puppy (locale-purge), and only install required dependencies (and avoid installing recommended). When setup that way the sizes of pure Debian or DD's is comparable (similar to Puppy Linux), at least when measured on a like for like basis.


That's a good point indeed. I chose DD instead of a purer Debian because of it's convenience of already being ready to use with the options of copying to RAM and asking to save files on the disk only at shutdown, what would require some work to use this feature in a purer Debian. Concerning the root point, the multi-user feature of DD makes it kind of safer. I've been thinking about installing the Debian netinstall ISO and try new things from it, like what you mentioned and seeing how it's made. I used Arch Linux for some time too, but I prefer the stability instead of rolling release.

For me, all this is a kind of adventure on learning and exploring new things, because I'm a newbie. It's pretty nice to have this possibility of carrying a full-featured OS with less than 300MB running straight from RAM in my pocket, ready to be used at any PC I plug it into, and this is what got my attention mostly on DD/Puppy and distros that run from RAM by default.

Thanks for putting these important points.

@rcrsn51

Thanks my friend!
Typing lsusb I obtain the info: Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter.
It didn't work in any of the DD Stretch ISO's I've tried, which are the beta 32-64 bit versions that Fred uploaded before, and also the Stretch TrinityDog. I guess the problem is with the driver, it was not recognizing the device with the drivers of the ISO, so I downloaded the firmware SFS which Fred uploaded, and it started to recognize the device but wasn't able to request a connection on both Ceni and Frisbee.
Currently I'm using Frisbee.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12778
Location: Stratford, Ontario

PostPosted: Fri 29 Sep 2017, 11:25    Post subject:  

rodiontw wrote:
Typing lsusb I obtain the info: Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter.

From the lsusb command, identify the vendor:product ID codes, like
Code:
0bda:8172

If this device is using the r8712u driver, you need to install the firmware-realtek package from the repo.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Fri 29 Sep 2017, 14:27    Post subject:  

rcrsn51 wrote:
That's fine with me. I have no expertise on multi-user support.

Here is something to try. The PWF Config lets you set the location for the connection profiles. For a non-root user, it might be possible to keep them in the home directory. Then each user could manage his/her own set of profiles.

But I have never tested this.


Thanks, I'll keep it like it is now, because further changes might make things more complicated, e.g., not sure, but I think executing wpa_supplicant needs to run as root, etc....
I tested much from user account and works fine, e.g. auto connect works ok (from $HOME/Startup/peasywifi_auto)

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


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Sat 30 Sep 2017, 16:43    Post subject:  

Bug fix for quick-remaster, see EDIT 2017-09-30, here:
http://murga-linux.com/puppy/viewtopic.php?p=969160#969160

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


Joined: 05 Sep 2006
Posts: 12778
Location: Stratford, Ontario

PostPosted: Sun 01 Oct 2017, 09:09    Post subject:  

Snappie is a little screen snapshot tool. It uses the binary xwd, which is included in the package (to avoid installing all of x11-apps). The other dependency is netpbm, which you may already have.

If you prefer to include the window title bar in the snap, do the following:

1. Open /usr/local/bin/snappie in a text editor.
2. Change line 7 to: TITLE=1

Look for Snappie in the Graphics menu.

Remove the fake .gz extension.

Update: If you are doing a full-screen snap and want to include the menus, you need a pause.

1. Open /usr/local/bin/snappie in a text editor.
2. Go to line 8 and increase the SLEEP value.

-------------------
snappie_1.2_i386.deb.gz
Description  Updated 2018-04-24
gz

 Download 
Filename  snappie_1.2_i386.deb.gz 
Filesize  20.71 KB 
Downloaded  98 Time(s) 
snappie_1.2_amd64.deb.gz
Description  Updated 2018-04-24
gz

 Download 
Filename  snappie_1.2_amd64.deb.gz 
Filesize  20.05 KB 
Downloaded  99 Time(s) 
snappie.png
 Description   
 Filesize   7.86 KB
 Viewed   569 Time(s)

snappie.png


Last edited by rcrsn51 on Tue 24 Apr 2018, 10:46; edited 4 times in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12778
Location: Stratford, Ontario

PostPosted: Mon 02 Oct 2017, 07:46    Post subject:  

@rodiontw: No reply?
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14484
Location: Gatineau (Qc), Canada

PostPosted: Mon 02 Oct 2017, 10:03    Post subject:  

Hi rcrsn51.

Thanks for making known the existence of the xwd utility.

Please find below my variant of your script.

This DPupStretch-7 does not have the pnmpad component, and as a
personal preference, I find it easier to cut the area of the root image I'm
interested in, afterwards, with mtpaint. Finally, some quality is lost using
the jpg format, but it takes less space on disk.

Best regards.

Code:
#!/bin/bash
# snapshot2.sh
# Usage : snapshot2.sh $1 $2
# $1 est le délai, et $2, le nom du fichier image. ||
# $1 is the delay, and $2 the name of the image file.
# Ex. : screenshot2.sh 7 bebop
#
# Idée originale de : || Original idea by: || rcrsn51,
# publiée sur || published on
# http://murga-linux.com/puppy/viewtopic.php?p=969578&sort=lastpost#969578
# le 1er octobre 2017. || Oct. 1st 2017.
#
# Adaptation par || by || musher0,
# 2 oct. 2017 || Oct 2, 2017.
####
sleep $1
xwd -root | xwdtopnm | pnmtojpeg > ~/my-documents/Captures/$2.jpg
sleep 0.5s
mtpaint ~/my-documents/Captures/$2.jpg

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3631

PostPosted: Mon 02 Oct 2017, 10:54    Post subject:  

musher0 wrote:
Hi rcrsn51.

Thanks for making known the existence of the xwd utility.

Please find below my variant of your script.

This DPupStretch-7 does not have the pnmpad component, and as a
personal preference, I find it easier to cut the area of the root image I'm
interested in, afterwards, with mtpaint. Finally, some quality is lost using
the jpg format, but it takes less space on disk.

I do the same (capture full screen and use mtpaint to cut/paste as new (from clipboard) the region I'm interested in). I just have mtpaint screen capture set in jwm to the PrintScreen key (along with a 3 second delay before the image in snapped).

<Key mask="" key="Print">exec:sleep 3;mtpaint -s</Key>

and then save that to whatever format I desire.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Mon 02 Oct 2017, 11:36    Post subject:  

Hi Bill,

Snappie full screen capture gives weird result for me, see pic.
Capture window is fine.

Fred
snappie_full_screen.jpg
 Description   Full screen capture from snappie
 Filesize   89.47 KB
 Viewed   478 Time(s)

snappie_full_screen.jpg

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


Joined: 05 Sep 2006
Posts: 12778
Location: Stratford, Ontario

PostPosted: Mon 02 Oct 2017, 13:49    Post subject:  

@Fred: Snappie is basically a cut-down version of Mick's screeny app.

Your problem may be related to this one.

But since all of Snappie's components come from the latest Stretch packages, you would need to find a working version of xwdtopnm elsewhere.

Does scrox from the repo work better in full-screen mode?
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Mon 02 Oct 2017, 15:28    Post subject:  

rcrsn51 wrote:
But since all of Snappie's components come from the latest Stretch packages, you would need to find a working version of xwdtopnm elsewhere.

Does scrox from the repo work better in full-screen mode?


Tried installing a few netpbm + libnetpbm10 versions, from jessie , ubuntu, still the same.

Yes, scrox and also scrot full-screen works always perfect for me.

EDIT: Found that snappie full-screen works OK on JWM, previously tested (and got the weird result) on Openbox (with xfce-desktop)
EDIT2: Also OK on Openbox with pcmanfm providing the desktop

Fred
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 44 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 42, 43, 44, 45, 46, ..., 101, 102, 103 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.3583s ][ Queries: 13 (0.1505s) ][ GZIP on ]