alphaOS [closed]

A home for all kinds of Puppy related projects
Message
Author
Arefacti
Posts: 165
Joined: Wed 10 Oct 2012, 12:43

Re: problem openbox

#221 Post by Arefacti »

simargl wrote:
Arefacti wrote:Hello

I tested XFCE4 and wanted to return to openbox.

So, I removed xfce4 packages and re start X
openbox start well but the menu had problems. Those windows appears and the applications don't start :

Invalid output from pipe-menu "openbox-menu /etc/xdg/menus/lxde-applications.menu"

Have you ideas please ?
Can you verify that lxde-applications.menu is in folder /etc/xdg/menus. Maybe try to remove /root/.cache it should force menu to recreate. And what is output "openbox-menu /etc/xdg/menus/lxde-applications.menu" in terminal

Cheers
Hello, Simargl
thanks for your answer.
I had a save, so I use it !

User avatar
ndrancs
Posts: 40
Joined: Tue 02 Apr 2013, 06:48

what

#222 Post by ndrancs »

simargl wrote:commit history https://bitbucket.org/simargl/alphaos
Up: ffmpeg (1.2)
add: libdvdread 4.2.0
add: libdvdnav 4.2.0
add: libbluray 0.2.3
add: faad2 2.7
add: xvidcore 1.3.2
add: x264 20130206
add: speex 1.2rc1
add: opencore-amr 0.1.3
add: libva 1.1.0
add: libtheora 1.1.1
add: lame 3.99.5
[root@alphaos ~]# ffmpeg
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 6 2013 12:44:49 with gcc 4.7.2 (alphaOS)
configuration: --prefix=/usr --mandir=/usr/share/man --enable-vaapi --enable-gpl --enable-version3 --enable-avfilter --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-shared --enable-pthreads --enable-postproc --enable-x11grab --enable-small --disable-debug --disable-static --disable-doc --disable-htmlpages --disable-manpages
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
[root@alphaos ~]#
what exactly is the difference between versions 1.1.4 and 1.2, I would have seen this when downloading in ffmpeg.org yesterday. maybe you know?

if I'm not mistaken, I think mplayer2 must be recompiled as well?

Okay, I'll try to download this commit, to see if it can be directly applied in version 4.

Arefacti
Posts: 165
Joined: Wed 10 Oct 2012, 12:43

Print

#223 Post by Arefacti »

Hello !

what about the rcrsn51's proposition ?

http://murga-linux.com/puppy/viewtopic. ... &start=135

I want to print with a lexmark S305 wifi, and the lexmark_inkjet_legacy-1.0.1.pet was working perfectly.

Cheers

simargl

#224 Post by simargl »

I've tested some audio and video formats with new mplayer
.mp4
.ogg (works in deadbeef)
.ogv
.flv
.avi
.mov
.mpg
.swf

.wmv
.wma

Personally I couldn't care less for wmv and wma, what is your opinion. Maybe you have idea what is missing to make them work (some DLL file) , terminal output is bellow

Code: Select all

[root@alphaos test_media]# mplayer testing.wma
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team

Playing testing.wma.
Detected file format: asf (libavformat)
[lavf] stream 0: audio (wmav2), -aid 0, -alang eng
Clip info:
 WM/ToolName: Cool Edit Pro
 WM/ToolVersion: 2.01.3097.0
 WMFSDKVersion: 9.00.00.2980
 WMFSDKNeeded: 0.0.0.0000
 IsVBR: 0
 DeviceConformanceTemplate: L2
 WM/WMADRCPeakReference: 23197
 WM/WMADRCAverageReference: 3216
Load subtitles in .
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unsupported sample format
Unsupported sample format
ADecoder init failed :(
Could not open audio decoder ffmpeg.
Opening audio decoder: [dmo] Win32/DMO decoders
Win32 LoadLibrary failed to load: /usr/lib/codecs/wmadmod.dll
IMediaObject ERROR: 0x82a51ec  could not open DMO DLL (0x0 : 0)
ERROR: Could not open required DirectShow codec wmadmod.dll.
ADecoder preinit failed :(
Could not open audio decoder dmo.
Opening audio decoder: [acm] Win32/ACM decoders
Loading codec DLL: 'divxa32.acm'
Win32 LoadLibrary failed to load: /usr/lib/codecs/divxa32.acm
Can't open library divxa32.acm
ACM_Decoder: Unappropriate audio format
Could not load/initialize Win32/ACM audio codec (missing DLL file?).
ADecoder preinit failed :(
Could not open audio decoder acm.
Cannot find codec for audio format 0x161.
Audio: no sound
Video: no video


Exiting... (End of file)

User avatar
ndrancs
Posts: 40
Joined: Tue 02 Apr 2013, 06:48

win32 codec

#225 Post by ndrancs »


simargl

#226 Post by simargl »

Logout dialog in xfce did not work for reboot and shutdown, so I replaced that with my old logout script written in yad. To use this new version just reinstall package xfce4-session- clean packages cache first with: spkg -cc

simargl

Re: win32 codec

#227 Post by simargl »

ndrancs wrote:perhaps this codec?
http://www.mplayerhq.hu/MPlayer/releases/codecs/
You mean this all-20110131.tar.bz2 (25MB)

I extracted files to /usr/lib/codecs as suggested in README, but still wma not working

Code: Select all

[root@alphaos test_media]# mplayer testing.wma
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team

Playing testing.wma.
Detected file format: asf (libavformat)
[lavf] stream 0: audio (wmav2), -aid 0, -alang eng
Clip info:
 WM/ToolName: Cool Edit Pro
 WM/ToolVersion: 2.01.3097.0
 WMFSDKVersion: 9.00.00.2980
 WMFSDKNeeded: 0.0.0.0000
 IsVBR: 0
 DeviceConformanceTemplate: L2
 WM/WMADRCPeakReference: 23197
 WM/WMADRCAverageReference: 3216
Load subtitles in .
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unsupported sample format
Unsupported sample format
ADecoder init failed :(
Could not open audio decoder ffmpeg.
Opening audio decoder: [dmo] Win32/DMO decoders
AUDIO: 44100 Hz, 1 ch, ??, 48.0 kbit/6.81% (ratio: 6003->88200)
Selected audio codec: [wmadmo] afm: dmo (Windows Media Audio DMO)
==========================================================================
[AO_ALSA] Format ?? is not supported by hardware, trying default.
AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
[format] The number of bytes per sample must be 1, 2, 3 or 4. Current value is 8 
Couldn't find matching filter/ao format!
Audio: no sound
Video: no video


Exiting... (End of file)

simargl

#228 Post by simargl »

New window manager packages:
pekwm-0.1.16-2.spkg
jwm-724-2.spkg
icewm-1.3.7-3.spkg
fluxbox-1.3.5-2.spkg
fbpanel-6.1-3.spkg

fluxbox and jwm are "fixed" to use sakura as the default terminal, /root/.start as for openbox is still usable for every other window manager, you can comment tint2 (add # before) and install fbpanel if you want panel with a menu.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Print

#229 Post by rcrsn51 »

Arefacti wrote:I want to print with a lexmark S305 wifi, and the lexmark_inkjet_legacy-1.0.1.pet was working perfectly.
Update: I have removed the HP and Epson drivers from the package. You can now install them with the usual PETs.

AlphaOS has CUPS 1.4.8, but the rest of the printing system is in the downloadable package print_scan_alphaos-4.0.tar.gz from here. Click the smaller Download button on the LEFT.

1. Download the package to a temporary location.
2. Click on the file to extract it.
3. Inside, you will find a folder containing the individual components and a script named install.sh
4. Press F4 to open a terminal.
5. Run: sh install.sh
6. Look in Menu > Applications > System Tools for Manage CUPS Printers and in Menu > Applications > Graphics for Peasyscan.

The system has built-in Gutenprint drivers and a basic set of SANE scanner backends. But you can also install many of the print/scan driver PETs from here. Use the command ppet - the Puppy Package Extraction Tool. For example:

Code: Select all

ppet brother_hl2070n-2.0.pet
You can also use ppet to install any of the PeasyApps listed here.

If you install this package, please provide feedback.

------------------------------------------
Last edited by rcrsn51 on Sun 19 May 2013, 00:00, edited 4 times in total.

simargl

Re: Print

#230 Post by simargl »

Thanks rcrsn51, I have updated first post with link to your printing system.

User avatar
ndrancs
Posts: 40
Joined: Tue 02 Apr 2013, 06:48

Re: Print

#231 Post by ndrancs »

simargl wrote:Thanks rcrsn51, I have updated first post with link to your printing system.
which one is better? inserted into the main iso or created as spkg?

Arefacti
Posts: 165
Joined: Wed 10 Oct 2012, 12:43

Re: Print

#232 Post by Arefacti »

rcrsn51 wrote:
Arefacti wrote:I want to print with a lexmark S305 wifi, and the lexmark_inkjet_legacy-1.0.1.pet was working perfectly.
AlphaOS has CUPS 1.4.8, but the rest of the printing system is in the downloadable package print_scan_alphaos-3.0.tar.gz from here. Click the smaller Download button on the LEFT.

1. Download the package to a temporary location.
2. Click on the file to extract it.
3. Inside, you will find a folder containing the individual components and a script named install.sh
4. Press F4 to open a terminal.
5. Run: sh install.sh
6. Look in Menu > Applications > System Tools for Manage CUPS Printers and in Menu > Applications > Graphics for Peasyscan.

The printing system has built-in Gutenprint, HP and Epson drivers and a basic set of SANE scanner backends. But you can also install many of the print/scan driver PETs from here. Use the command ppet - the Puppy Package Extraction Tool. For example:

Code: Select all

ppet brother_hl2070n-2.0.pet
I did a quick test with the Lexmark driver and it looks OK.

You can also use ppet to install any of the PeasyApps listed here.
Hello rcrsn51,
thanks for your job.
Try to install the lexmark pet, seems that there is problem :

Code: Select all

ppet lexmark_inkjet_legacy-1.0.1.pet 
1+0 records in
1+0 records out
4161504 bytes (4,2 MB) copied, 0,382718 s, 10,9 MB/s

gzip: stdin: unexpected end of file
tar: Fin prématurée rencontrée dans l'archive.
tar: Fin prématurée rencontrée dans l'archive.
tar: Error is not recoverable: exiting now
Done
BUT, when I try to install my print the Lexmark Pro S300 appears.

unfortunately, this one don't work :

Code: Select all

Print Test Page lexmark Error

Unable to print test page:

Unsupported format 'application/vnd.cups-banner'!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Print

#233 Post by rcrsn51 »

Arefacti wrote:Try to install the lexmark pet, seems that there is problem
I downloaded the lexmark_inkjet_legacy-1.0.1.pet and ppet extracted it cleanly. Maybe you got a bad download. It should be 10 MB but it looks like you only got 4 MB.
Unsupported format 'application/vnd.cups-banner'!
Which alphaOS version are you using? I checked this in version 3 and test pages printed OK.

However, since your driver download is corrupted, it's impossible to know what is going wrong.

[Edit] I checked printing in version 4 and everything looks OK.

Arefacti
Posts: 165
Joined: Wed 10 Oct 2012, 12:43

Re: Print

#234 Post by Arefacti »

rcrsn51 wrote:
Arefacti wrote:Try to install the lexmark pet, seems that there is problem
I downloaded the lexmark_inkjet_legacy-1.0.1.pet and ppet extracted it cleanly. Maybe you got a bad download. It should be 10 MB but it looks like you only got 4 MB.
Unsupported format 'application/vnd.cups-banner'!
Which alphaOS version are you using? I checked this in version 3 and test pages printed OK.

However, since your driver download is corrupted, it's impossible to know what is going wrong.


It works !
(The version is AlphaOS 4.0)
yes the download was effectively corrupted. BUT after a right download and install, the print didn't work yet.
SO, to verify my parameters, I print thanks to the print board the network configuration and so..It works.
Don't know why it unlocked all
but.. voilà,
Thanks again you two rcrsn51 and Simargl
(for me, a distribution without print IS NOT a distribution)

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#235 Post by Scooby »

I wanted to report success on getting touchpad to work with the xorg.conf from Carolina!

But when I did mksquashfs on alpa_400.sfs it came out 6M bigger
I used xz compression.

Sim, do you use any special options to get better compression?

Still having problems with sakura terminal.

So I have to type the commands I want to run in a script file and then
rightclick and execute in spacefm.

Tried removing .conf/sakura folder - still no prompt

What is happening when I click on sakura the window shows but doesnt receive
keystrokes. Usually there is a prompt by the cursor. Mine shows only cursor that doesnt blink.

Obs! right click menu working in sakura

Can run commands at cli with X_AUTOLOGIN=no

Tried it on my old IBM T41, sakura works here with prompt

is there an alternate terminal for alphaos I can try.
I tried running /bin/bash but got no window.

Any input would be most welcome
Last edited by Scooby on Mon 08 Apr 2013, 18:29, edited 3 times in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Print

#236 Post by rcrsn51 »

Arefacti wrote:(for me, a distribution without print IS NOT a distribution)
Agreed. I hope that other print/scan testers will report back.

simargl

#237 Post by simargl »

Scooby wrote:I wanted to report success on getting touchpad to work with the xorg.conf from Carolina!

But when I did mksquashfs on alpa_400.sfs it came out 6M bigger
I used xz compression.

Sim, do you use any special options to get better compression?
I use this SFS_COMPRESSION="-comp xz -b 524288 -Xbcj x86"
Scooby wrote:Still having problems with sakura terminal.

So I have to type the commands I want to run in a script file and then
rightclick and execute in spacefm.

Tried removing .conf/sakura folder - still no prompt

What is happening when I click on sakura the window shows but doesnt receive
keystrokes. Usually there is a prompt by the cursor. Mine shows only cursor that doesnt blink.

Obs! right click menu working in sakura

Can run commands at cli with X_AUTOLOGIN=no

Tried it on my old IBM T41, sakura works here with prompt

is there an alternate terminal for alphaos I can try.
I tried running /bin/bash but got no window.

Any input would be most welcome
That error with sakura is really strange, you can try xterm from attachment bellow
Attachments
xterm.tar.gz
(171.15 KiB) Downloaded 282 times

simargl

#238 Post by simargl »

New icon for spkg packages
https://bitbucket.org/simargl/spkg/comm ... 02cb0d6d55
What do you think? :o

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#239 Post by Scooby »

I like the new icon, very informative!

I did a quick try(will put in more time testing later). Unpack xterm to correct folders.
Tried to run it via script, got nothing, no window!?

something is in conflict? something from profile?

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#240 Post by Scooby »

Tested a bit more and got the following error from xterm

xterm: Error 32, errno 2: No such file or directory
Reason: get_pty: not enough ptys

googled and tried some different solution but couldnt get it to work?

Tried downloading MAKEDEV from Arch repo but I couldnt execute binary?

Post Reply