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 23 Oct 2018, 03:11
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
BionicDog (updated: 2018-06-04)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 38 of 44 [653 Posts]   Goto page: Previous 1, 2, 3, ..., 36, 37, 38, 39, 40, 41, 42, 43, 44 Next
Author Message
josepinto

Joined: 19 Aug 2006
Posts: 38

PostPosted: Fri 21 Sep 2018, 10:37    Post subject:  

Hi Fred,
fredx181 wrote:
josepinto wrote:
I see pet2debconvert as right-click option in other pets but not on Pmusic, wich means the problem must be with this pet.


Maybe try from terminal then, e.g.:
Code:
pet2deb-convert /path/to/pmusic.pet


Quote:
Regarding apt2sfs, i did add this PPA:
ppa:quiterss/quiterss

and it is listed in /etc/apt/sources.list.d


Yes, I see now, apt2sfs makes use of the regular sources.list only, should be fixed now in newer version 1.1.3, install:
Code:
apt-get update
apt-get install apt2sfs    # installs v1.1.3


Fred


I cannot instal Pmusic with pet2deb-convert even from terminal.
What I did was extract the pet to a folder and use the folder to make a deb file.
I was the able to install Pmusic with the only drawback that it appears in the start menu in the category Other.

pet2sfs works now as I intendend.
I added the PPAs to Quiterss and Keepassxc and was able to make sfs with the versions from the PPAs.

José Pinto
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 363

PostPosted: Fri 21 Sep 2018, 10:39    Post subject:  

Hi.

My knowledge about Puppy is fragmented and so it is about the Dogs. I need to know the "boot path" of BionicDog.

E.g. Puppy: init --> /etc/rc.d -->/etc/profile --> ?? --> xwin --> graphical desktop.

How does BionicDog exactly?

Also about /etc/rc.d/PUPSTATE:

Is there a similar file in BionicDog containing similar information like it is stored in PUPMODE, PUPSFS ... of /etc/rc.d/PUPSTATE?

Thanks.

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


Joined: 11 Dec 2013
Posts: 3485
Location: holland

PostPosted: Fri 21 Sep 2018, 12:29    Post subject:  

Hi Rainer,

Quote:
My knowledge about Puppy is fragmented


Perhaps for me even more so I can't really compare.
Quote:
E.g. Puppy: init --> /etc/rc.d -->/etc/profile --> ?? --> xwin --> graphical desktop.

That would be something like:
Dog init --> /etc/init.d (and symlinks in rc0.d, rc1.d, rc2.d etc..) -->/etc/profile --> ?? startx --> graphical desktop
But there's also systemd involved, so not as simple as above.

Quote:
Also about /etc/rc.d/PUPSTATE:

Sorry, I don't know enough about that, there's similar info in the porteus boot scripts and config files.
Maybe I can try to answer better if you say why you'd like to know, what to accomplish ?

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 363

PostPosted: Fri 21 Sep 2018, 15:32    Post subject:  

Hi Fred.

Re: the /etc/rc.d/PUPSTATE

I'm using e.g. PUPSFS from /etc/rc.d/PUPSTATE to create some global variables / environment variables at boot ($MYBOOTDIR, $MYBOOTPRT, $MYRSHROXAPPS etc.). These environment variables gives easy access to my external Scripts, Programs and RoxApps, no matter what the boot device is named (sda1, sdb3 etc.pp.).

That way I can run programs from .sfs modules just by a menu entry (like it would be installed) without to have the .sfs loaded (load and run is automated then).

I would like to add these features to my BionicDog Audio Studio.
Screenshot-2018-09-21-21-24-35.jpg
 Description   
 Filesize   53.66 KB
 Viewed   250 Time(s)

Screenshot-2018-09-21-21-24-35.jpg


_________________
RSH
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Fri 21 Sep 2018, 16:39    Post subject:  

fredx181 wrote:
@dcung, run with sudo, e.g.
Code:
sudo fatdog-drive-icon-mount-helper.sh /dev/sdb1 /mnt/sdb1


EDIT: Or gsu (graphical sudo) may suit your needs better.
Code:
gsu fatdog-drive-icon-mount-helper.sh /dev/sdb1 /mnt/sdb1

Thanks Fred, forgot to mention that I need it to run unattended like last time (in Startup).
But I remember that I can pipe the password, so modified your suggestion a little and problem resolved. Smile


ITSMERSH wrote:
Probably this will help?
Include this code
Code:
# Who am I?
[ "`whoami`" != "root" ] && exec sudo -A ${0} ${@}

on top of the script.

Thanks ITSMERSH... Smile
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3485
Location: holland

PostPosted: Sat 22 Sep 2018, 07:19    Post subject:  

dcung wrote:
Thanks Fred, forgot to mention that I need it to run unattended like last time (in Startup).
But I remember that I can pipe the password, so modified your suggestion a little and problem resolved. Smile


Piping password is not very secure, just a tip:
You can add exceptions for sudo asking for password if the user is added to group "wheel"
Maybe you have file: "/etc/sudoers.d/user_wheel" already, content for me is:
Code:
%wheel ALL= NOPASSWD: /sbin/shutdown, /sbin/reboot, /sbin/poweroff, /usr/bin/wmpoweroff, /usr/bin/wmreboot, /usr/bin/save2flash, /usr/sbin/pm-suspend

So, for example, if you have fatdog-drive-icon-mount-helper.sh in /usr/local/bin :
Code:
%wheel ALL= NOPASSWD: /sbin/shutdown, /sbin/reboot, /sbin/poweroff, /usr/bin/wmpoweroff, /usr/bin/wmreboot, /usr/bin/save2flash, /usr/sbin/pm-suspend, /usr/local/bin/fatdog-drive-icon-mount-helper.sh

Then after logout (type logout at the console) and back in (or after reboot), you should be able to use:
sudo fatdog-drive-icon-mount-helper.sh
And there will be no prompt for password.

EDIT: If you create such a file in /etc/sudoers.d/, it must have permissions 0440

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3485
Location: holland

PostPosted: Sat 22 Sep 2018, 07:42    Post subject:  

ITSMERSH wrote:
Re: the /etc/rc.d/PUPSTATE

I'm using e.g. PUPSFS from /etc/rc.d/PUPSTATE to create some global variables / environment variables at boot ($MYBOOTDIR, $MYBOOTPRT, $MYRSHROXAPPS etc.). These environment variables gives easy access to my external Scripts, Programs and RoxApps, no matter what the boot device is named (sda1, sdb3 etc.pp.).


There is not one file like PUPSTATE with all info inside, but there are several.
Look in /mnt/live/etc and /mnt/live/tmp

Some scripts use for example /mnt/live/etc/homedrv that reflects the frugal install dir, and e.g:
Code:
hdrv=$(cat /mnt/live/etc/homedrv | cut -d'/' -f3)
echo $hdrv

Will give the boot partition.

Also there's log file '/var/log/porteus-livedbg' with info that can be used to extract variables maybe.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 363

PostPosted: Sat 22 Sep 2018, 16:12    Post subject:  

Hi Fred.

Thanks for the reply. At least there's something I could use to achieve some of my goals. Just as a side note: all those files containing '//' in the path of $MYBOOTDIR
Code:
#  data found in:
/mnt/sda1//BionicDogClean/casper

/mnt/sda1//BionicDogClean/casper

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


Joined: 11 Dec 2013
Posts: 3485
Location: holland

PostPosted: Sat 22 Sep 2018, 16:30    Post subject:  

ITSMERSH wrote:

all those files containing '//' in the path of $MYBOOTDIR


Yes, but that never gave me any problems to extract from it.

_________________
Dog Linux website
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Sun 23 Sep 2018, 01:58    Post subject:  

fredx181 wrote:
Piping password is not very secure, just a tip:
You can add exceptions for sudo ....


Yes, I am aware of security implications.
I also came across ways of using sudo exceptions while researching the issue.
Thank you for these tips and advise, but for this one laptop concerned, I have nothing of value. Smile
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 2656
Location: Cradle of Humankind

PostPosted: Sun 23 Sep 2018, 04:41    Post subject:  

Is this a Puppy? What can I expect differently as far as operating is concerned. Will one be able to use Puppy scripts, for example Puppy's remaster scripts, etc. It seems newer than the newest released official Puppy (is that Xenial, I'm getting totally confused). I see a Bionicpup has been released (albeit in beta phase), how is that different?
Last edited by nic007 on Sun 23 Sep 2018, 04:55; edited 1 time in total
Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 399
Location: Yugoslavija

PostPosted: Sun 23 Sep 2018, 04:48    Post subject:  

regards

it is light ubuntu, and light debian,
but much better... it can use puppy scripts sometimes...
it has quick remaster in lz4 compress.
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 2656
Location: Cradle of Humankind

PostPosted: Sun 23 Sep 2018, 04:57    Post subject:  

zagreb999 wrote:
regards

it is light ubuntu, and light debian,
but much better... it can use puppy scripts sometimes...
it has quick remaster in lz4 compress.

What does it do "much better"?
Back to top
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 923
Location: Mid-mitten

PostPosted: Sun 23 Sep 2018, 07:14    Post subject:  

Hmm... to me, I wouldn't necessarily say "better" - just different. And no - it's not a Puppy.

Nic - have you ever ran a traditional install of Ubuntu/Debian? The Dogs are pretty much exactly that - pure Ubuntu/Debian - but with the added Puppy-like capability of running (frugally and speedily) from a flash stick with persistence, along with a host of it's own (Fred's) custom scripts/tools/programs. No need for Puppy-based remastering tools at all - the Dog's remastering tools are simple, flexible and fast (superior even, I'd say).

Packages are handled by the tried-and-true, very powerful tool "apt" (using Synaptic as the GUI front-end) - which seamlessly takes care of dependencies, install logs, package cleanup/purging, official updates, etc. - directly accessing the huge, constantly updated and maintained repos of Ubuntu/Debian. Things just work - no hunting down Puppy-specific, specially-compiled packages. Just click and go. The biggest downside to that seems to be size - starting from a small, minimal .iso, things tend to grow in a hurry when installing apps & building up a personalized system... resolving all of those "official" dependencies.

Pound-for-pound, I'd say Puppy is more capable/powerful... out-of-the-box. It's in adding more traditional, popular apps to that base where the tables turn in the Dog's favor, IMHO. At least in terms of ease, available applications and consistency, anyway.

So a bit of a trade-off, I suppose. But simply fantastic in it's own way, and definitely worth the effort up front to give it/them a try. I think it's my favorite Linux distro of all time, actually - so flexible, modifiable, powerful (even for a muddle-headed non-techie like myself). Again, just like straight-up Debian/Ubuntu... but flyin' along from a thumb drive!?! Shocked Just too cool... Cool

Burn a disc, and get busy. Smile

Just my humble opinion - YMMV.

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

Joined: 11 Apr 2014
Posts: 399
Location: Yugoslavija

PostPosted: Sun 23 Sep 2018, 07:35    Post subject:  

MUCH BETTER means:

debiandog and xenialdog can instal ALL apps
from debian and ubuntu-
over 50000 apps...
it is more faster because of lz4 compression...
remaster in 10 sec....
and MUCH, MUCH MORE!!!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 38 of 44 [653 Posts]   Goto page: Previous 1, 2, 3, ..., 36, 37, 38, 39, 40, 41, 42, 43, 44 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.1515s ][ Queries: 13 (0.0587s) ][ GZIP on ]