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 10 Dec 2019, 17:31
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 37 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39, ..., 101, 102, 103 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Fri 08 Sep 2017, 02:12    Post subject:  

AndresC2 wrote:
Quote:
is it possible to create
squashfs with xorg and desktop,
without kernel?


But dont break the system?

when install linux-image-4.9.0-3-686-pae you have initrd and vmlinuz.

so you only need initrd and vmlinuz? , then can you safe remove linux-image-4.9.0-3-686-pae?

and keep "initrd and vmlinuz", later install base system with debootstrap,desktop etc and purge linux-image?.

tinycore version "core" have initrd and vmlinuz only so is possible?

It is possible but you need to add some more kernel drivers in initrd.img (or initrd1.xz) for your own hardware and you need to make small edit in the boot script inside. The safe way to do it is moving /lib/modules from the main squashfs module inside initrd.img
Then you get universal initrd.img and vmlinuz and you can boot many other linux live systems using the same initrd.img and vmlinuz (including webboot). Read more in 8. here. It gives two main advantages:

1. No duplicate kernel drivers in initrd.img anymore saving 8-12 Mb compressed space (depending on the kernel).
2. Multiboot flash or CD/DVD drive using one initrd.img and vmlinuz to boot many different linux system modules without kernel inside (much space saved this time).

But discussion about that has nothing to do with this thread and I doubt you will get much help on that if you open separate thread. For linux user with some experience in bash scripting the link above should be enough to help.
Tinycore uses custom compiled kernel with less drivers so the size is much smaller and the same can be done with Debian/Ubuntu. But it will not work well on every hardware and you will have to install extra drivers all the time saving only 15-20 Mb all-kernel drivers compressed size. Doesn't worth the trouble if you are not building small linux system for your own hardware only.

Toni

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


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

PostPosted: Fri 08 Sep 2017, 08:47    Post subject:  

dancytron wrote:
What is the smallest/simplest samba client that you guys would recommend for DD Stretch? ... edit: Just installed YASSM. Seems to do the job.

Thanks for testing.

It's possible to make YASSM even smaller by removing smbclient as a dependency. But that requires you to know the share names in advance, which I found a bit inconvenient.

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


Joined: 11 Dec 2013
Posts: 4208
Location: holland

PostPosted: Fri 08 Sep 2017, 17:54    Post subject:  

*** Update mklive-stretch ***

Added 'Kiosk' to the Desktop environment choices

The purpose is that a user is restricted to browsing the internet only (Firefox full screen with the addon: 'Webconverger' activated)
Without knowing the password for root, the user cannot make any changes to the system.

I'd appreciate if anyone will test this, e.g. pretend not knowing the root password and try to get into the system somehow (and mess it up badly Smile)
And any suggestions to improve are very welcome !

Info about how to configure as adminitrator and more: Info-Kiosk.txt

Included firefox version is v45 (as set in kiosk.conf)
Upgrading to latest Firefox-ESR v52 is possible, but some websites e.g. spotify web, won't work properly anymore, see here:
https://webconverger.org/blog/2017/Is_it_the_End_of_Firefox_on_Webconverger/

New mklive-stretch:
mklive-stretch script

GUI:


EDIT: Few hours later, made some improvements in the zz_kiosk_config.squashfs, e.g. checking connection before firefox start

Fred

Last edited by fredx181 on Fri 08 Sep 2017, 20:20; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 08 Sep 2017, 18:49    Post subject:  

Installing Brother printers in Stretch-Live-64bit

Note: Did you read the information about Perl here?

Until recently, Brother did not supply 64bit versions of their printer drivers. Instead, you are required to install a 32bit compatibility package. Here is a light-weight solution:

1a. Download the http://www.mediafire.com/file/qtxrr6c4e18mxtd/brother-canon-32bit-compat-pack_1.1_amd64.deb/file.
It contains the 32bit libraries required by the Brother driver and a few Canon drivers.
1b. Install this package with a right-click procedure.
1c. It also puts the "debbi64" script in /usr/local/bin.

2a. Download the two Debian printer driver packages.
2b. They must be installed from the command line. For example, open a terminal (F4) where the files are located and run:
Code:
debbi64 mfcj470dwlpr-3.0.0-1.i386.deb #Hint: use Tab completion
debbi64 mfcj470dwcupswrapper-3.0.0-1.i386.deb

3a. Go to /usr/lib/cups/filter and locate the Brother file named something like br_xxx_model.
3b. Open a terminal and run: filter-fix br_xxx_model

4. The above procedure may have automatically installed a CUPS printer. Test it. Otherwise, do the usual CUPS install.

---------------------------

Brother has native 64bit drivers for their scanner models. Install them as usual. But they may also need the package: libusb-0.1-4.
Hint: Run the command "scanimage -L". If you get a segfault, it's probably because libusb-0.1-4 is missing.

--------------

Last edited by rcrsn51 on Tue 22 Oct 2019, 09:35; edited 18 times in total
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3672

PostPosted: Fri 08 Sep 2017, 18:50    Post subject:  

fredx181 wrote:
I'd appreciate if anyone will test this, e.g. pretend not knowing the root password and try to get into the system somehow (and mess it up badly Smile)

Install and run debsecan for a indication of potential (known) attack vectors. My Jessie installation was very disappointing on the security front. 2000+ reported, but many duplicates in one way or another; Filtering out duplicates and leaving only high urgency, remotely exploitable ... still left 70+. Stretch should be better as fewer 'known'. BSD (similar setup) in comparison has just 1
Code:
$ pkg audit -F
vulnxml file up-to-date
libgcrypt-1.8.0 is vulnerable:
libgcrypt -- side-channel attack vulnerability
CVE: CVE-2017-0379
WWW: https://vuxml.FreeBSD.org/freebsd/22f28bb3-8d98-11e7-8c37-e8e0b747a45a.html

1 problem(s) in the installed packages found.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 09 Sep 2017, 10:14    Post subject:  

Gnome-MPlayer can have trouble picking the right language when playing DVDs. So here is a little gtkdialog front-end that gives you full control of the settings.

Hint: Some DVDs work better using "Menus=yes". Click Help for instructions.

Update: If you have set up accelerated video with libgl1-mesa-dri (and a restart), mplayer may now recognize the "gl" video mode. It has been added to the Video drop-down list.

The default mode is now "x11" which should work with all video hardware. Check that your ~/.mplayer/config file has the "zoom=1" option.

---------------------

Remove the fake .gz extension.
peasy-dvd-player_1.6_amd64.deb.gz
Description  This is the 64bit version
gz

 Download 
Filename  peasy-dvd-player_1.6_amd64.deb.gz 
Filesize  5.73 KB 
Downloaded  108 Time(s) 
peasy-dvd-player_1.6.deb.gz
Description  Updated 2018-05-08
This is the 32bit version
gz

 Download 
Filename  peasy-dvd-player_1.6.deb.gz 
Filesize  6.07 KB 
Downloaded  113 Time(s) 
screenie.png
 Description   
 Filesize   20.02 KB
 Viewed   1299 Time(s)

screenie.png

peasy-dvd-player_1.4.deb.gz
Description 
gz

 Download 
Filename  peasy-dvd-player_1.4.deb.gz 
Filesize  6.05 KB 
Downloaded  178 Time(s) 

Last edited by rcrsn51 on Tue 08 May 2018, 14:52; edited 6 times in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4208
Location: holland

PostPosted: Sat 09 Sep 2017, 15:05    Post subject:  

rcrsn51 wrote:
Gnome-MPlayer can have trouble picking the right language when playing DVDs. So here is a little gtkdialog front-end that gives you full control of the settings.

I have also posted the libdvdcss decryption library. It is compiled from the latest VideoLAN sources.


Thanks again Bill, added to repositories

@all
New mklive-stretch:
mklive-stretch script

Added choice of Desktop environments also when used CLI:
Code:
./mklive-stretch -cli




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

Joined: 11 Apr 2014
Posts: 533
Location: Yugoslavija

PostPosted: Sun 10 Sep 2017, 14:33    Post subject: vlc.squashfs  

REGARDS FRED.

YOUR vlc.squashfs
VLC2.2.6

DOES NOT HAVE GTK
IT CAN NOT SEE HDD DRIVES...

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


Joined: 11 Dec 2013
Posts: 4208
Location: holland

PostPosted: Sun 10 Sep 2017, 17:26    Post subject: Re: vlc.squashfs  

zagreb999 wrote:
REGARDS FRED.

YOUR vlc.squashfs
VLC2.2.6

DOES NOT HAVE GTK
IT CAN NOT SEE HDD DRIVES...

THANKS


Yes, probably not compiled with that feature, I replaced with another one made with vlc package from deb-multimedia repository (has GTK+):
https://debiandog.github.io/Misc/Stretch/i386/Packages/SFS/vlc.squashfs
Go in the preferences > Look and feel > Force window style and choose from dropdown box: GTK+

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

Joined: 11 Dec 2007
Posts: 1842
Location: not Bulgaria

PostPosted: Mon 11 Sep 2017, 00:48    Post subject: short test report  

Hi Fred,

Gave your latest mklive-stretch -gui a blast. Haven't used it for a while cos too busy and was waiting till your developments slowed down a bit. I just built the bigger Ddog variant (with default apps etc).

Only issue was I forgot to include wifi firmware for my laptop but luckily I had a copy of iwlwifi-5000-ucode-8.83.5.1 and stuck that in /lib/firmware (as I'm used to doing) and rebooted. Frisbee connected fine for me (it doesn't always on XenialDog64, where I normally have to increase the sleep value from to 7 or more in /etc/init.d/frisbee line 38 - but don't have that issue with your DStretch 64bit version anyway - I've found that PeasyWifi always works for me, and now I'm used to its interface, I actually prefer that).

Haven't spent much time on your DdogStretch as yet, but checked a few things out:

Opened pcmanfm filemanager, and tried clicking on an sfs and it opened up fine as hoped. Similarly, clicked on an iso and that also opened nicely. Clicked on an .mp4 and the video started and double-clicked on video and it went into fullscreen fine too. Audio also working.

Also:

Clicked on pdf and opened fine in PDF Viewer.
Clicked on jpg and opened fine in gpicview.
right-clicked a .deb and was able to both extract it's contents and also install it with the other option.
The only thing that didn't work directly for me was single-clicking on a .html file. It didn't open up in browser. However, choosing right-click Open With -> Firefox ESR did work fine.

I like the selection of apps. For a long time I've mainly used XenialDog64 (or Puppy Slacko64 ver 6.3.2 when using Puppy) and the selection and look_and_feel in this DDogStretch are very similar, so suits me well too.

One thing that annoys me on Slacko64 is just having default urxvt-style terminal (no simply cut and paste). I don't use a mouse (trained myself to use trackpad most, to save hauling a mouse along with me, longtime ago), so don't have middle mouse button (and hitting left-right buttons at same time, for paste operation, more than a bit hit-and-miss) so always want right-click copy facility in terminal i use. So on Slacko64, first thing I always install is lxterminal. I'm not sure which terminal your Stretch is using (xfce something?) but it is a good one. The other thing I wish Puppy would standardise on in its woof-CE builds, in addition to Openbox (or similar) is pcmanfm - rox is fine, but slightly drives me mad nowadays...! Anyway, I know jlst who does most maintenance of woof-CE wishes branch/distro maintainers would adopt similar, so I hope they listen to him.

All in all your DogStretch is as convenient and beautiful to use as usual. I'll stick with XenialDog (because I like access to ubuntu repositories for my kids gaming needs...), and also for now Puppy Slacko64, but otherwise this new Dog is at least as nice and efficient as any of these.

wiak
Back to top
View user's profile Send private message 
Payoon

Joined: 26 May 2010
Posts: 32
Location: Duisburg, Germany on the banks of the Rhine

PostPosted: Mon 11 Sep 2017, 02:48    Post subject: Backlight Control
Subject description: Can't change brightness
 

Hi folks,
after creating und using debiandog stretch64 everything works perfectly. The only difficulty I have is with the backlight control. I want to reduce the brightness for radeon graphiccard AMD Radeon HD 8570M, but it doesn't work. Here's what I have done so far:
In /sys/class/backlight I found /acpi_video0/ and /acpi_video1/

Code:
echo 5 > /sys/class/backlight/acpi_video0/brightness
result: no change in brightness
Code:
echo 5 > /sys/class/backlight/acpi_video0/brightness
result: no change in brightness

In the kernel line of menu.lst in grub I have added

Code:
acpi_backlight=native
result: no change in brightness possible
Code:
acpi_backlight=video
result: no change in brightness possible
Code:
acpi_backlight=vendor
result: no change in brightness possible
Code:
acpi_backlight=none
result: no change in brightness possible

I also use porteus 3.2.2. with the kernel 4.9.0 There I find in /sys/class/backlight the radeon_bl0 interface.
and with
Code:
echo 120 > /sys/class/backlight/radeon/brightness
added to rc.local the display brightness is reduced to about 60%.

So I think what I need for debiandog is the interface radeon_bl0 in /sys/class/backlight/, but how to get it there? Can I load a module that starts at boot?
Googling didn't give anything new.

If anyone has an idea please let me know. Thanks in advance.

Payoon
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1842
Location: not Bulgaria

PostPosted: Mon 11 Sep 2017, 03:09    Post subject:  

Hi Payoon,

You seem to know what you are doing with this. Just wondered, since acpi_video0 is there, if:

Code:
cat /sys/class/backlight/acpi_video0/max_brightness


and

Code:
cat /sys/class/backlight/acpi_video0/actual_brightness


gives any value as a result?

But from what you say, certainly the problem seems to be something to do with your system using radeon and needing some kind of radeon interface.

I imagine, from what you've already said, that you have read all of (since I've noticed this link is often given for info about such matters):

https://wiki.archlinux.org/index.php/Backlight

EDIT: I notice you twice quoted code:

Code:
echo 5 > /sys/class/backlight/acpi_video0/brightness


but I presume the second try you made was with acpi_video1

EDIT: Maybe installing xserver-xorg-video-amdgpu will provide the solution since that is the one that often provides proper graphics support for radeon (my understanding of what dancytron is suggesting below?) so maybe also (?) do with backlight support too?? (I'm not sure).
I helped someone else out, on this thread, with that video server for graphics support of radeon once before and that was successful, but I don't know much about backlight support - so don't know if that is related:

Code:
apt-get update && apt-get install xserver-xorg-video-amdgpu


and then reboot and try brightness control commandlines again. (Admittedly, I'd be surprised if xserver-xorg-video-amdgpu had anything to do with backlight, but is certainly often used with some radeon-based systems to get graphics itself to work correctly, along with libgl1-mesa... and so on)

Or maybe it is in here (maybe what dancytron alludes to?):

https://packages.debian.org/stretch/firmware-amd-graphics

Ah yes, re-reading dancytron post below, above is what he means/suggests (I've been working flat-out recently so my brain is no longer functioning correcting - to recover I badly need a rest I think...! Lost my ability to read it seems - and others have already kindly commented on my poor English grammar, which is undenied!).

or see here:
https://wiki.debian.org/AtiHowTo

wiak

Last edited by wiak on Mon 11 Sep 2017, 04:49; edited 11 times in total
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1413

PostPosted: Mon 11 Sep 2017, 03:11    Post subject:  

Try installing firmware-amd-graphics .

See this page for more info. https://packages.debian.org/stretch/firmware-amd-graphics

One advantage is to the mklive-stretch script is that you only have to install the drivers that you need. One disadvantage is that you have to install the drivers that you need.

You might want/need to install libgl1-mesa-dri and mesa-utils too.
Back to top
View user's profile Send private message 
Payoon

Joined: 26 May 2010
Posts: 32
Location: Duisburg, Germany on the banks of the Rhine

PostPosted: Mon 11 Sep 2017, 05:52    Post subject:  

@wiak @dancytron
thanks to both of you. I will try all and give feedback.
Payoon
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 11 Sep 2017, 10:30    Post subject:  

Gnome-MPlayer 1.0.7 is a decent media player, but it is getting old. However, OscarTalks has built an updated version of MPlayer for Stretch here that supports newer codecs. Read here for more info.

Edit: Fred has converted this to the new "gmplayer" package in the repos.

-----------------------

Last edited by rcrsn51 on Wed 13 Sep 2017, 06:00; edited 3 times in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 37 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39, ..., 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.0881s ][ Queries: 13 (0.0170s) ][ GZIP on ]