My 'vlc_nogui' PET is only 1.7MB, and I was able to get vlc-gtk to work with it, however as stated in my blog, I had to edit the /usr/bin/gtk-vlc script.

...note, I took out the "rxvt -e", don't understand why that is there. I added "-I dummy" to the vlc commandline -- but perhaps the vlc configuration file could be set to "dummy" interface as default.

There is one remaining problem, the on-screen controls do not work. I think that I need help with that.

Note, my vlc_nogui package might even work in Puppy 4.x, as VLC is written in C (not C++ which could cause trouble) and Wary uses the same Xorg 7.3 version as does Puppy 4.x. Oh, but Puppy 4.x does not have all the dependencies -- Wary has many more multimedia packages. So, it might be made to run, after installing all the deps. Maybe.

...note, I took out the "rxvt -e", don't understand why that is there. I added "-I dummy" to the vlc commandline -- but perhaps the vlc configuration file could be set to "dummy" interface as default.

There is one remaining problem, the on-screen controls do not work. I think that I need help with that.

I think sc0tman brings up console just because of controls problem - vlc console interface has some basic controls.
Keyboard shortcuts should work ok though for video - Ctrl + arrows control volume and jumping back and forth some seconds, also there are much more shortcuts for switching subtitles and chapters which I don't remember now.

dummy interface on the other hand doesn't have any controls I think and can be started with cvlc wrapper too._________________puppy.b0x.me stuff mirrored HERE or HERE

...note, I took out the "rxvt -e", don't understand why that is there. I added "-I dummy" to the vlc commandline -- but perhaps the vlc configuration file could be set to "dummy" interface as default.

There is one remaining problem, the on-screen controls do not work. I think that I need help with that.

I think sc0tman brings up console just because of controls problem - vlc console interface has some basic controls.
Keyboard shortcuts should work ok though for video - Ctrl + arrows control volume and jumping back and forth some seconds, also there are much more shortcuts for switching subtitles and chapters which I don't remember now.

dummy interface on the other hand doesn't have any controls I think and can be started with cvlc wrapper too.

I added the 'rxvt -e' because on Puppy 4.2 (TurboPup/PuppyArcade/Puplite) vlc will not load up or play anything otherwise.. (The code came from dejan555, but didn't work on 4.2 until I added the 'rxvt -e' bit.... maybe I missed a trick, not sure..)

It also seems to be a good idea for music playback, until I make some on screen controls specific to music file playback ( I didn't do that, as I don't see many people wanting vlc-gtk for music playback..)

I wish I could do without the popup rxvt window though - at least for video playback!
...I hate the extra rxvt window popping up, but it is a necessity on my all 4.2s!

I was unable to make the on screen controls work with version later than 0.8.6, but I will have another go with this one.

I added the 'rxvt -e' because on Puppy 4.2 (TurboPup/PuppyArcade/Puplite) vlc will not load up or play anything otherwise..

Oh I don't remember you had to use it.

Maybe I'm just being stupid, but that is the only way I got the no_gui vlcs to *show* anything on my 4.2s
(But I know nothing of the 'dummy' interface, etc...)

dejan555 wrote:

sc0ttman wrote:

The code came from dejan555

That lousy Xdialog window with only few options
Yours is much more advanced.

haha, not trying to blame you for any problems, by the way...

----------

Also, about the on screen controls if anyone wants to give it a go:

The trick is getting xdotool to find and attach itself to the right window, the rest is easy...

But I found different versions of xdotool behave/work differently..
..and none worked perfectly as far as I could tell, unless I was using it wrong!! _________________Akita Linux, VLC-GTK, Pup Search, Pup File Search

Hmm, so you're using some kind of mouse/kbd emulation for controls, it emulates keyboard shortcuts on vlc output window or similar?

I was searching to find out more about it's dbus interface but couldn't find much info/or understand but I think it's not well maintained anymore.
Too bad they're focusing on qt frontends now._________________puppy.b0x.me stuff mirrored HERE or HERE

Hmm, so you're using some kind of mouse/kbd emulation for controls, it emulates keyboard shortcuts on vlc output window or similar?

Yes, when you click a button in the on-screen controls gui, it makes xdotool send a key command to the chosen vlc window (ctrl+right, etc)..

(vlc-gtk also supports 'RejoystickCC' - a tool of mine found in Puppy Arcade - so you can use your joypad to control vlc during playback
... but its a separate thing from xdotool)_________________Akita Linux, VLC-GTK, Pup Search, Pup File Search

I gave it version number 2.2.1, and I separated xdotool out to its own package.

This should work in all modern puppies, but only tested in Wary 5.0. I tried to put in special testing for older vlc versions, as my version 1.1.5 has some differences from the older PETs linked earlier in this thread.

So it will be interesting to see if my scripts work with the older vlc versions.

Note, I have put my initials "BK" where I have made changes in the scripts._________________http://bkhome.org/news/

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum