BionicDog (updated: 2018-06-04)

A home for all kinds of Puppy related projects
Message
Author
wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#801 Post by wiak »

@Fred: Following my EDITed above post.

I understand you don't want the reflection up to merged layer when something written direcly to an underlying layer. Doubt its possible with bind alone (but that's just off the top of my head); with aufs maybe the =ro option for the relevant layer prevents further reflection after direct to layer writes? Not sure about that (still to test) or about when overlayfs used instead yet.

EDIT: For overlayfs such change apparently may or may not be reflected - according to kernel overlayfs documentation the result is 'undefined':
Changes to the underlying filesystems while part of a mounted overlay
filesystem are not allowed. If the underlying filesystem is changed,
the behavior of the overlay is undefined, though it will not result in
a crash or deadlock.
EDIT: no I think that for aufs the =ro layer option is only from the point of view of the merge result layer in that it tells aufs whether writes to merge layer can be written directly to relevant lower layer or whether a copy-up of file to writable upper layer is necessary (but again I haven't yet checked this). Basically I presently don't see how to achieve what you want... please let me know if you find solution! :-)

wiak

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#802 Post by wiak »

@Fred: for aufs, it might be something to do with:

Code: Select all

udba=none | reval | inotify

Specifies the level of UDBA (User's Direct Branch Access) test. (cf. User's Direct Branch Access and Inotify Limitation).
so maybe udba=none stops the reflection up (I'm just guessing but will try that).

wiak

EDIT: Nah... I tried:

Code: Select all

cd /mnt/live/tmp
mkdir lower upper overlay
mount -t aufs -o br=/mnt/live/tmp/lower=ro:/mnt/live/tmp/upper=rw -o udba=none none /mnt/live/tmp/overlay
but 'touch lower/filea' still resulted in filea being reflected up and seen in overlay merge.

Also checked:

https://www.thegeekstuff.com/2013/05/linux-aufs/

which talks about meaning of udba options.
====

EDIT: So I can't find a way to make a bind copy that doesn't reflect what is changed in olddir. So neither with bind, aufs,or overlayfs have I found a way to keep say a 'changes' directory read-only whilst a remaster is being performed - I thought a bind,ro would do it, but like you say, it doesn't.

EDIT2: I imagine you could simply do a chroot with the newfoldet inside that protected from changes to outside oldfolder. Or some container technology - for example, pflask that rufwoof mentioned on my recent overlayfs how to thread.

User avatar
PeteAir
Posts: 47
Joined: Fri 01 May 2009, 19:03
Location: Texas

A few small problems with Bionicdog

#803 Post by PeteAir »

This is Bionicdog64.

1.When I go to opt/docs/pictures and right click a .jpg to open with mtpaint I get error cannot open file. When I open mtpaint from the menu and use open file from the bar then files open.

2. Geany will not load from the menu, in terminal I get geany: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
What is the fix?

Thanks Pete

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#804 Post by rufwoof »

Check the /usr/share/applications file for mtpaint.desktop. Not using bionicdog myself but recall that the default mtpaint.desktop used to have something like a %U when it should be a %F as the Exec launch parameter - which caused a problem such as you're experiencing.

Exec=mtpaint %F
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#805 Post by s243a »

rufwoof wrote:Check the /usr/share/applications file for mtpaint.desktop. Not using bionicdog myself but recall that the default mtpaint.desktop used to have something like a %U when it should be a %F as the Exec launch parameter - which caused a problem such as you're experiencing.

Exec=mtpaint %F
As a side note pcmanfm understands URLs pointing to files but in my opinion, rox is better in many ways.
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

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

Re: A few small problems with Bionicdog

#806 Post by fredx181 »

PeteAir wrote:This is Bionicdog64.

1.When I go to opt/docs/pictures and right click a .jpg to open with mtpaint I get error cannot open file. When I open mtpaint from the menu and use open file from the bar then files open.

2. Geany will not load from the menu, in terminal I get geany: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
What is the fix?

Thanks Pete
Hi Pete, for mtpaint 'open with', the fix that rufwoof suggested works, but the error from geany I cannot reproduce, works fine for me on latest BionicDog64 (BionicDog64_2018-06-04-firmware_all.iso)
You use the same BionicDog64 version ?

Fred

User avatar
PeteAir
Posts: 47
Joined: Fri 01 May 2009, 19:03
Location: Texas

#807 Post by PeteAir »

Thanks rufwoof, that fixed mtpaint,
Yes fredx181, that is the same one {BionicDog64_2018-06-04-firmware_all.iso} with pcmanfm+lxpanel, I have searched and have not found anyone else with this geany problem. The only ref. I found to libpcre.so.1 was run as spot for chrom.

Thanks pete

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#808 Post by wiak »

PeteAir wrote:1 was run as spot for chrom.
"spot"... suggests use of BionicPup, not BionicDog? But other description sounds like BionicDog... Maybe I didn't understand the comment about "spot" though.

wiak

User avatar
PeteAir
Posts: 47
Joined: Fri 01 May 2009, 19:03
Location: Texas

A few small problems with Bionicdog (SOLVED)

#809 Post by PeteAir »

Fixed it! Dog was missing the symbolic link from libpcre.so.1 to
libpcre.so.3 located in /lib/x86_64-linux-gnu folder. Once there geany works fine. They way I found this was to look in bionicpup that I have installed on this same laptop.

Thanks pete

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

Re: A few small problems with Bionicdog (SOLVED)

#810 Post by wiak »

PeteAir wrote:Fixed it! Dog was missing the symbolic link from libpcre.so.1 to
libpcre.so.3 located in /lib/x86_64-linux-gnu folder. Once there geany works fine. They way I found this was to look in bionicpup that I have installed on this same laptop.

Thanks pete
That's a bit odd pete. I just did a fresh install of BionicDog64 and geany started fine from the Menu. I also checked with ldd and result was:

Code: Select all

libpcre.so.1 => /lib/x86_64-linux-gnu/libpcre.so.1 (0x00007fdd34a5f000)
So symlink is there in the iso and yes, it is actually a symlink to /lib/x86_64-linux-gnu/libpcre.so.3 (which itself is a symlink to /lib/x86_64-linux-gnu/libpcre.so.3.13.3). The provided geany version is 1.28. I guess you must have accidentally deleted the original symlink somehow.

Anyway, thanks for bringing BionicDog64 thread back up. I've been meaning to upgrade to it from my old XenialDog64 install and now have finally done it. XenialDog was fine but BionicDog comes with iuplua, which I wanted by default (despite it no longer being newest version of iuplua).

wiak

User avatar
PeteAir
Posts: 47
Joined: Fri 01 May 2009, 19:03
Location: Texas

#811 Post by PeteAir »

wiak, I thought it was odd too. The symlink must have got deleted with a program uninstall. I took out firefox, thunderbird, and the email that came in dog. Installed vivaldi deb and it works very well along with palemoon. Overall BionicDog64 is the best of both worlds ubuntu for system/program updates and with a frugal install, no messing with win10 partitions.

pete

dcung
Posts: 242
Joined: Sat 14 Jul 2018, 00:11
Location: Down Under - 3rd rock from Sun.

Startup Script - to start firefox on 2nd monitor.

#812 Post by dcung »

Hi all,
I dedicated a laptop (BionicDog64) with external monitor (TV).
How do I startup Firefox browser on the external monitor (TV) automatically?
If I put in Startup dir, it starts on the laptop monitor. Then I drag it across.
So, I'm after a sample script to put in Startup for this purpose.
Something equivalent to start maximized (in MS Windows) on 2nd monitor (TV). Thanks.

http://murga-linux.com/puppy/viewtopic.php?t=116420

User avatar
mouldy
Posts: 663
Joined: Wed 04 May 2005, 21:47

#813 Post by mouldy »

Finally got around to trying this dog. 32bit one with firmware. I rather like it and its nice having apt-get in a Puppy-like system.

But it was bit hassle to get online. It only has Peasy Wifi and no ppp. My only way of connecting is tethering to a 3G cell phone. I either need ppp and pppconfig or connman with oFono plugin.

So to get going I tethered LxPup to cell phone, then created a hotspot. Connected Dog to that hotspot with Peasy and used apt-get to install ppp and pppconfig. Ppp seemed to add wvdial for some reason. But hey the more the merrier, since it had wvdial, added gnome-ppp. Anyway it now can tether.

And believe it or not apparently there are still one million people in USA connecting through dialup. They need it too. Yea can be a problem getting broadband in rural areas. Thank you clueless politicians. Only a guess, but imagine those with only dialup mostly use it with an email client for text emails??? Dialup is pretty unusable for much surfing unless its some non profit site with static html like in the old days.

But friendly suggestion that you either include ppp and pppconfig or else make them available as a complete package with necessary dependencies for those needing them. Pretty small but painful to try and do manually piecemeal. Tethering at bare minimum, either requires ppp or as an alternative, connman with oFono plugin which has its own stack so no need for ppp. I have played some with oFono but without a small tool called cmcc, have been unable to get it working. cmcc was only available in some now deprecated ubuntu only package that included all three necessary bits. Just not lot good clear info on using connman with oFono for the actual low end user. Least not using it without cmcc.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#814 Post by rufwoof »

mouldy wrote:And believe it or not apparently there are still one million people in USA connecting through dialup.
SDF, for instance (who have over 50,000 dialup numbers spread across the US/Canada), charge around $7/month for dialup ssh access, add that on top of perhaps $25/month for a unlimited calling plan and the 'sacrifice' is perhaps just bandwidth/speed (similar cost to broadband). You can do a lot with just ssh/textual, Unix after all is based upon everything is a text file. ssh redditbox.us for instance (you can read but not post with that ... but there are equivalents that cater for both reading and posting). Text based Google searches, Twitter ...etc. then there's mail lists, bboards (that more usually are void of the crap/idiots and instead are much more friendly/helpful). With a reasonable text user interface you're mostly foregoing the multimedia web page https (that google fundamentally owns) 'experience' - that often are unwanted adverts. For the multimedia that you do want to view/see then they can still be downloaded/viewed if desired, but on a on-demand basis rather than it all being thrown at you, wanted or not.

Even with high speed/bandwidth mostly I just use X in order to use chrome and often where I could just use my phone to do the same easier/quicker, but with a smaller (uncomfortable) display. Much of my other online activities are via text user interface, without all the other advert blitz. But yes for the younger generation multimedia tends to be the magnet (as a family we get through around 30GB/day of downloads).

Anther factor is its less addictive. Many might get towards the end of their life and regret having missed so much of real world experiences, instead of wishing they'd spent even more time staring at their phone. Sometimes at home I look around at my kids and their friends all silently staring at their phones, and where they even message each other from across the room rather than look up and talk directly to each other.
Image
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
mouldy
Posts: 663
Joined: Wed 04 May 2005, 21:47

#815 Post by mouldy »

rufwoof wrote:Sometimes at home I look around at my kids and their friends all silently staring at their phones, and where they even message each other from across the room rather than look up and talk directly to each other.
Image
I am old man that didnt have kids. Not used to being around them. Got invited to Xmas dinner by son of now deceased couple I was friends with. House full of young people. All staring at their cell phones. It was kinda surreal.

I have a cell phone, rarely make calls and its rudimentary browser so old it doesnt really work. Mostly cause its cheapest internet as this prepaid cell deal allows tethering. I ditched my landline some years ago, it had gotten up to $25 a month for basic local account. Dialup was escalating in price as more and more jumped ship so had just gotten notice it would be $14 a month. I switched to prepaid cell hotspot for internet plus a flip phone for voice. This was about same price per month for 4GB data plus voice as I was paying for landline plus dialup. Dialup had become super annoying with modern websites, not really the pics so much as all the scripts. The old static html sites work just well now on dialup as they did twenty years ago. Same if you use an email client and pop3.

However after losing my flip phone last fall, got to looking at what was available. found a prepaid cell service reseller called Red Pocket. They were having sale late November, early December on prepaid 360 day plan. Unlimited voice, unlimited text, 10GB data per 30 days. AND unlike many, they didnt care if you tethered the phone to computer. Said so on their website. Worked out to $23 a month, less than I paid for basic landline service. They sent me a SIM and I bought a used 3G Samsung Eternity with BADA operating system about 8 year old off ebay. Pristine condition for like $15. I still prefer flip phone to carry in my pocket, but this has proven reliable and easy to tether, doesnt overheat like some if you leave them plugged in to powered usb port for tethering.

I thought texting was kinda stupid when you could just call, but found out one can text to an email account. Can also send text to a phone from an email. So if you are out of data for the month.... but have unlimited texting.... Anyway this Samsung has the touch screen keyboard lot easier to text than the old alpha numeric traditional phone keyboard on the flip phone where every key does three things.

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

#816 Post by mikeslr »

In a way I was prepared for the surreal social system of the current generation, having read "City", a book by Clifford Simak. It was published in 1952 and I first read it in the late '50s, early '60s. Of course, he got the details wrong. The term "internet" wasn't used -- it didn't exist at that time. IIRC, Simak's analog was based on Ham Radio.

City wasn't exactly either a Sci-fi or fantasy novel. Like the 'Old Testament' it was a collection of short stories following a family --and some others-- thru the generations. It's an interesting read. Warning -- the following is a spoiler. You might want to skip it and hunt down a copy of the book on Amazon (used for about $5) or perhaps it's already in the public domain.

Reliance on inter-personal communications through technology while simultaneously avoiding the sharing of personal space ultimately results in species-wide extreme agoraphobia. With the exception of a few atavists, the human race goes extinct. The stories are told by descendants of dogs which have been modified to possess the power of speech; their lack of manual dexterity overcome by self-perpetuating robots. A fitting book for all Puppy aficionados.

User avatar
mouldy
Posts: 663
Joined: Wed 04 May 2005, 21:47

#817 Post by mouldy »

There are handful of Clifford Simak books public domain. But City isnt one of them. Several scammy places offering it "free" if you "register". Pay the man the $5 from legit place.

Here are the public domain ones: https://www.gutenberg.org/ebooks/search ... ford+Simak

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

#818 Post by proebler »

mikeslr wrote:In a way I was prepared for the surreal social system of the current generation, having read "City", a book by Clifford Simak. It was published in 1952 and I first read it in the late '50s, early '60s. Of course, he got the details wrong. The term "internet" wasn't used -- it didn't exist at that time. IIRC, Simak's analog was based on Ham Radio.

City wasn't exactly either a Sci-fi or fantasy novel. Like the 'Old Testament' it was a collection of short stories following a family --and some others-- thru the generations. It's an interesting read. Warning -- the following is a spoiler. You might want to skip it and hunt down a copy of the book on Amazon (used for about $5) or perhaps it's already in the public domain.

Reliance on inter-personal communications through technology while simultaneously avoiding the sharing of personal space ultimately results in species-wide extreme agoraphobia. With the exception of a few atavists, the human race goes extinct. The stories are told by descendants of dogs which have been modified to possess the power of speech; their lack of manual dexterity overcome by self-perpetuating robots. A fitting book for all Puppy aficionados.
Thanks mikesir for the reference
I too have read 'City' a long time ago, never forgot the talking dogs, but lost who wrote the stories and the title of the book.
The library here in TAS has a copy, I placed it on hold and so will be able to read it again, refresh the memory and find out whether the fascination is still there for this old Puppy aficionado.
.

User avatar
mouldy
Posts: 663
Joined: Wed 04 May 2005, 21:47

#819 Post by mouldy »

I must be getting senile. That wvdial suddenly appearing was bothering me, it shouldnt install with ppp.

Trick is I had first downloaded the version without firmware first. It definitely doesnt have wvdial nor ppp. But seems the version with firmware does. Why apt-get didnt tell me I already had the latest version ppp, dont really know.

So apologies to whomever it may concern. My mistake.

futuretom
Posts: 6
Joined: Sat 22 Dec 2018, 13:02

cinnamon

#820 Post by futuretom »

I'm running the cinnamon version and I'm having a hard time replacing nouveau with nvidia. I noticed that sessionctl says I'm logged in to a tty session. Shouldn't that be an X11 session? And would this be interfering with my attempt to install nvidia drivers?

Post Reply