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 Fri 26 May 2017, 11:07
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64-710 Final [4 Dec 2016]
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 25 of 29 [424 Posts]   Goto page: Previous 1, 2, 3, ..., 23, 24, 25, 26, 27, 28, 29 Next
Author Message
watchdog

Joined: 28 Sep 2012
Posts: 1342
Location: Italy

PostPosted: Fri 07 Apr 2017, 05:05    Post subject: Re: encrypted SaveFile  

rasul wrote:
watchdog wrote:
rasul wrote:

Only some minor issues ... Seemingly FatDog is a bit different from the other puppies ... for example it seems not to contain the application that mount an encrypted puppy save file (extension 2fs) when double-clicking on the save file ... How can I fix it? which application should I add to fatdog? any binary already available?


I can do it manually using a losetup-old from an old testing version of xenialpup64 which I attach. Delete the fake gz and move losetup-old in /sbin. Then in console:

Code:
losetup -a


and watch a free loop device. Say it can be /dev/loop2. Then in console for a lightencrypted savefile (I have used in the test a lightencrypted slackosave from slacko 5.7):

Code:
# losetup-old -E 1 /dev/loop2 /mnt/sda1/slacko57/slackosave_cryptx-s57-bk.2fs
Password:
#mkdir /mnt/dir
# mount /dev/loop2 /mnt/dir
# ls /mnt/dir
bin  dev  etc  initrd  lib  lost+found  mnt  opt  root  sbin  sys  usr  var
# umount /mnt/dir
# losetup-old -d /dev/loop2


For an heavy encrypted savefile you can use in the example:

Code:
losetup-old -e aes /dev/loop2 slackosave_save_crypta-s57-bk.2fs

thanks for the tip and the file, it saved me a lot of effort, wish I could write a script to automate it ...


I have an easy way to automate the mounting of an encrypted savefile in fatdog64-710 using filemnt from slacko64-6.9.6.1 which has in the second line of the script the choice of "losetup" which you are using. I attach it (remove the fake .gz and move it in /usr/sbin)). Using my example:

Code:
filemnt.slacko6961 /mnt/sda1/slacko57/slackosave_cryptx-s57-bk.2fs


To unmount it open a new console and run the same command.
filemnt.slacko6961.gz
Description 
gz

 Download 
Filename  filemnt.slacko6961.gz 
Filesize  6.87 KB 
Downloaded  10 Time(s) 
Back to top
View user's profile Send private message 
bpuppy
Guest


PostPosted: Sun 16 Apr 2017, 16:47    Post subject: LS_COLORS and other glitches
Subject description: Follow-up from a separate thread
 

About the directories' color:
Creating a ~/.profile with the export LS_COLORS=..., then rebooting did not change the directories color in the terminal, but strangely enough, adding this line in ~/.shinit did the trick. (Strange because ~/.shinit sources ~/.bashrc at the end.)

About ROX always showing text in bold:
You put your finger on it! The UTC clock is 4 hours past the real time in my locale which is Montreal, Quebec, CA.
This is not the first puppy doing that and maybe it is due to a mix up as CA sometimes means Catalogna (in France) and also Canada. With the daylight time saving setup, it would be reasonnable to have a 4-hr differential. So, the culprit would be the timezone files and unless we use a 3-digit code to designate countries, we won't see a fix soon i think.

Thirdly, notice that partitions sda6 and sda10 are mounted (says conky on the right-hand side) but the drive icons at the bottom remain unchanged. They eventually update if i do a restart X summon.

Finally, i don't know where to change the colors for the top-right calendar.

Sorry if i am long winded Embarassed
bpuppy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using Fatdog-710 (my best), TharPup-605 (second best), Ubuntu 14.04 LTS (for UEFI setup and package trials) and rarely Windows 8 (for some games).
bpuppy-desktop.jpg
Description 
jpg

 Download 
Filename  bpuppy-desktop.jpg 
Filesize  194.25 KB 
Downloaded  35 Time(s) 
Back to top
Keef


Joined: 20 Dec 2007
Posts: 822
Location: Staffordshire

PostPosted: Mon 17 Apr 2017, 08:16    Post subject:  

Quote:
Thirdly, notice that partitions sda6 and sda10 are mounted (says conky on the right-hand side) but the drive icons at the bottom remain unchanged. They eventually update if i do a restart X summon.


Same problem for me - although the NTFS partition shows the mounted icon straight off. Just one other ext3 partition which does not show if mounted or not, and same for USB sticks.

One other thing. 'mdsdn' was hogging the cpu so I have disabled it with no ill-effects. Couldn't find any references to this apart from on Android systems.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1596

PostPosted: Mon 17 Apr 2017, 13:41    Post subject:  

bpuppy wrote:
About ROX always showing text in bold:
You put your finger on it! The UTC clock is 4 hours past the real time in my locale which is Montreal, Quebec, CA.
This is not the first puppy doing that and maybe it is due to a mix up as CA sometimes means Catalogna (in France) and also Canada. With the daylight time saving setup, it would be reasonnable to have a 4-hr differential. So, the culprit would be the timezone files and unless we use a 3-digit code to designate countries, we won't see a fix soon i think.

I set my timezone to "Canada, Eastern" and, according to https://www.timeanddate.com/worldclock/canada/montreal, it shows the correct time, which is EDT:
Code:
# date
Mon Apr 17 13:40:10 EDT 2017
#

My BIOS clock is set to UTC, btw.
___________

bpuppy wrote:
Thirdly, notice that partitions sda6 and sda10 are mounted (says conky on the right-hand side) but the drive icons at the bottom remain unchanged. They eventually update if i do a restart X summon.

Keef wrote:
Same problem for me - although the NTFS partition shows the mounted icon straight off. Just one other ext3 partition which does not show if mounted or not, and same for USB sticks.

Anything happens when you execute this (replace sdXY with the problematic parition)?
Code:
fatdog-drive-icon-refresh-icon.sh /dev/sdXY

Or this?
Code:
fatdog-drive-icon-redraw-icons.sh

If both don't work, my guess is that there's something wrong with refreshing at ROX level, but the only circumstances in which it happens I know of is changing hostname during the current X session...
___________

bpuppy wrote:
Finally, i don't know where to change the colors for the top-right calendar.

The calendar on your screenshot looks wrong - all working days are grayed out for some reason.
Anyway, the "working day" color is shared with the panel font color (Configure Panel -> Custom font color).
___________

Keef wrote:
One other thing. 'mdsdn' was hogging the cpu so I have disabled it with no ill-effects. Couldn't find any references to this apart from on Android systems.

I had the same problem and have it disabled, too.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 822
Location: Staffordshire

PostPosted: Mon 17 Apr 2017, 14:06    Post subject:  

The second option
Code:
fatdog-drive-icon-redraw-icons.sh

works for me.
Back to top
View user's profile Send private message 
dr. Dan

Joined: 20 Apr 2015
Posts: 20

PostPosted: Mon 17 Apr 2017, 20:36    Post subject: Re: LS_COLORS and other glitches
Subject description: Follow-up from a separate thread
 

bpuppy wrote:
Finally, i don't know where to change the colors for the top-right calendar.

The settings are in /usr/share/lxqt/themes/"whichever_theme_you_are_using"/lxqt-panel.qss. The section called "Calendar" has various settings, but not font.

Also, the drive icons were working correctly until about two months ago on mine.

Dan
Back to top
View user's profile Send private message 
bpuppy
Guest


PostPosted: Tue 18 Apr 2017, 07:59    Post subject: Fatdog64-710 glitches
Subject description: follow-up
 

@SFR:

drive icons: Same as Keef. NTSF icon updates right away and other partitions work if i run fatdog-drive-icon-redraw-icons.sh after mounting / unmounting.

calendar: I checked lxqt-panel.qss as suggested by Dr.Dan and the /usr/share/themes/.../themerc but cannot pinpoint which variable needs to be changed. But this may have something to do with the following new item.

Openbox Config Manager: Changing the theme from onyx-orange to onyx-blue does not update (in fact, none do update on my system)

Time issue and ROX listing all files in bold: I set my clock to UTC and it is now properly showing in the taskbar time applet but check out how screwed up the messages file is... Note the time included in the shot (i used TAS) and compare with the 'messages' file. BTW my files are still showing all in bold. (this happens even though i do a reboot and touch nothing related to time.)

(EDIT) After another reboot, the taskbar time applet is again 4 hours late Rolling Eyes
Shot-06-34.png
 Description   
 Filesize   41.82 KB
 Viewed   388 Time(s)

Shot-06-34.png

Back to top
step

Joined: 04 May 2012
Posts: 838

PostPosted: Tue 18 Apr 2017, 08:41    Post subject: Re: LS_COLORS and other glitches
Subject description: Follow-up from a separate thread
 

bpuppy wrote:
About the directories' color:
Creating a ~/.profile with the export LS_COLORS=..., then rebooting did not change the directories color in the terminal, but strangely enough, adding this line in ~/.shinit did the trick. (Strange because ~/.shinit sources ~/.bashrc at the end.)

Can you please try putting LS_COLORS=... in ~/.fatdog/profile, yes, that's profile without the initial dot.

It's actually $FATDOG_STATE_DIR/profile, which is sourced by /etc/profile, which is executed by a login shell.

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


Joined: 26 Oct 2011
Posts: 1596

PostPosted: Tue 18 Apr 2017, 13:12    Post subject:  

RE: Drive icons

It appears that the problem could be somewhere in fatdog-drive-icon-refresh-icon.sh or fatdog-drive-icon-mount-helper.sh.

But first, let's check this:
1. Right-click the icon of mounted partition that lacks the green indicator and choose "App dir sdXY -> Look Inside".
2. Enable displaying of hidden files and you should see .DirIcon file.
3. If that file exists, copy it, changing the name to get rid of the dot (otherwise it won't display in Viewnior) and click it.
Does it look like on the screenshot (see below)?
___________

bpuppy wrote:
BTW my files are still showing all in bold. (this happens even though i do a reboot and touch nothing related to time.)

I've noticed on your screenshots that the bold font is not limited to ROX, but also shows in the calendar (LxQt-Panel) and Geany.
What's the GTK theme you're using?
Have you also changed QT theme (calendar)?
___________

bpuppy wrote:
Openbox Config Manager: Changing the theme from onyx-orange to onyx-blue does not update (in fact, none do update on my system)

Any error messages (ignore the initial ones) if you launch obconf from terminal and switch between some themes?
___________

bpuppy wrote:
After another reboot, the taskbar time applet is again 4 hours late

bpuppy wrote:
Using [...] and rarely Windows 8 (for some games)

Check if BIOS clock is still set to UTC.
When I occasionally boot into Windows, sometimes the BIOS clock gets reset to local time.

But anyway, have you configured the hardware clock to local time (hwclockconf.sh)? This could help, too.
You may also want to enable Control Panel -> System -> Manage Servers and Services -> ntpd-boot <or> ntpd-client to keep the system clock synced.

Greetings!
indicator.jpg
 Description   
 Filesize   41.28 KB
 Viewed   349 Time(s)

indicator.jpg


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
dr. Dan

Joined: 20 Apr 2015
Posts: 20

PostPosted: Tue 18 Apr 2017, 22:48    Post subject:  

@SFR: I tried your test. First, a mounted drive lacking the green X. The icon in the app dir. showed no green X. I then re-drew the icons, and checked again, and it showed the green X on the desktop and in the app dir.

I appreciate your choice of fonts, by the way!

Dan
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1596

PostPosted: Wed 19 Apr 2017, 12:04    Post subject:  

dr. Dan wrote:
@SFR: I tried your test. First, a mounted drive lacking the green X. The icon in the app dir. showed no green X. I then re-drew the icons, and checked again, and it showed the green X on the desktop and in the app dir.

I appreciate your choice of fonts, by the way!

Dan

Alright, thanks for testing!

And here's a debug version of fatdog-drive-icon-refresh-icon.sh.
Don't replace the original one in /usr/sbin, just unpack it into home dir and invoke from terminal, using the affected partition as an argument, e.g.:
Code:
./fatdog-drive-icon-refresh-icon.sh /dev/sdXY

Perhaps this will tell us something (or not)...

Greetings!
fatdog-drive-icon-refresh-icon_DBG.sh.tar.gz
Description  MD5: 07710809051a88c49a20589cd9b31727 fatdog-drive-icon-refresh-icon_DBG.sh.tar.gz
gz

 Download 
Filename  fatdog-drive-icon-refresh-icon_DBG.sh.tar.gz 
Filesize  2.08 KB 
Downloaded  9 Time(s) 

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2851

PostPosted: Thu 20 Apr 2017, 03:55    Post subject:  

<2c>
This issue has come up before but I’ll give it another try.
Bootloaders are fairly slow reading large files. Specially from slow media with variable page size as USB thumb drives.
Having an OS in USB stick is more likely because is a transient OS for the road/testing/fixing etc. So boot time (something you may do often in such a setup) may be important
In a 16GB USB3 Etx4 stick that I set up (with grub from linux mint), standard 64bit puppies take ~35sec to get to the desktop, linux Mint64 18.1 (standard install - has a 40MB initrd), 2'15" and FD710, 3'20"!
Moving the fd64.sfs out of the initrd and using the basesfs command line arguments to load it in RAM from the stick, brings desktop appearance down to 55 sec. From those, 35sec are still the 60MB initrd loading (because of the big kernel-modules.sfs in it).
Would be nice if a $kernelsfs was available to be able to move the modules sfs out of the initrd too (assuming the builtin modules can handle setup).
You might also want to consider when installing into a USB removable, the installer to default to a smaller initrd moving SFS(s) out of it (though automatically setting up grub options may be challenging)
</2c>
Apologies if at this time I can only "offer suggestions" Embarassed

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 838

PostPosted: Thu 20 Apr 2017, 08:36    Post subject:  

@mavrothal,

if you use /usr/sbin/fatdog-split-initrd.sh to split out the base sfs file from the humongous initrd you get a 3 MB initrd, with all modules combined into a new base sfs. So initrd load time should decrease considerably, since initrd decreases 20-fold. I use this method, and loading initrd doesn't see to take much time - I haven't clocked it. As for file size, rox reports: initrd 3563 K, fd64.sfs 441 M.

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


Joined: 24 Aug 2009
Posts: 2851

PostPosted: Thu 20 Apr 2017, 09:22    Post subject:  

step wrote:
@mavrothal,

if you use /usr/sbin/fatdog-split-initrd.sh to split out the base sfs file from the humongous initrd you get a 3 MB initrd, with all modules combined into a new base sfs. So initrd load time should decrease considerably, since initrd decreases 20-fold. I use this method, and loading initrd doesn't see to take much time - I haven't clocked it. As for file size, rox reports: initrd 3563 K, fd64.sfs 441 M.

Thanks, fatdog-split-initrd.sh could be handy, though it should be re-run after kernel change and of course the entire "manual" process is a bit "involved" for my liking.

Talking about kernel, how do you make a package dependent on a specific kernel version? (Brief googling did not yield anything obvious).
I just compiled and installed a driver and thought maybe to upload it, but is for the specific (4.4.35) kernel only.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
Illutorium

Joined: 06 Aug 2014
Posts: 148

PostPosted: Thu 20 Apr 2017, 17:45    Post subject: Manual UEFI Problem of a HDD  

I tried at: "efibootmgr -c -l \EFI\boot\grubx64.efi -L FatDog64 -g" - but that's does at Legacy only' (Now I formatted to a FAT32)
but "/usr/share/refind-bin-0.10.3/refind-install" show that's "VFAT" (FAT16) it's will be depend of a "rEFInd Binary" but FatDog64 show that's FAT32 will be depend for a Newest OS (as Windows 8.1/10) at without "rEFInd Binary" [I searched at "uefi-harddrive" of Documentary Helpdesk at FatDog64]

List of a Manual UEFI FatDog64:

drivers
| {All of a EFI Drivers} [Source: /usr/share/refind-bin-0.10.3/refind/drivers_x64]
EFI
/boot
| grubx64.efi [Source: /usr/share/grub2-efi]
fonts
| {All of a Fonts} [Source: /usr/share/refind-bin-0.10.3/fonts]
keys
| {Keys of a FatDog64} [Source: /usr/share/refind-bin-0.10.3/keys]

grub.cfg
initrd
Shellx64.efi [Source: /usr/share/refind-bin-0.10.3/refind/refind_x64.efi] {Worked of a Detect for a FatDog,but not at show from a Box sides'}
vmlinuz
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 25 of 29 [424 Posts]   Goto page: Previous 1, 2, 3, ..., 23, 24, 25, 26, 27, 28, 29 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.1342s ][ Queries: 14 (0.0273s) ][ GZIP on ]