DebianDog64 - 64 bit DebianDog-Jessie

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#31 Post by fredx181 »

Thanks William, added rfkill to the Changes and fixes list

The disadvantage of building from scratch is that initially some rather essential packages are not installed, there might be some more I overlooked.

Fred

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

Using Latest Version of Chrome

#32 Post by dancytron »

Hi everyone,

I just finished setting up the latest version of Chrome to run from root (mainly for Netflix).

I downloaded the latest iso and did a manual frugal install as I described before and installed all the stuff I usually install.

I then used Iceweasel to go to the Chrome website and download the Chrome 64 .deb file. When it downloaded, I let it install it directly from Iceweasel.

I found 2 ways to get it to run when logged in as root, I am sure there are more.

The first is to use the --no-sandbox switch. I created the following script and put a link to it on my desktop.

Code: Select all

#!/bin/sh

/usr/bin/google-chrome-stable --user-data-dir=/root/chrome/user --disk-cache-dir="/root/chrome/cache" --disk-cache-size=10000000 --media-cache-size=10000000 --no-sandbox
The other parameters aren't really necessary.

This results in a warning everytime you log on that running without the sandbox isn't safe.

So, I searched and found a way to run it as user puppy.

First, you need to install the package "gksu".

Then, you can create the following script.

Code: Select all

#!/bin/sh

gksu -u puppy "/usr/bin/google-chrome-stable --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"
All the extra parameters aren't actually needed, this will work just fine.

Code: Select all

#!/bin/sh

gksu -u puppy /usr/bin/google-chrome-stable
The first time you use it, you get a warning about changing users without a password, but you can check a box so you don't get that again.

After that, I uninstalled Iceweasel and remastered. During the remaster, I used GDmap to search and delete all the Iceweasel cache and configuration and all the left over Chrome user profiles and caches. I ended up with a 240 MB .squashfs file with Chrome set up and Iceweasel gone.

Edit: I also had to go into pcmanfm, find an *.html file, and add the correct parameters to get Chrome to open local *.html files. See attached. I assume that I'll need to do the same for rox filer.

Probably a better/different way to do this would be to find the wrapper script that Chrome uses and alter it, like some of the people who make Chrome pets and sfs's for Puppy do. I assume if you did that, the same approach I used would still work.
Attachments
debdog-20151217164502.jpg
(41.77 KiB) Downloaded 1637 times
chrome-puppy-gksu3.sh.zip
remove .zip. not really compressed.
(193 Bytes) Downloaded 406 times

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

Re: Thanks

#33 Post by drunkjedi »

mikeslr wrote:Interestingly, drunkjedi suggestion that syslinux might be available in all Pups aroused my curiosity.
I have found that Syslinux comes pre-installed on all Pups, and also on Ubuntu, Debian, Slackware too.
Also can be used on windows too.

So Creating a bootable USB from any PC may be possible with it.

See http://www.syslinux.org/wiki/index.php/SYSLINUX

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#34 Post by mcewanw »

I'm sick at the moment, Fred, so haven't done any further testing as yet. I forgot to check if CPU Freq utilites was installed. I think it should be.

Hopefully I'll get back to testing in a day or two.

Cheers,

William
github mcewanw

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Follow-up on Installing to USB-Key

#35 Post by mikeslr »

Hi Fred & All,

Followed your instructions which went without a hitch. Used the USB-Key to boot into a Dell Latitude E6400. Everything worked OOTB.

It happens I've been exploring the potential of an Acer AspireOne D270, a netbook which, when I acquired it, had a problematic video card. Since then the new Pups I've tried have provided acceptable graphic. As it only came with 1 Gb of RAM, I was researching upgrading that and noticed, in passing, that its specs indicated that it had 64-Bit architecture.

So having a DebianDog64 on a bootable USB-Key, I figured "what the hell."

Booted to desktop without a hitch. The rest of my quick discoveries you can find here as I thought it worth reporting on the Laptop Thread: http://www.murga-linux.com/puppy/viewto ... 446#877446

I must say, you and saintless do some fine work. :D Thanks a lot.

mikesLr

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#36 Post by Atle »

Testet on ASUS U36 with no problems what so ever, apart from the boot option "default", not making it to the desktop.

But once the other options worked and so did the rest. Savefile came out fine and more testing is upcoming.

Very good looking... Very good work

EDIT... The only thing that at least for me is so important is Grub4dos... i could not find it, but i might just not be looking good enough...

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#37 Post by fredx181 »

mcewanw wrote:I'm sick at the moment, Fred, so haven't done any further testing as yet. I forgot to check if CPU Freq utilites was installed. I think it should be.

Hopefully I'll get back to testing in a day or two.

Cheers,

William
Take your time William, all the best.
Indeed cpufrequtils is not included, thanks, added to the fixes and changes list

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#38 Post by fredx181 »

Hi mikeslr,

Thanks for the report!
Booted to desktop without a hitch. The rest of my quick discoveries you can find here as I thought it worth reporting on the Laptop Thread: http://www.murga-linux.com/puppy/viewto ... 446#877446
Reading your post in the laptop thread, a few comments:
- Playing Youtube video from Iceweasel works because of HTML5 support, Flashplayer is NOT included in DD64 iso.
It can be installed however by typing in terminal:

Code: Select all

apt-get install flashplugin-nonfree
Or from Synaptic package manager, search for 'flashplugin-nonfree'
- Sound is set very low at first time boot (without changes saved to savefile/folder)
It can be increased from Menu> Multimedia> Alsamixergui or from volume tray icon (Open Mixer)
I'm not sure I understood well you have problem with it, just mentioning anyway.

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#39 Post by fredx181 »

Hi Atle,

Thanks for your reply, glad you like it!
EDIT... The only thing that at least for me is so important is Grub4dos... i could not find it, but i might just not be looking good enough...
You probably mean grub4dosconfig? It's not included in DebianDog64.
Just for info, the DebianDog Installer (included) has option to create grub4dos MBR and menu.list with grldr to make bootable usb or hdd (also there's choice to use syslinux or extlinux bootloader).
But it's only for DebianDog frugal install.
What do you need grub4dosconfig for on DebianDog?
Asking because I'm just curious as I think it's more specific to Puppy, I tried it already on DD, and noticed it doesn't find any DD installs for some reason.

Fred

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Corrected post on Laptop thread

#40 Post by mikeslr »

Hi Fred,

I corrected my wrong guess about flashplayer on the Laptop thread, quoting your instructions.

I had figured out how to increase sound volume. My comment about "tinny" was perhaps a misguided attempt at humor only owners of the Acer AspireOne D270 might get. On par with its choice of an odd-ball graphic card, tinny is a consequence of the low-end sound card chosen by Acer to keep its production costs down. It was marketed at about $150 below the cost of high-end netbooks: a solid and useful machine, but don't expect perfection.

No OS I've run on it produces better sound quality. In fact, DD64 --at least in terms of volume control-- surpass several I've tested.

mikesLr

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Re: Corrected post on Laptop thread

#41 Post by fredx181 »

mikeslr wrote:Hi Fred,

I corrected my wrong guess about flashplayer on the Laptop thread, quoting your instructions.

I had figured out how to increase sound volume. My comment about "tinny" was perhaps a misguided attempt at humor only owners of the Acer AspireOne D270 might get. On par with its choice of an odd-ball graphic card, tinny is a consequence of the low-end sound card chosen by Acer to keep its production costs down. It was marketed at about $150 below the cost of high-end netbooks: a solid and useful machine, but don't expect perfection.

No OS I've run on it produces better sound quality. In fact, DD64 --at least in terms of volume control-- surpass several I've tested.

mikesLr
Ah.. I see.

@Atle

I added grub4dosconfig to the repository.
Install from terminal:

Code: Select all

apt-get update # Refresh package list info
apt-get install grub4dosconfig
Or from Synaptic
It's a slighly older version (1.8.9) as the latest.
Latest v 1.9.2 somehow doesn't scan my puppy installs properly.

Fred

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#42 Post by Atle »

Wow... that was quick

I just think grub4dos is one of the reasons puppy rocks.. it give me a simple way to control various installations etc

THANKS FRED

atle

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#43 Post by Atle »

GTK Youtube issue

when i tested it, the program just stopped in the middle of the first video.
It reported to have stopped and i was asked to terminate it.

just as that was done the second issue occurred:

Then my Wlan connection started to play ping pong... Going on and off as for the connection. ...

more testing will be done...

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#44 Post by fredx181 »

Atle wrote:GTK Youtube issue

when i tested it, the program just stopped in the middle of the first video.
It reported to have stopped and i was asked to terminate it.

just as that was done the second issue occurred:

Then my Wlan connection started to play ping pong... Going on and off as for the connection. ...
Hi Atle,

I suspect that the video play error from gtk-youtube-viewer has to do with the dropping of your internet connection.

I have the same problem Wlan falling out, but only sometimes, my wifi adapter is iwlwifi, what's yours?

Can you test other frisbee version? To see if it's any better
The only change is that I added higher dhcpcd binary version.

Install from terminal (will be upgraded as I added higher frisbee version to repository):
apt-get update
apt-get install frisbee


EDIT: Sorry changed my mind about above, better add packages for testing not to the repo, instead download:
< removed link >
After that you'll need to setup wireless connection again because the earlier saved wireless profile has been removed.
Edit1: Removed the link above as it doesn't seem to solve anything from my further tests.

To get back to the previous (included) version:

Code: Select all

apt-get install frisbee=1.2-20140602
EDIT2:
This might help (for iwlwifi) from terminal as root:

Code: Select all

echo "options iwlmvm power_scheme=1" | tee /etc/modprobe.d/iwlmvm.conf
echo "options iwlwifi bt_coex_active=Y swcrypto=1 11n_disable=1" | tee -a /etc/modprobe.d/iwlwifi.conf
Taken from here:
http://askubuntu.com/questions/571236/1 ... et-renewed

EDIT3:
By more testing the above doesn't work (at least for me), here's a pretty workaround/fix for frisbee in case you experience wireless drop-outs:
http://murga-linux.com/puppy/viewtopic. ... 313#878313

Fred
Last edited by fredx181 on Wed 23 Dec 2015, 19:13, edited 1 time in total.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#45 Post by dancytron »

I think you are missing the package gpart. I tried to use gparted to rescue data on a thumb drive and it said it was missing. After I installed it, then it worked.


Dan

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#46 Post by fredx181 »

dancytron wrote:I think you are missing the package gpart. I tried to use gparted to rescue data on a thumb drive and it said it was missing. After I installed it, then it worked.


Dan
That's very strange, I included gparted in iso.
Did you try from terminal?: gparted

Edit: Sorry, yes, "gpart" is missing indeed, I just thought at first you couldn't run gparted, added gpart install to Changes and fixes list
Thanks!

Fred
Last edited by fredx181 on Wed 23 Dec 2015, 21:27, edited 1 time in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#47 Post by fredx181 »

Upgrade of package 'frisbee' to version 1.2-20140602dd64-mod
Fixed:
Modified /usr/sbin/dhcpcd_dropwait_option script so that it makes proper use of the "dropwait" -j switch from dhcpcd (which is included in in frisbee package)
This way wireless connection will reconnect directly (if dropped connection) instead of the whole restarting network process.
See some more about "dropwait" here:
http://murga-linux.com/puppy/viewtopic. ... 288#803288
In DebianDog 32 bit, it's OK as it is because it has slightly different version of dhcpcd (dropwait -j switch works well).


Install from terminal:

Code: Select all

apt-get update # update package list info
apt-get install frisbee # will upgrade to latest version
Added to Changes and fixes list

And edited post about this subject here:
http://murga-linux.com/puppy/viewtopic. ... 748#877748

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#48 Post by fredx181 »

Hi All,

See Changes and fixes list
for "Added new to DebianDog64 repository" and "Added new to DebianDog64 Extra-Modules for loading with SFS-load", e.g:
- slimjet, Slimjet is a fast, smart and powerful web browser based on the Blink engine

Fred

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#49 Post by Atle »

what will be the chance of there being a 32 and 64 bits Debdog that looks just the same and can both run the unstable branch of Scribus(1.5)

http://www.scribus.net/downloads/unstable-branch/

I am really looking for such a solution. the 32 bits is the primary, but also having full breed 64 bits would be nice


atle

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#50 Post by fredx181 »

Hi Atle,
what will be the chance of there being a 32 and 64 bits Debdog that looks just the same
Who knows, but I guess little chance, because DebianDog is Toni's project (specially Jwm version) and he hasn't got the hardware for running/testing 64 bit.

Fred

Post Reply