Fatdog64-720 and 721 Final [11 Jan 2018]

A home for all kinds of Puppy related projects
Message
Author
User avatar
dr. Dan
Posts: 96
Joined: Mon 20 Apr 2015, 17:45
Location: Oregon, U.S.A.

xkbmap

#256 Post by dr. Dan »

drunkjedi wrote:Hi Slowride,
After you get Fatdog installed, to disable caps lock key do the following,

1) Open a Terminal Emulator. ( By clicking on 'Menu', then 'Utility', then 'Rxvt-Unicode terminal emulator'.)

2) Enter the following command

Code: Select all

setxkbmap -option ctrl:nocaps
Done.

If you want to enable caps lock again enter following command in terminal

Code: Select all

setxkbmap -option
@drunkjedi,
Thanks for the info! That's handy! However, I noticed that

Code: Select all

setxkbmap -option
seems to disable the <control-alt-backspace> preset. Entering

Code: Select all

setxkbmap -option terminate:ctrl_alt-bksp
adds it back.
Dan

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

Re: xkbmap

#257 Post by drunkjedi »

dr. Dan wrote:@drunkjedi,
Thanks for the info! That's handy! However, I noticed that

Code: Select all

setxkbmap -option
seems to disable the <control-alt-backspace> preset. Entering

Code: Select all

setxkbmap -option terminate:ctrl_alt-bksp
adds it back.
Dan
Hi Doc,

Yes what you found is correct.
The command "setxkbmap -option" wipes all options set before.

Stupid me assumed nothing was set initially.

Running -query argument in pristine fatdog gives

Code: Select all

# setxkbmap -query
rules:      evdev
model:      pc105
layout:     us
options:    terminate:ctrl_alt_bksp
I do not know how to remove just one option.
But I took a look in /usr/share/X11/xkb/rules/xorg.lst (Which is just a symbolic link to /usr/share/X11/xkb/rules/base.lst)
This file lists all options we can set with setxkbmap command.

And found I was foolishly making a third ctrl key with "setxkbmap -option ctrl:nocaps" command.

Actual command to only disable caps lock should be

Code: Select all

setxkbmap -option caps:none
I will edit it in my previous post.

Will have to search for just removing a single option.

Thanks again Doc.

User avatar
slowride
Posts: 22
Joined: Fri 23 Feb 2018, 20:08
Location: 8th Circle of Hell (east TN)

- - -FINALLY

#258 Post by slowride »

@step ( and dr. Dan, drunkjedi, you folks are wonderful)

When it comes to PUPPY "meh" is "Tabula Rasa" (in appalachia that's air taybewluh....

I. END GOAL:
---> Boot-Loader FatDog default with "options"

II. CHALLENGE
--- > NOT LOOSE the backed up data
A. There's a 1tb drive in the laptop, might have space there

Still support son's m$ machine and graphic/video editting sometimes warrant "short bus OS" tools...
-----------------------------------------------------------------------------
step wrote:edit: Two posts down I addressed your questions directly.

1. You have a working computer in the house; what OS does it run now?
---------------------------------------------------------------------
Computer (Dell Optiplex 780, 3.0Ghz, 4GB ram, 1tb HD + 300g "might die any minute")

The 1tb is in 4 partitions (the max). The 300g I only use temporary (moving things)

Has Fatdog 721 loaded onto a 4GB USB drive.

There is no "Native OS" within box yet. Only +/- 500G backups on the 1tb drive.

Have also a laptop that started to load m$7, (to verify if it ran at all) just turned it off. It has one stuck key, but partially usable.
----------------------------------------------------------------------
2. < - snip -> did you by any chance copy it using the "dd" command?

I suspect I did. In the future I'll keep notes (duh. aircraft mechanic should use checklist on computer? WHAT?)

----------------------------------------------------------------------

3. Does the computer you want to install Fatdog64 on have a CD/DVD drive? How old (years) is that computer?

Has DVD/CD writer. (un-tested) I beleive MFR date 2008/9? BIOS date is 2013.

I can not use hardware manufactured after 2012. Snitch Chipz.

The 1tb drive I'm installing on: new WD, Dec. 2017 (and I didn't check to see what "strange" stuff is on it's PCB board - dumb. I know)
----------------------------------------------------------------------
< - snip ->
working computer, and apply the correct method to "burn" the ISO file to the CD.

I'll have to get some CD media at the $tore.

- - - -
Got an old UPS, but it keeps the AC clean. So in spite of sudden outage, no data at all was lost.

FatDog64 is still running beautifully.
PM is welcome, email now works (REPLIES might be slow, health limits console time)
[color=green][i][b]Anonymity is the Spiritual Foundation of all our Principles; ever reminding us to place Princicples before Personalities[/b][/i][/color]

User avatar
dr. Dan
Posts: 96
Joined: Mon 20 Apr 2015, 17:45
Location: Oregon, U.S.A.

Re: - - -FINALLY

#259 Post by dr. Dan »

slowride wrote: I. END GOAL:
---> Boot-Loader FatDog default with "options"

II. CHALLENGE
--- > NOT LOOSE the backed up data
A. There's a 1tb drive in the laptop, might have space there

Still support son's m$ machine and graphic/video editting sometimes warrant "short bus OS" tools...

The 1tb is in 4 partitions (the max). The 300g I only use temporary (moving things)

Has Fatdog 721 loaded onto a 4GB USB drive.

There is no "Native OS" within box yet. Only +/- 500G backups on the 1tb drive.

Have also a laptop that started to load m$7, (to verify if it ran at all) just turned it off. It has one stuck key, but partially usable.
The 1tb drive I'm installing on: new WD, Dec. 2017 (and I didn't check to see what "strange" stuff is on it's PCB board - dumb. I know)

FatDog64 is still running beautifully.
@slowride:

Just to confirm a few details,

1) You want to install Fatdog64 to sda1. You intend to use sda4 as swap, sda2 as win7, sda3 as storage. Is that right? How large is each partition?

2) Is the Fatdog64-721 .iso on the flash drive?

3) Do you want to use any additional OS?

4) Did you mainly use SUSE, or have you tried various other distributions?

5) Win7 is not currently installed, Is that correct? When you install it later, it will alter your boot loader, and your will want to re-install from Fatdog64 and configure the Windows details.

6) The Fatdog64 Installer should only write to the partition you want to install to, and the MBR. It shouldn't touch the storage partition whatsoever. The Windows Installer is not so considerate.

7) I am running Win7 (rarely) on a laptop without the hidden 200Mb system maintenance partition without issue. Also, you can have more than 4 partitions, though you may not need more than you have to do what you want to do.

I'll let someone else be your guide (see my first and second reply), I only hope to make the details clearer.

Dan

TyroBGinner
Posts: 236
Joined: Wed 30 Mar 2016, 20:18

#260 Post by TyroBGinner »

I am going to put this out yet again.

I want to use a piece of hardware - a hard drive enclosure - that works fine with the usb-storage driver but not with the uas driver. Fatdog insists on loading the uas driver, and there seems to be no way to turn it off. Attempting to implement the device quirk in the usb-storage driver does not work, and any sort of attempt at blacklisting the uas driver does not work either. Maddeningly, all these drivers are built in, so it seems like the user is fixed to these drivers.

Surely there is some general interest in having the option to use one driver over another. Many of us have hardware that is particular about drivers, and we would like the ability to have broader functionality offered by improved or alternative drivers. The puppy linux variants that I have tried, namely fatdog and xenialpup, both seem to have just about everything built in instead of being appended as modules.

Is there a way to blacklist a driver or enable quirks in loaded drivers? If not, it seems that the only was around this is to recompile the kernel - an utterly extreme last resort. The community would be well-served to have a way around the no-win situation of choosing between recompiling the kernel and living with reduced or eliminated functionality.
Win10 and lovin' it!

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#261 Post by drunkjedi »

@Fatdog team,

I wanted to check my last boot/login time.
last command didn't find log.

Code: Select all

# last
last: cannot open /var/log/wtmp: No such file or directory
#

User avatar
slowride
Posts: 22
Joined: Fri 23 Feb 2018, 20:08
Location: 8th Circle of Hell (east TN)

Re: - - -FINALLY

#262 Post by slowride »

@dr. Dan,

THANKS (as well as everyone else).

For present, the ?Q? should be whether to FIRST install a familiar Distro to /dev/sda2 and then ADD FatDog64 at /dev/sda1 - - OR THE OTHER WAY AROUND...

Win7 is a butt-hurt and I've pretty much decided can live Where the cat likes to sleep :oops: (on the Lap-top with borked "down-arrow" key.)

==============================
dr. Dan wrote:
1) You want to install Fatdog64 to sda1. <snip>
I have Presently:

Code: Select all

/dev/sda1 type ext4     62G   14G   (used)  45G     (Avail)       /mnt/sda1
/dev/sda2 type ext4    88G    BLANK                                         /mnt/sda2
/dev/sda3 type fuseblk  763G  363G  (used)  401G    (Avail)       /mnt/sda3
/dev/sda4 type SWAP 18.6 G  ( not mounted )
ONLY PARTITION WITH NEEDED CONTENT IS SDA3 ... too many u$b drive$ to back up...

Since FatDog64 "likes" swap-FILE (seems like this might be easiest?) there's plently of room for it anyplace...

Can leave the SWAP, as "Other Linux" likes a Partition, and forget m$7 in "the box"....
dr. Dan wrote: 2) Is the Fatdog64-721 .iso on the flash drive?
Yes, Untouched.
dr. Dan wrote: 3) Do you want to use any additional OS?
Preferably... In that I'm apt to mess up and that's indispensible for such occaisions...

Concerning #4, I've recently tried "Bloat & SystemD" Linux's - - Cant log on as root? = USELESS.

Can load SlackEL, or 2 others w/o sD...
dr. Dan wrote: 5) Win7 is not currently installed, Is that correct?
NOPE! Is only on the Laptop.

Couldn't use earlier backups (dd bs=400 thingy) on NEW hd as that might hoze the File table / Partitions of 1tb HD = Different Geometry.
dr. Dan wrote: 6) The Fatdog64 Installer should only write to the partition you want to install to, and the MBR.
CONCUR.

FatDog64 "indicates" it's presently installed to /dev/sdb1 I've not dandled or messed with... Only made backups to thumbdrives daily...

/dev/sdb = dispose-a-drive I'm only using for temp and testing.

"BOOTLOADER" (syslinux?) Did write to /dev/sda but is presently unusable. Seeing I was well over my head, I "test installed" To see what installer did on it's own...

I've never succesfully loaded ANY Linux with a Syslinux bootloader... much less "chain-loading".

I'm more familiar with Grub (can navigate the tedious "chroot install" via Arch, but...) SlackEL installs Grub by default, as well as Antix. Puppy file systems are less "Tedious by Default" than Debian or Fedora IMHO... Sadly, SlackEL's is Fedor-ish, and borked itself the first update (so why update?)

============================

FatDog64 First? Or the Other way 'round? if we can get FatDog64 up and happy, I might be fine with only that ...

If "Existing OS" is the easiest route, then SlackEL...
PM is welcome, email now works (REPLIES might be slow, health limits console time)
[color=green][i][b]Anonymity is the Spiritual Foundation of all our Principles; ever reminding us to place Princicples before Personalities[/b][/i][/color]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#263 Post by step »

drunkjedi wrote: last command didn't find log.

Code: Select all

# last
last: cannot open /var/log/wtmp: No such file or directory
#
I think it's intentional. You need to create the file to enable access logging. Just touch /var/log/wtmp.
Linux manual wrote: wtmp is maintained by login(1), init(1), and some versions of getty(8 ) (e.g., mingetty(8 ) or agetty(8 )). None of these programs creates the file, so if it is removed, record-keeping is turned off.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#264 Post by drunkjedi »

step wrote:I think it's intentional. You need to create the file to enable access logging. Just touch /var/log/wtmp.
Thanks step,
I did look at http://man7.org/linux/man-pages/man1/last.1.html but didn't look in man page of wtmp.
Sorry for the trouble.

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#265 Post by drunkjedi »

Hi everybody,

I have never used wine.

A friend of mine is giving me a windows software (I don't know it's name yet, it's a hydraulic/pneumatic/electrical circuit simulator).

So I will get wine to try that software.
I saw 5 wine sfs in sfs manager.
2 of them have i686 in their name.
Which should I get to make the software to run? (I don't know yet if it's a 32bit or 64bit software)

What I guess is that, the i686 wine sfs will run only 32bit windows softwares...
While those which don't have i686 in their name are 64bit wine and will run both 32 bit and 64 bit software...

Am I right, or totally wrong?

It's midnight here, I am off to bed, have put wine-2.0.sfs and wine-3.0-i686-1.sfs for download.

Please give suggestion for which version to use for 32bit and 64bit windows software.
It will help me when I get the software.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#266 Post by SFR »

Hey Drunkjedi,

There's no difference in this regard, it's just a matter of inconsistent/insufficient(?) naming convention.
They're all capable of running both 32bit & 64bit applications.
However, in case of 32bit apps, you also need 32bit-fd64_721.sfs.

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]

User avatar
Cu Chulinux
Posts: 59
Joined: Sun 28 Jan 2018, 18:49
Location: About 180 degrees from Australia

#267 Post by Cu Chulinux »

Hi Drunkjedi,

Once you know the name of the windows software you should first check on the wine website to see if there are any reports on success/failure of running it under wine. It may save you some fruitless labour of getting wine set up if it won't work. Some programs are too tightly integrated with windows low-level drivers/dll's to work properly in wine. Graphic-intensive programs are bad for this, such as CAD (especially 3D).

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#268 Post by drunkjedi »

Hi,

@SFR, Thanks for clarifying that. Yes I do have 32bit sfs loaded.

@Cu Chulinux, The software's name is Amesim by Siemens and another Fluidsim by Festo. I didn't see them in Wine Application Database. Will try.

Thanks.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#269 Post by step »

@drunkjedi

if the Windows app is 64-bit you must create a 64-bit wine prefix. The default prefix ~/.wine is 32-bit and won't work for 64-bit Windows apps. Prefix creation, off the top of my head:

WINEPREFIX=prefix-name WINARCH=32/64-spec winecfg

then run the windows app with:

WINEPREFIX=prefix-name wine TheApp.exe

More details at wine-hq or https://wiki.archlinux.org/index.php/wine

If you need to add windows common libraries, assemblies, etc. try using
winetricks --help.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#270 Post by drunkjedi »

@step,

Thanks for your tip, the apps are 32bit.
Will see how it goes.

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#271 Post by drunkjedi »

Does anyone have Conky package with Imlib, lua, cairo bindings, and whatever else.
For those beautiful rings....

This was how my Tahr64 desktop looked like couple of years ago, Hope to get same in Fatdog...
Image
I looked into compiling one myself,
The Conky WiKi says I need lua5.1-devl, tolua, tolua++ and what not.
It looks like more than I can chew. (Actually I chewed some and couldn't swallow.)

Thanks in advance.


Conky 1.9.0 from fatdog contributed package thread is an old package, but I did try that it gave me following output

Code: Select all

# conky -v
Conky 1.9.0 compiled Wed Sep 24 09:30:16 PDT 2014 for Linux 3.15.5 (x86_64)

Compiled in features:

System config file: /usr/etc/conky/conky.conf
Package library path: /usr/lib/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * wireless
  * config-output
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
# 
And my conky script returns

Code: Select all

# ./conkystart 
Conky: /root/.conky/Ken/cpu: 22: no such configuration: 'imlib_cache_size'
Conky: desktop window (600073) is subwindow of root window (124)
Conky: window type - override
Conky: drawing to created window (0x2400002)
Conky: drawing to double buffer
Conky: /root/.conky/Ken/mem: 21: no such configuration: 'imlib_cache_size'
Conky: desktop window (600073) is subwindow of root window (124)
Conky: window type - override
Conky: drawing to created window (0x2600002)
Conky: drawing to double buffer
Conky: /root/.conky/Ken/rings: 22: no such configuration: 'imlib_cache_size'
Conky: llua_load: /root/.conky/Ken/bin/conky/clock_rings.lua:162: module 'cairo' not found:
	no field package.preload['cairo']
	no file '/usr/share/lua/5.2/cairo.lua'
	no file '/usr/share/lua/5.2/cairo/init.lua'
	no file '/usr/lib64/lua/5.2/cairo.lua'
	no file '/usr/lib64/lua/5.2/cairo/init.lua'
	no file './cairo.lua'
	no file '/usr/lib/conky/libcairo.so'
	no file '/usr/lib64/lua/5.2/cairo.so'
	no file '/usr/lib64/lua/5.2/loadall.so'
	no file './cairo.so'
Conky: desktop window (600073) is subwindow of root window (124)
Conky: window type - override
Conky: drawing to created window (0x2800002)
Conky: drawing to double buffer
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
^CConky: Conky: Conky: received SIGINT or SIGTERM to terminate. bye!received SIGINT or SIGTERM to terminate. bye!received SIGINT or SIGTERM to terminate. bye!



# 
This suggests it has lua but no cairo, Imlib support.



While official package from gslapt gives

Code: Select all

# conky -v
Conky 1.7.2 compiled Sat Sep  3 22:25:41 CEST 2016 for Linux 4.4.18 (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: 

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft

 Music detection:
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * config-output
  * Imlib2
  * ALSA mixer support
  * apcupsd
  * iostats
# 
Which does have Imlib2 but no cairo or lua or even argb visual.....

Code: Select all

# ./conkystart 
Conky: /root/.conky/Ken/cpu: 30: no such configuration: 'own_window_argb_visual'
Conky: /root/.conky/Ken/cpu: 31: no such configuration: 'own_window_argb_value'
Conky: desktop window (600073) is subwindow of root window (124)
Conky: window type - override
Conky: drawing to created window (0x2400001)
Conky: drawing to double buffer
Conky: /root/.conky/Ken/mem: 29: no such configuration: 'own_window_argb_visual'
Conky: /root/.conky/Ken/mem: 30: no such configuration: 'own_window_argb_value'
Conky: desktop window (600073) is subwindow of root window (124)
Conky: window type - override
Conky: drawing to created window (0x2600001)
Conky: drawing to double buffer
Conky: /root/.conky/Ken/rings: 30: no such configuration: 'own_window_argb_visual'
Conky: /root/.conky/Ken/rings: 31: no such configuration: 'own_window_argb_value'
Conky: /root/.conky/Ken/rings: 68: no such configuration: 'lua_load'
Conky: /root/.conky/Ken/rings: 69: no such configuration: 'lua_draw_hook_pre'
Conky: desktop window (600073) is subwindow of root window (124)
Conky: window type - override
Conky: drawing to created window (0x2800001)
Conky: drawing to double buffer
^CConky: Conky: received SIGINT or SIGTERM to terminate. bye!
received SIGINT or SIGTERM to terminate. bye!
Conky: received SIGINT or SIGTERM to terminate. bye!

# 

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#272 Post by drunkjedi »

Hello all,

I almost forgot to tell you, got both softwares from my friend,both worked with wine 3 sfs. Didn't test everything yet but just basic functions.

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#273 Post by drunkjedi »

Hello friends,

I have created a Howto about making a wine menu entry for windows portable apps.
This is not just simply making .desktop files to execute "wine your_app.exe"

It works like wine does when installing app. Creating a .lnk file and then creating a .desktop file for that .lnk.

Hope this helps.

FanDog
Posts: 30
Joined: Thu 25 May 2017, 18:13

midi support

#274 Post by FanDog »

Hi,
trying to get midi support working on FD.

the openTTD package says to set DEFAULT_SOUNDFONT (which is empty here) while their FAQ calls for "Freepats or FluidR3". There isn't any in gslapt but Fluidsynth is already installed, the alternative being Timidity. Will installing that fix it?

thanks

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#275 Post by smokey01 »

Has anyone tried to build vlc-3.0.2 in FD721?

I tried but failed. I would like to try some of the new chromecast and network features.

This appimage:

https://bintray.com/probono/AppImages/d ... 4.AppImage

works providing I run it as spot. It doesn't seem to have the chromecast support but it can see my local network and allows me to watch videos on my Fetch Mighty (PVR).

Thanks

Post Reply