Fatdog64-521 (October 12, 2011)

A home for all kinds of Puppy related projects
Message
Author
gcmartin

#106 Post by gcmartin »

@Hans. You may want to post your .srt so that we can test.

Hope this helps

Hans
Posts: 45
Joined: Thu 16 Mar 2006, 22:38
Location: The Netherlands

vlc-1.1.11 pet

#107 Post by Hans »

Thanks for the help gcmartin,

Attached is the srt of the first tutorial, in fact, it is a downloaded srt from 'back to the future II ' and I filled it with my own text later on after I tested it, same result though. And as I found out later it does not matter, an srt kan be a simple text file renamed to 'same-name-as-mpeg.srt', placed in the same folder as the mpeg.

Works well in all but 1.1.11

I hope you find the culprit!

cheers,
Hans
Attachments
01-Wat gaan we doen.png
rename to '01-Wat gaan we doen.srt' due to extension restrictions of the forum
(3.21 KiB) Downloaded 464 times

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Request for usb_modeswitcher

#108 Post by rerwin »

I have discovered a request in the beginner's forum for the usb_modeswitch utility for hybrid USB modems. I have a package ready to go for 32-bit puppies, but I gather that it should not be used in the 64-bit environment. Since I do not yet have a 64-bit PC to work on, could someone in this thread compile it and make it into a dotpet package? I see that the instructions are already provided by fatdog.

The source package is here:
http://www.draisberghof.de/usb_modeswit ... .1.tar.bz2

The data package for it is here:
http://www.draisberghof.de/usb_modeswit ... 23.tar.bz2

To compile the modeswitcher, the only command needed is:
new2dir make install
From inside the source package. Then use dir2pet to create the package. To keep the naming clean, before running dir2pet, change the source directory name to append "-src" and change the generated directory name to match the original name of the source package.

Do the same with the data package, although nothing in it is actually compiled, just installed.

Thanks.
Richard

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Belated Thank You Billtoo for Wbar

#109 Post by mikeslr »

Hi All, and especially Billtoo:

Thanks Billtoo for the wbar pet. I especially appreciate that it included a config icon and routine for easily installing my own favorite programs. I think your wbar enables giving Fatdog a very "business-like" appearance by reducing desktop clutter. I've enclosed a screenie as an example.

Billtoo's wbar and required imlib2-1.4.5-x86_64 pets can be found here:
http://www.murga-linux.com/puppy/viewto ... 815#573815.

Just a couple of notes to help those interested. When first installed, wbar did not link to fonts on my system nor have a menu entry. I tried to start wbar from the terminal, which is how I discovered the absence of the link to fonts. So I called up rox and browsed to and clicked /usr/bin/wbar, which started it. I then opened another rox window to ~/Startup and created a symlink as I would want wbar to start immediately and also didn't want to take the time to create a desktop-file/menu entry.. With wbar now on my desktop, I clicked the config icon, and then the preferences tab.Noticing that the fonts designation had not been made, I clicked its browse button and set it to one of the fonts at /usr/share/fonts/default/TTF.

Although I'm a big fan of Openbox/fbpanel, especially with DaveS' Launcher pet, I've noticed fbpanel and launcher sometimes have difficulty with applications "installed" to mnt/home, even when a script to call them is created in /my-applications/bin. Wbar doesn't. What's especially handy about the config routine you created are that in installing new icons/apps into it, the icons used can be defined by dragging & dropping them from any opened window, and it is sufficient to define the command to call the application by its name if typing that name into a terminal would start the application.

One last thing: "Happy New Year" everyone.

mikesLr
Attachments
mydesktop.jpg
(116.79 KiB) Downloaded 548 times

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#110 Post by Aitch »

mikeslr

I see you like a partition or 2, then?... :wink:

Aitch :)

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#111 Post by Aung »

@ rerwin, first hurdle

./usb_modeswitch_dispatcher /usr/bin/tclsh: bad interpreter

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

Avidemux, Roxterm pets

#112 Post by Aung »

Has anyone ever made Roxterm and Avidemux for Fatdog.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#113 Post by rerwin »

Aung,
Thanks for working on usb_modeswitch. Maybe we can resolve the interpreter problem. First, check for a tcl interpreter in fatdog64. I assume none is there. To find out, enter:
which tclsh

Assuming there is none, please compile the "Jim" mini tcl interpreter used in puppy. I found it in the puppy source repository:
http://bkhome.org/sources/alphabetical/ ... .63.tar.gz
(puppy, linux).

From its readme file I see that to compile it ready for creation of a dotpet requires only this:

Code: Select all

./configure
new2dir make
Let's hope that is all it takes to get going.
Richard

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#114 Post by Aung »

@rerwin, ,needed tcl as well as jimsh, used ubuntu .deb's. It maybe 'switching', the CD icon dont appear on the desktop. But there is nothing in resolv.conf and no connection. Cant show you 'pupdial' started from a terminal untill I have Roxterm. Here is a small bit from xterm, ./pupdial : line 483 4655 terminated
strange thing, 4655 is my area code.
Aung

ttyUSB1<*1>: ATQ0 V1 E1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB1<*1>: Modem Identifier: ATI -- Manufacturer: TCT Mobile International Limited
ttyUSB1<*1>: Speed 9600: AT -- OK
ttyUSB1<*1>: Max speed is 9600; that should be safe.
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: TCT Mobile International Limited
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
===============
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","dodolns1"
AT+CGDCONT=1,"IP","dodolns1"
OK
--> Modem initialized.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.
==========g
Last edited by Aung on Sun 01 Jan 2012, 12:19, edited 1 time in total.

Hans
Posts: 45
Joined: Thu 16 Mar 2006, 22:38
Location: The Netherlands

term copy paste

#115 Post by Hans »

Aung wrote:I cant copy from Fatdog terminal into Geany or Leafpad, whats the trick. shift + insert dont work. Bacly needing Roxterm!! Aung
from geany to term shift + insert does work
from term to geany shift + insert does not work

default under linux:
-markup text and click middle mouse button, works both ways and is very comfortable to work with.

The shift + insert combination is new to me and I also would like to now if there is an alternate command for 'term to geany'.
On a laptop you have to click both mouse buttons simultaniously and that works a bit awkward. Anyone?

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#116 Post by Aung »

@ Hans, hello,
clicking left and right buttons together doesnt make it happen (xterm to geaney) I an sure it used to work in previous Fatdogs. Is there some thing in xorg conf, mouse, that can be changed to fix it. (to emulate middle mouse button, I have a track ball) Aung

Hans
Posts: 45
Joined: Thu 16 Mar 2006, 22:38
Location: The Netherlands

copy from/to term

#117 Post by Hans »

Hello Aung, that's weird, I've been through allmost all fatdog-releases(full-install) and was allways able to use the touchpad-buttons of my laptop to copy from/to term.

And for the trackball...never owned one so no experience on that, sorry.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#118 Post by rerwin »

Aung,
--> Modem initialized.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.
Do you have "Stupid Mode" selected? That should prevent pupdial from using the logon and password.
needed tcl as well as jimsh, used ubuntu .deb's
Jimsh is a cut-down, simplified version of the tcl interpreter. So you should not need the full tcl. You can use either one. But installing both could confuse things, since they are both "tclsh".
Richard

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#119 Post by Aung »

@rerwin
Do you have "Stupid Mode" selected?
Yes, it seams that message is caused by clearing the username and password.
I have tclsh sorted, yes, dont need tcl, but need a short cut from jimsh in usr/sbin to usr/bin then rename to jimsh.
Here is the quirkiest quirk of all quirks, if I unplug the usb modem then replug the modem it wont switch. Have to load XP and load its program, no need to go on the net, unload the program, turn off the modem from the tray properly, then the modem will switch properly in Fatdog.
Now all I need is etc/resolv.conf to do its job. I know from fooling with Puppy 421 that I wont go nowhere until that is 'resolved'. Aung

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#120 Post by rerwin »

Aung wrote:Here is the quirkiest quirk of all quirks, if I unplug the usb modem then replug the modem it wont switch. Have to load XP and load its program, no need to go on the net, unload the program, turn off the modem from the tray properly, then the modem will switch properly in Fatdog.
Now all I need is etc/resolv.conf to do its job. I know from fooling with Puppy 421 that I wont go nowhere until that is 'resolved'.
I do not know what version of the "hotplug" function is in fatdog. Maybe it is not doing its job. Rebooting with the modem plugged in, though, should trigger the mode switching. And pupdial should handle the setting of /etc/resolv.conf.

I plan to acquire a low-end 64-bit PC soon, so that I can troubleshoot fatdog.
Richard

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#121 Post by Aung »

@rerwin,
Just for an experiment I took out the sim card and inserted a micro SD card. But the micro SD dont show up as a drive, as a USB jump drive it is completely useless. I have been able to unlock the modem but I cant delete the ISP's doze setup files, (not yet, I'll use diskper.exe if I can get away with it) If I were to be able to delete the doze files would that bypass the need for usb_modeswitch at all. I have a dashboard from a mob that calls their selves simply '3'. Putting the question another way, Can I 'hotwire' the modem to NOT need modeswitch but to be responsive (by deleting the doze dashboard) to 3's dashboard? Will diskpar delete the 'CD rom' partition/files? aung

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#122 Post by Aitch »

Aung
I use a 3G device, a huawei E220, successfully in puppy since 4.12 or 4.21? [thanks Rich]
Once the modeswitch is done, invisibly...you aren't even aware the windoze cr*p is there....and it works well - I can't see why you'd want to mess with the flash partition/windoze autorun stuff - it's not doing anything?

The 3 [ISP] dashboard isn't used either, unless you need to top-up, then it's done via a browser

btw I set up an E160, I think it was, for a mate and a uSD card worked as a spare small flashdrive as sdc1, but it has to be a dongle with a microcard slot, not put it where the sim goes

Aitch :)

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#123 Post by Aung »

@Aitch,
'not put it where the sim goes' ~!@#$%^&*()_+, I just flamed you you stupid young boy, I might be old but I'm not that stupid, seriously, they all have USB slots, that's their bug-bear and hence their need for 'modeswitch'. Maybe hotwired is not the correct word to use, 'bypass' may be better. There must be memory inside the dongle like a SSD or a SD drive has and it is formatted as a CD rom and nothing can touch it (delete it), except something like diskpar or maybe fdisk that can take it back to its 'raw' state without any sectors. The big question is, after being formatted again without the doze modeswitch CDrom cr*p would pupdial see the dongle hardware and communicate with it. Is there a dongle that does not have a USB micro SD slot built in??? Aung

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#124 Post by Aitch »

:lol: :lol: :lol: Flame away, I've been well and truly cooked

64 years is young...great! thanks
We seem to be at cross purposes here, however
Just for an experiment I took out the sim card and inserted a micro SD card,
....and
seriously, they all have USB slots

....makes me wonder if you do understand...
It is possible to get wifi dongles that have a uSD slot which you can put a uSD card in....(u=micro) - but it is a different slot to the sim card one, and uSD shouldn't even fit in a sim slot
see http://acer--uk.custhelp.com/app/answer ... crosd-card
you will see the differences in card shapes
also, you aren't the 1st
http://www.nokiausers.net/forum/nokia-n ... -oops.html
OK, they aren't dongles but have the same slots nonetheless

However the flash memory that has the win code in is a tiny chip soldered in, with an autorun code with driver etc for win [and maybe mac?] users, but not linux.... and as far as I know it's read only memory 'rom' type, not 'ram' random access memory, writeable type, [i.e. hard-coded, or blown fusible links...look it up] - so diskpar nor gparted nor any other utility will affect it

OK, old man....?.. :wink:

Aitch :)

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Fatdog64-521 (October 12, 2011)

#125 Post by Billtoo »

I made a vlc-1.1.13-x86_64.sfs

Compiled and tested in fatdog 5.2.1

The download link is:

http://www.datafilehost.com/download-65577678.html

Post Reply