Fatdog64 702 Final [7 Feb 2016] [CLOSED]

A home for all kinds of Puppy related projects
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#221 Post by don570 »

I made some packages for fatdog 64bit 702

available at http://www.mydrive.ch

User: porteus@don570
Password: porteus

_________________________________________

lynx-fatdog-2.8.8-x86_64-PET.txz ----> right click will open up html files
geeqie-fatdog-1.2.2-x86_64-PET.txz ----> photo manager and slide shows
viewnior-fatdog-1.6-x86_64-PET.txz ---> latest version of image viewer with right click menu
mtpaint-fatdog-3.49.03-x86_64-PET.txz ---> latest version with right click menu
baconrecorder-4.9-x86_64-PET.txz ---> record audio with timer

I added in right click menu to make the packages more user friendly :lol:

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

#222 Post by s243a »

How do I add a new user and group to the file permissions on Fatdog64. I'm trying to run sophos anti-virus but it creates the files with user and group permission as sophosav:sophosav. If I try to change the permission with "chown -R" it says that it can't find the installation directory. I presume this is to give people warning if someone tampered with the anti-virus software.

With permissions user and group as sophos the software can't open any files.

Edit I found some links which may help me:
http://www.murga-linux.com/puppy/viewtopic.php?t=15839
http://www.murga-linux.com/puppy/viewtopic.php?t=27972


Hmmm.... I tried copying root from both /etc/shadow and /etc/passwd in geany and renaming the part where it says root to sophosav. That didn't work. Also I think I'm supposed to edit /etc/group as well. I see that the groups like like they are indexed so a straight copy of the line which starts with root won't work.

Edit 2
I see here that I can give a user root permissions by setting the user and group field to zero


I see here that I can test the shadow and passwrd file with the commands pwck and gwck.

I think I have to relogin to the window system to see if the changes took effect propertly. Cntrl-backspace than xwin and lets see if I crashed my system.

edit 3
Hmm, I'm still getting lots of cannot open errors. I didn't mess up the OS though. I forget to mention above I added in etc/group root after sophosav:x:1002:

I'm not sure what that does. An example of a file it can't seem to open is
"/mnt/home/usr/lib/seamonkey-2.19.bin"
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

add a new user and group

#223 Post by L18L »

s243a wrote:How do I add a new user and group
add a new user:

Code: Select all

fatdog-user-manager.sh
add a group:

Code: Select all

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

Re: add a new user and group

#224 Post by s243a »

L18L wrote:
s243a wrote:How do I add a new user and group
add a new user:

Code: Select all

fatdog-user-manager.sh
add a group:

Code: Select all

addgroup
Thankyou. I did notice though that the software did add the user and group sophosav. Therefore, I think my problem is trying to set up the permissions correctly for this user.


edit:
I let the scan finish now. 129594 files scanned in 36 minutes
108 errors were encountered
No Viruses were encountered
No Viruses were discovered
end of Scan.

Unfortunately facebook thinks I have a virus and won't let me post directly to my feed. I don't believe facebook. Also given that only 108 files caused errors maybe there is a reason other than permissions that sophos can't read those files.

I just now after completing the scan logged back in with chrome and certified that I have no viruses. But how am I supposed to know especially when facebook won't tell me why it thinks I'm infected. Some people think that this facebook so called security feature is a scam to sell anti-virus software.
User avatar
wuxiandianzi
Posts: 136
Joined: Tue 28 Apr 2009, 09:42
Location: china

great!

#225 Post by wuxiandianzi »

fatdog is great! thanks to author!

but i find lib64ncurses5 missing, I try to install lib64ncurses5 lib64stdc++6 from debian packets,but is remain out of work.
anynone find this ? or how make it works?
thank you !
User avatar
wuxiandianzi
Posts: 136
Joined: Tue 28 Apr 2009, 09:42
Location: china

ok solved!

#226 Post by wuxiandianzi »

:D
it is works great !
only needs lib64ncurses5_5.9-10_i386.deb and its depends lib64tinfo5_5.9-10_i386.deb

these two files from https://packages.debian.org/wheezy/lib64ncurses5


NB:please delete the ".pet" at the end of file name.
Attachments
lib64tinfo5-5.9-10-i386-DEB.txz.pet
(244.13 KiB) Downloaded 281 times
lib64ncurses5-5.9-10-i386-DEB.txz.pet
(85.2 KiB) Downloaded 297 times
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#227 Post by don570 »

I made some packages for fatdog in 702

http://www.mydrive.ch
User: porteus@don570
Password: porteus

mtpaint-fd64-3.49.03-x86_64-PET.txz
baconrecorder-fatdog-4.9-x86_64-PET.txz
lynx-fatdog-2.8.8-x86_64-PET.txz
geeqie-fatdog-1.2.2-x86_64-PET.txz
viewnior-fatdog-1.6-x86_64-PET.txz
User avatar
SFR
Posts: 1799
Joined: Wed 26 Oct 2011, 21:52

#228 Post by SFR »

autochown

Seems to be rarer than before, but it still segfaults occasionally.
Sometimes it also exits with an error if you copy lot of files to ~/spot/Downloads and delete them right away at once (timing issue, I suppose):

Code: Select all

# autochown -p /run/autochown.pid /etc/autochown.conf 
pid: 20413
error: failed to add watch (/root/spot/Downloads/some_random_file) [No such file or directory]
#
I've been thinging of some ultimate workaround and the only thing that comes to my mind is a loop that would restart it in any case, except for legitimate kill, something like:

Code: Select all

# start the daemon
#autochown -d -p $PIDFILE $CONFPATH
while true; do
  autochown -p $PIDFILE $CONFPATH
  case $? in 137|143) break ;; esac	# 137=Killed (kill -9), 143=Terminated (kill)
done &
but maybe implemented somehow more gracefully, to avoid keeping the service's process on the list.

Code: Select all

root      1103     1  0 10:17 ?        00:00:00 /bin/dash /etc/init.d/91-autochownd start
___________

fatdog-drive-icon-udev-handler.sh

I noticed that my old 4GB (3.7GiB) USB stick is reported as 3GiB in a tooltip, which is way too incorrect.
How about just adding one decimal place:

Code: Select all

SUMMARY="$SUMMARY $(( p / 1024))GiB"
becomes:

Code: Select all

SUMMARY="$SUMMARY $(( p / 1024)).$(( p % 1024 / 103))GiB"
Btw, 103 (instead of just 100) is a necessary fix for 1000-1023 range - I didn't think of it at first, what led to results like 333.10GiB.
A bit rough, but seems to work ok...
___________

[later]

/usr/share/applications/mimeapps.list

Code: Select all

x-scheme-handler/file=default-browser.desktop;
This entry causes gvfs-open /some/path (used by e.g. Cairo-Dock) to open Seamonkey instead of Rox.
I'm not really familiar with this 'x-scheme-handler' stuff, so maybe it has to be this way for a reason, but if not, it would be nice to have here 'rox.desktop' instead, just like in case of 'inode/directory'.

Greetings!
Last edited by SFR on Fri 01 Apr 2016, 19:32, edited 1 time in total.
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

#229 Post by Max Headroom »

Please Help, Ive got a Problem...

Fatdog64-702 Frugal install Dual Booting w/ Win 7

Host is a HP EliteBook 8460P w/ 8 GB RAMemory

Loading base sfs from local, searching for /fd64-620.sfs

( Nb. this doesn't look right, shouldn't it be /fd64-702.sfs ? )

Looking in in sda1 sda2 sda3 sr0

Cannot find /fd64-620.sfs from anywhere

Cannot load base sfs

Of course I've already Searched the Forum & tried the Puppy Linux

Search Tool wellminded.net63.net in Vain

:)K
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#230 Post by jamesbond »

Max, your bootloader must be booting the wrong initrd. 700 series look for "fd64.sfs", no version attached.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#231 Post by don570 »

to Max Headroom...
I assume you are using grub or better still grub4dos which works best with
windows computers.

A possible cause of grub boot manager not working-->
A misspelling in menu.lst file that grub4dos uses.

For instance ---> vmlinuz rather than vmlinuz.gz in the menu.lst
must be spelled correctly with no extension.

It has happened to me several times :oops:

Reference:
http://distro.ibiblio.org/fatdog/web/fa ... drive.html

_________________________________
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#232 Post by jamesbond »

@SFR -
RE: autochownd: in 710 I have a script called "crash-burn" to handle exactly cases like that, but it's mainly to handle crashing lxqt-panel :oops: We should look at it for handling services like autochownd.

RE: udev-handler.sh: I didn't do it earlier simply because the shell doesn't handle floats. Getting to do floats is easy - I can just invoke awk and use printf, but it's one additional external call. Your method works as well, so let me think what I want to do with it.

RE: mimeapps.list - Yes, you are correct. I spent quite a while tidying mimeapps.list and its froends (I built a tool that could rebuild all the 3 most commonly used "apps registry" based on a certain "master file"), I forgot whether I did that for 710 or 700. Anyway I need to check why that entry is there in the first place.

Thank you for your comprehensive report and solutions, as usual.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#233 Post by step »

jamesbond wrote:@SFR - ...
RE: udev-handler.sh: I didn't do it earlier simply because the shell doesn't handle floats. Getting to do floats is easy - I can just invoke awk and use printf, but it's one additional external call. Your method works as well, so let me think what I want to do with it.
Possibly udev_add_handler() could be simplified by using lsblk directly instead of busybox blkid in get_summary(). For instance

Code: Select all

foo() { # $1-dev
  local NAME LABEL TYPE FSTYPE SIZE MOUNTPOINT
  eval $(lsblk -Po NAME,LABEL,TYPE,FSTYPE,SIZE,MOUNTPOINT)
  echo $1: $NAME $LABEL $SIZE etc.
}
time foo /dev/sda1
Now, to speed it up don't ask for unneeded info, such as MOUNTPOINT above, which on my system adds ~250 ms to overall real time. Still, busybox blkid seems to be twice faster than lsblk.
User avatar
SFR
Posts: 1799
Joined: Wed 26 Oct 2011, 21:52

#234 Post by SFR »

jamesbond wrote:to handle crashing lxqt-panel
Oh, it's crashing? What a shame. :( I hope it's not often...
I was playing with it briefly some time ago (and again today) and, even despite the above flaw, I still prefer it over its predecessor, as it provides 2 extremely convenient (for me) features: multiple rows and manual rearranging of taskbar items.
OTOH Razor-panel crashed on me yesterday, too, so it can't be worse, anyway. :wink:

Btw, both lxtq-panel packages do not provide all plugins in /usr/lib64/lxqt-panel, but do provide all *.desktop files for them in /usr/share/lxqt/lxqt-panel.
Removing them as well would remove dead items from "Add Panel Widgets" list.


Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#235 Post by jamesbond »

@step: I prefer to use utilities that have the equivalent in busybox. In fact, I attempt (where possible) to use only options that are supported by both coreutils and busybox; so if those full versions are missing but busybox is available, they don't totally fail. For this particular case, the information is actually already available in /sys/block, it's just a matter of parsing them.

@SFR: It doesn't crash often, usually only at startup or when switching VTs. The version in 710 is identical to the one in 700; I attempted an upgrade but it totally failed to start - so I'll leave it to kirk :D to get it fixed when he has the time (kirk was the one who put lxqt-panel in 700.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#236 Post by jamesbond »

@fatdog-drive-icon-udev-handler - I'm reluctant to add a decimal. It may work okay for capacities like 3.7GB or something like that, but it definitely looks superfluous on 1471.3MB. I think the proper way is to do a proper rounding (up or down as necessary), so your 3.7GB should be rounded up to 4GB. But shell script doesn't do this float stuff, awk (or bc) is needed.

That being said, rounding up gives someone a false sense of security, giving him/her a capacity that s/he doesn't have :shock:

@mimeapps.list - the source for x-scheme-handler/file=defaultbrowser is /etc/xdg/rox.sourceforge.net/URI. There, "file" is symlinked to defaultbrowser.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
User avatar
csipesz
Posts: 240
Joined: Fri 08 Nov 2013, 17:08
Location: Isaszeg, Hungary

#237 Post by csipesz »

greatings.
WHAT kind of PANEL works beside the openbox? I ask it, because not too user friendly, and I would like to replace at lxpanel...
Something else: how I can replace that garish blue iconset with something more beautiful in this system?
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#238 Post by jamesbond »

@csipez: JWM is included, but it's second-class citizen because we don't test it that much. In the repo you'll find icewm. Again, they're provided as is, you'll need to tweak and configure it yourself. You also want to check Fatdog64 contributor thread (see my sig), many kind contributors have compiled packages for Fatdog64 there.

As for icons, there are 3 sets of icons:
a) "puppy" icons - these are located in /usr/share/pixmaps/midi-icons an /usr/share/pixmaps/mini-icons. If you look at those, they are symlinks to /usr/share/pixmaps/theme/puppy16 and puppy48. To change the icons, create a new dir (e.g. /usr/share/pixmaps/theme/csipez48), populate it with the icons of the same name you'll see in the original puppy48 folder, then change the /usr/share/pixmaps/midi-icons symlink to your folder.

b) gtk-icons, these are located /usr/share/icons. The default "hicolor" theme (/usr/share/icons/hicolor), there are plenty of other themese. They are theme-able by creating the proper gtkrc: https://makandracards.com/jan0sch/23143 ... onfig-file.

c) untheme-able icons: these are usually hard-coded application icons. They are usually stored in /usr/share/pixmaps and /usr/share/icons. If you want to change them, just copy over a new icon with the same name. If you want to be smart about it, you can create symlinks like what we did for (a) but I don't think its worth it.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#239 Post by Aung »

Pupdial worked in 600 puppies using 3G modems, I remember it needing -chap for virgin mobile. Where I am now also needs -chap but not quiet making it, a lot of pppd: [08][7f] stuff in there that was not there before.
I want to use fatdog because I rely on watching the CPU meter to monitor online activity. (and learn to use the ISO builder after someone does a write up how to)
--> Pid of pppd: 1723
--> Using interface ppp0
--> pppd: [08][7f]
--> pppd: [08][7f]
--> pppd: [08][7f]
--> pppd: [08][7f]
--> local IP address 10.155.42.16
--> pppd: [08][7f]
--> remote IP address 10.64.64.64
--> pppd: [08][7f]
--> primary DNS address 203.144.66.3
--> pppd: [08][7f]
--> secondary DNS address 203.144.65.2
--> pppd: [08][7f]
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#240 Post by jamesbond »

I haven't been able to test 3G dongle issue because I didn't have a dongle before. I just got one now, but I have yet to get it working, so until I can get it to work myself I will be of no help to anyone.

Usually the go-to person for usb-modeswitch is rerwin, but he doesn't usually monitor this thread. You may want to PM him.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
Post Reply