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 20 Sep 2018, 22:33
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64-720 and 721 Final [11 Jan 2018]
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 22 of 26 [387 Posts]   Goto page: Previous 1, 2, 3, ..., 20, 21, 22, 23, 24, 25, 26 Next
Author Message
dcung

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

PostPosted: Sun 12 Aug 2018, 17:34    Post subject:  

Hi all,

Looking to install PIA vpn.
I don't think this is Fatdog64 specific issue, but I'm installing it on Fatdog64.

http://murga-linux.com/puppy/viewtopic.php?p=1001913
Back to top
View user's profile Send private message 
jake29

Joined: 24 Jul 2015
Posts: 163

PostPosted: Thu 16 Aug 2018, 13:37    Post subject:  

Anniekin wrote:
anybody got a blue light filter working for fatdog?

I use Redshift (available via Gslapt) (Automatic Startup tutorial) without issue in Fatdog64-721.
Back to top
View user's profile Send private message 
Anniekin


Joined: 24 Feb 2009
Posts: 245

PostPosted: Thu 16 Aug 2018, 23:06    Post subject:  

Thanks, I didn't think there would be one in gslapt already, nice!
Back to top
View user's profile Send private message Visit poster's website 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Tue 21 Aug 2018, 13:08    Post subject:  

Burned FD 721 to a DVD-R and using that to save changes (multi-session LiveCD). Working well on my Acer Aspire Phenom X4 2GB with onboard Radeon ATI. Event Manager RAM save interval was set to 0 so to only save when the desktop Save icon is clicked and after several saves and reboots everything I've used so far has all worked well. Only thing I've added is xterm (native, as I prefer that over urxvt).

The boot message does say that it should be a +RW DVD, as I understand it +RW would enable the same DVD to be reused i.e. once its filled up, use pburn or whatever to clear the DVD and then re-write the FD 720 ISO image to that, and then click the desktop Save icon to save the latest snapshot/changes to that, but I'm happy to reuse another -R (in having a bundle of them laying around) that are write once only, but was wondering whether I shouldn't be using a DVD-R at all given the boot message? EDIT: I was confusing drive and disc here. RW drive is needed (in order to burn etc.), a DVD-R disc however works for saving multi-sessions (a rewriteable disc can be re-burnt freshly, DVD-R is write once only, cannot be erased).

Also, in Puppy multisession you can use something like pfix=1 to ignore the last saved session (or pfix=2 to ignore the last 2 sessions ...etc), but having looked through the FD documentation for boot parameters I see no such equivalent for FD?

Another question/observation - as multisession LiveCD is the least easily edited for boot parameters, would it not make more sense to have that as the default boot case. All other boot choices can more easily change that default choice (by editing grub.cfg or isolinux.cfg ??) being on rw media? As-is I have set BIOS to boot CD as the first choice, but then have to wait for BIOS mem checks ..etc. (a while) before the FD boot menu pops up and then arrow down to the multisession boot choice, otherwise it defaults to standard boot default choice ... and then wait for all the rows of dots as ram is loaded. If multisession was the default choice then I could do my more usual action of just pressing the power-on button and going off to make a brew and return with the desktop ready to go. I appreciate that multi-session is a less used choice, however its relatively trivial for the other boot choices to change that whereas that's not the case for multisession LiveCD.

EDIT: The way I addressed it was to update gslapt and install isomaster (surprised that isn't in the base FD system as its pretty small/light - but very useful), using isomaster open the FD iso and edit the isolinux.cfg/grub.cfg to set fatdog-multi as the default boot choice. Save that edited version and burn it to DVD, and then click the desktop 'save session' icon to save all changes to that newly burnt DVD. Now, in having CD/DVD set as my first boot choice in BIOS, pressing the power-on with the FD DVD inserted has it boot straight to desktop (multi-session LiveCD boot) without any other intervention being required (and presumably the same if there's a power-cut/restore).

_________________
( ͡° ͜ʖ ͡°) :wq

Last edited by rufwoof on Thu 23 Aug 2018, 06:55; edited 4 times in total
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Tue 21 Aug 2018, 16:28    Post subject:  

Pup ad blocker is a nice touch IMO. Couldn't find one in FD so I appended https://github.com/StevenBlack/hosts to my /etc/hosts .. pretty much as good as ad-block.

Also added a xrdb -merge $HOME/.Xdefaults ... command to .xinitrc if a users home folder contains .Xdefaults (I like to use xterm (native) and have a .Xdefaults file content that makes that look/work nicely).

Changed the default # prompt in /etc/shinit to something nicer

I've backed up a copy of the fatdog iso to DVD, and with quite a few saves already having been made, up to around 873MB of the 4.7GB of DVD disk space having been used.
s.png
 Description   
 Filesize   100.99 KB
 Viewed   390 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Wed 22 Aug 2018, 09:32    Post subject:  

Nice to see sshfs-fuse installed by default Smile. Connecting to my local file server (OpenBSD based running on a old single core Celeron PC) and opening a rox window in FD etc. and all looks good/works well.
s.png
 Description   
 Filesize   170.53 KB
 Viewed   348 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Wed 22 Aug 2018, 10:03    Post subject:  

tmux from 700 (here http://distro.ibiblio.org/fatdog/contrib/packages/700/) seems to work OK in 721 - best as I can tell (multiple windows, multiple panes, switching between them ...etc.).

Personally I like a ~/.tmux.conf of ...

Code:
bind-key -n F12 next-window
bind-key -n F11 new-window
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-fg yellow

unbind C-b
set -g prefix `
bind-key ` send-prefix

That sets a nicer colour for the current window (tab), has F11 add a new window, F12 step between windows, and resets the ctrl-b command key to instead be the backtick (execute) key. You can still type a execute/backtick in say a script, but you just have to press the key twice.

I normally create a launch script something like
Code:
#!/bin/sh
#
# My tmux initialisation script to initialise tmux windows
#

# start a tmux session, detach
# then send commands to that before reattaching to it
# Note that C-m is carriage return (enter)

# create a tmux session called work, and deattach so we can send keys to it
# Create the first window and load htop into that ...
tmux new -s work -d
tmux rename-window -t work htop
tmux send-keys -t work 'htop' C-m

# Add another tmux window
tmux new-window -t work

# and finally select which window to show first and attach to the tmux work session
tmux select-window -t work:0
tmux attach -t work

Personally I prefer one window per program (and step between them using F12). Others like to have multiple panes in a single window and zoom/unzoom toggle those panes to maximised/restore.

A great thing about tmux is you can start a session - such as a long compile, detatch and then later reattach again - even from another device (anything that can ssh into the server/box). Two or more of you can also ssh into the same box using the same userid and attach to the same tmux session ... so for instance as a form of collaboration setup (all see the same screens and can type into the windows etc.). Yeah I know you can do the same using nohup, &, jobs. fg ... etc. but tmux is lightweight, quick and looks nice.

I like xterm for its ctrl left/middle/right mouse button options, you can for instance full screen the xterm using one of the ctrl-left mouse press actions. mc with the left pane set to tree, right pane set to lynx style (so left/right arrows takes you up/down directories, up/down arrow steps through a directories entries) works well IMO. I like the gotar theme personally.
s.png
 Description   
 Filesize   152.54 KB
 Viewed   326 Time(s)

s.png

s.png
 Description   
 Filesize   108.86 KB
 Viewed   330 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Wed 22 Aug 2018, 16:39    Post subject:  

First link on file:///usr/share/doc/faqs/huge-initrd.html points to http://barryk.org/puppylinux/download/release-2.16.htm - but that's a dead link.

I've split out fd64.sfs from initrd and my BIOS based multi-session LiveCD boot time has halved - down from around 5 minutes (power-on to gui desktop), down to around 150 seconds (which includes loading the basesfs into ram) Smile

isolinux.cfg modified to include the basesfs parameter
Code:
label fatdog-multi
linux vmlinuz
initrd initrd
append rootfstype=ramfs basesfs=ram:local savefile=direct:multi:sr0

_________________
( ͡° ͜ʖ ͡°) :wq

Last edited by rufwoof on Thu 23 Aug 2018, 08:11; edited 1 time in total
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1085

PostPosted: Wed 22 Aug 2018, 16:52    Post subject:  

@rufwoof, thanks for sharing your tmux experience. I can't begin to count the times I've started to teach my fingers tmux, and then given up. My main motivation would be to use vim and shells all together in the same terminal window, something tmux is very good at. But I'm so well adjusted to using gvim and tabbed urxvt instead, that my motivation for tmux falters. Eventually, I'll get there.

I built a recent tmux git commit. Attached. I think it's quite different from the 1.9 version that was built for Fatdog 700.
tmux-2.6_2018.03.08_9fd9952-x86_64-1.txz.remove.gz
Description  Delete ".remove.gz" and install with installpkg.
gz

 Download 
Filename  tmux-2.6_2018.03.08_9fd9952-x86_64-1.txz.remove.gz 
Filesize  189.4 KB 
Downloaded  17 Time(s) 

_________________
Fatdog64-721|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Wed 22 Aug 2018, 19:28    Post subject:  

Thanks Step. Seems to work great.

Another nice change in .tmux.conf is to remap the pane keys to | for a vertical split and - for a horizontal split. Far better than the " and % defaults IMO.
Code:
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %

Along with the control key mapped to the backtick/execute key its a relatively easy to remember set of backtick - to split horizontally, backtick arrow keys to switch between them, backtick z to zoom/unzoom a pane. At least that comes a lot easier to me to remember/use than the standard default set. A little awkward having to hit backtick twice when you want to add a execute quote in a script, but that soon becomes 'natural'. If you instead map the | to \ then that saves having to hit shift also. Or - and = is also nice for being close to each other (left pinky hitting backtick, right hand used for - = vertical/horizontal splits and arrow keys to flip between panes).

I quite like mc and its internal text editor, easier for editing IMO and works well over ssh links IME. But as ever whatever you're most familiar with is the easier choice.

The PS1 prompt I use is to edit /etc/shinit as per the following snippet
Code:
case $- in                                                                                                   
        *i*)                                                                                                 
                # interactive configurations - prompt, history, etc                                           
                # TERM, USER and LOGNAME is already set by login/su                                           
                PS1="$USER$ "; [ $USER = root ] && PS1="\[\e[34;1m\]Pwd: \[\e[36m\]\w\n\[\e[31;1m\]\u@\h> \[\e
                HISTFILE="$HOME/.history"       # ensure all shells use the same history 

That shows pwd and the current folder (in blue), with the userid and machine as the main prompt below that (red).

Thanks again.
s.png
 Description   
 Filesize   35.77 KB
 Viewed   277 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Thu 23 Aug 2018, 07:46    Post subject: Samba  

The FatDog help for file sharing file:///usr/share/doc/faqs/sharing.html outlines FTP, HTTP and Samba methods. Personally I use yet another alternative i.e. sshfs (or just straight ssh/scp ...etc., which includes the ssh -X ability to run X gui programs/windows (i.e. run a program such as galculator on the remote, see the galculator window on your local desktop)).

For that I have a OpenBSD base system only box, running on a old single core Celeron box, that I can sshfs mount as a local folder (so files can be viewed using rox or whatever). OpenBSD takes just minutes to install (cli based installation process) and its base system is very secure - and also includes X, http, mailserver ....etc. as part of the base system).

In effect I'm (trial) running fatdog (linux) and openbsd as a combined 'system' where fd is the desktop and openbsd stores my most invaluable stuff (data/docs etc.) and where that data is only accessible if you know both the userid and password (making brute force attacks that more difficult). Not even root on the desktop system can access/mount that data without knowing both the appropriate userid and password, and it can be mounted/unmounted on a as needed basis (such as not being mounted whilst also browsing the internet).

I know little about Samba but believe that is better if you desire to share with Windows based systems. FD seems to have Samba shares all ready to go out of the box so conceptually other Window PC's on our local LAN could be linked in (FatDog be used as a form of bridge - have both Samba and sshfs running).

Note how in the following image the desktop system is just a DVD only (FatDog 721 Liveboot multisession DVD). via sshfs however and used disk space on the OpenBSD box shows around 33GB of disk used, leaving around 300GB remaining on that particular OpenBSD box. When not mounted that data can't be seen via port scans, and not even FatDog root can mount it without also knowing the particular link (IP), userid and password, so even if the browser running as spot was hacked ... and the hacker managed to elevate to root via a bug in one of the programs/services being run as root, then if the data wasn't mounted that remains pretty safe from such a compromised session. Running from a read only (write once) LiveCD (DVD) and mostly just shutting down without saving further inhibits a hacker achieving persistence of their breach across reboots. Yet there's considerable flexibility, for instance open up (port forward) the ssh port on the OpenBSD box and it can be accessed from anywhere in the world from most devices (small ssh client programs for smartphones ...etc.). I use a (free) dynamic domain name for that purpose (associates a fixed domain name to a variable IP address).
xscreenshot-20180823T112006.png
 Description   
 Filesize   196.79 KB
 Viewed   253 Time(s)

xscreenshot-20180823T112006.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Thu 23 Aug 2018, 09:02    Post subject: Theme  

Not being familiar with FD I struggled some to figure out how to change the panel theme. The first was figuring out that the panel is a lxqt panel - which led to the discovery that under /usr/share/lxqt/themes there are two choices. Modifying /root/.config/lxqt/lxqt.conf theme entry to
Code:
theme=23Smokey

from the default ambiance theme did the trick.

To better align the openbox menu theme right click the desktop to show the openbox menu and select the OPENBOX, OPENBOX CONFIGURATION MANAGER choice and on the THEME tag selecting the Onyx-Blue theme is a close match.
s1.png
 Description   
 Filesize   248.56 KB
 Viewed   238 Time(s)

s1.png

s2.png
 Description   
 Filesize   252.91 KB
 Viewed   237 Time(s)

s2.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1085

PostPosted: Thu 23 Aug 2018, 11:40    Post subject:  

if you're happy with modifying the lxqt theme system-wide, that's the way. Fatdog64 being a multi-user system also let's a single user change his/her theme. This is what I have in my (root's) ~/.config/lxqt/lxqt.conf
Code:

[General]
__userfile__=true
theme=light
icon_theme=Clarity

which shows how to change the theme icons as well.
light is a folder under /usr/share/lxqt/themes
Clarity is a folder under /usr/share/icons, structured similarly to hicolor

_________________
Fatdog64-721|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1085

PostPosted: Thu 23 Aug 2018, 12:06    Post subject:
Subject description: fixing opera (maybe chrome) occasional blank site page
 

Opera-developer is one of the browsers I use. Occasionally I run into pages that just don't render. I have finally found a work-around. Possibly it could apply to other chromium-based browsers. Simply start opera or chromium from the shell prompt with the prefix TZ=Europe/London. Replace Europe/London with the IANA abbreviation for your timezone. Example:

Code:
# TZ=Europe/London opera-developer


Explanation

By default Fatdog64 sets the system TZ=:/etc/localtime, which works just fine for glibc, but isn't supported by the javascript Intl API TimeZone spec, which wants explicit IANA codes.

A small launcher script that automates the process for Fatdog could be
Code:

#!/bin/dash
tz=`readlink /etc/localtime`
tz=${tz#/usr/share/zoneinfo/}
TZ=$tz exec defaultterm  "$@"


Of course, this work-around applies just to the pages that don't render due to timezone issues. You can check if that's your case by opening the javascript developer console in your browser, reloading the page and checking for javascript error messages about undefined timezone objects.

_________________
Fatdog64-721|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2538

PostPosted: Thu 23 Aug 2018, 14:41    Post subject: pburn  

Switched over from using a DVD-R disc to a DVD-RW disc and burnt using pburn. Afterwards it was showing as being a DVD-R and pburn accordingly refused to over-write it. Using PeasyDisc I was able to blank/format the DVD and running pburn to burn the iso again had it showing correctly as a DVD-RW thereafter.

pburn in FatDog 721 is 4.3.6 whereas the latest version of pburn looks to be 4.3.17. There's a whole lot of interrelationships involved with pburn however so given that Fatdog and pburn works well as-is (excepting the above niggle), perhaps best to leave things as they are and just make a mental note of that single issue/workaround.

_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 22 of 26 [387 Posts]   Goto page: Previous 1, 2, 3, ..., 20, 21, 22, 23, 24, 25, 26 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.1283s ][ Queries: 13 (0.0156s) ][ GZIP on ]