Author Topic: pdaXrom-Fvwm  (Read 15323 times)

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #30 on: November 11, 2004, 04:07:47 pm »
hello jerrybme,

how can i see if its symlinked to awk?

i get following error:
Quote
bash-3.00# matchbox2fvwm
DestroyMenu office
AddToMenu office
...
DestroyMenu systools
AddToMenu systools
awk: cmd. line:88: Call to undefined funktion

my pdaxrom_menu looks not too bad, but after restarting fvwm
i´ve the same old menu  

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #31 on: November 11, 2004, 04:07:49 pm »
Quote
Quote
hello,
got the same problem as keidin.

only get the standard  builtin menu. But i have a .fvwm2rc and pdaxrom_menu in my /home/root
i tried copy them to my /mnt/card/home/root/.fvwm/ diectory but nothing happens   

how to fix this?

thanks denis
I had similar problems as I installed fvwm to /mnt/user because my / is almost full.

First run from xterm ->
Code: [Select]
# matchbox2fvwm
That's what writes the pdaxrom_menu file. That should tell you's not working. In my case the error was related to awk. It was symlinked to busybox and not to the awk binary in my /mnt/user partition. To fix it I just deleted the the symlink and created a new one pointing the the awk binary in /mnt/user/usr/local/bin (if you installed to /mnt/card it'll be in/mnt/card/usr/bin - or /mnt/card/usr/local/bin).

If you can't figure it out post the error message from matchbox2fvwm
I didn't know BusyBox can emulate awk too. It seems that only a "real" awk can handle my script well.
Deniscallies, see if there's anything in that pdaxrom_menu file, try what Jerrybme said and what I wrote before, if nothing helps, post the error messages.

Anyway, it seems to be a good idea to install the pack to the root (/).

I'm working now on the portrait-landscape mode switch and on the turn-off-the-screen-if-closed feature.

I think I will rename the next pack (0.3 version ) to fvwm-pdaxrom, because this way it is near in the list to the fvwm package, so easier to find and I want it to be similar to the original "matchbox-pdaxrom" package naming.

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #32 on: November 11, 2004, 04:50:22 pm »
Quote
hello jerrybme,

how can i see if its symlinked to awk?

i get following error:
Quote
bash-3.00# matchbox2fvwm
DestroyMenu office
AddToMenu office
...
DestroyMenu systools
AddToMenu systools
awk: cmd. line:88: Call to undefined funktion

my pdaxrom_menu looks not too bad, but after restarting fvwm
i´ve the same old menu  
It seems you have the busybox version awk. Check with the "$ which awk" command where is your awk file located. Then do an "$ ls -l /dir/where/the/file/is/awk".
You will see if it's a link or not. (a "/somewhere/something -> othersomewhere/othersomething" in the line)
If the which says it is located in the /usr/bin then you haven't changed your path to include the /usr/local/bin dir first. See this post about path setting.
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #33 on: November 12, 2004, 03:32:18 pm »
Quote
I'm working now on the portrait-landscape mode switch and on the turn-off-the-screen-if-closed feature.

I think I will rename the next pack (0.3 version ) to fvwm-pdaxrom, because this way it is near in the list to the fvwm package, so easier to find and I want it to be similar to the original "matchbox-pdaxrom" package naming.

Zumi
Great news Zumi  

Here's my latest screenshot on the desktop thread here.

Cheers,
Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #34 on: November 12, 2004, 04:31:00 pm »
Quote
Great news Zumi   

Here's my latest screenshot on the desktop thread here.

Cheers,
Jerry
Looks nice, the wallpaper has a c00l feeling.
But I still don't understand why your taskbar applet items are overlapping each other. You made the fonts bigger? Or it is like this by default? You see, on my screenshot they are OK.

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #35 on: November 12, 2004, 05:11:44 pm »
Quote
But I still don't understand why your taskbar applet items are overlapping each other. You made the fonts bigger? Or it is like this by default? You see, on my screenshot they are OK.
Well, I've done so much hacking of your config files, that I can't really say if it was that way as default (should have saved your original config    ) I have increased most instances of fonts as I have bad eyes and like larger text on my Z. Anyway, guess I'll find out when I reflash with the RC6 image -which will be soon, I hope

Cheers and thanks for all of your great work on fvwm,

Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #36 on: November 16, 2004, 01:38:05 pm »
Zumi:
I've found a strange problem with playing movies under fvwm. When you use the -fs flag for fullscreen combined with the xrandr -s 1 resolution reduction, it seems to try and place the image in the what would have been the center if the resolution was still 640X480. Only the top left hand corner is visible in the lower right hand corner of the screen.

When I switch back to matchbox it plays fine, full screen. I'm using basticlehaar's latest mplayer and my script is:
Code: [Select]
xrandr -s 1 && mplayer -fstype fullscreen -fs -ac mad -af volume -really-quiet $1 && xrandr -s 0
Thanks,

Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #37 on: November 16, 2004, 05:11:11 pm »
Video playing is working fine for me. I'm using these settings too, but I inserted some sleep commands in my movie playing script:
Code: [Select]
#!/bin/bash
xrandr -s 1
sleep 1
mplayer -fstype fullscreen -fs "$@" >/dev/null
sleep 1
xrandr -s 0
sleep 3

And an addition to my scripts:
I found out that the taskbar script does using a lot of resources, because it polls some files in every sec with cat, so the sum of these are big, however the FvwmScript is not using much itself.

A workaround:
in the .fvwm2rc file, 398. line (according to the 0.2 version)
Remove this:
Code: [Select]
*ZaurusTaskbar: (12x1, Right, Swallow (Respawn) ZaurusApplet `FvwmScript zaurus_applet`)Add this:
Code: [Select]
*ZaurusTaskbar: (12x1, Right, Swallow (NoRespawn) ZaurusApplet `FvwmScript zaurus_applet`)
Now you can kill the applet if you're doing something like video playing.
Code: [Select]
killall -9 FvwmScriptAnd you can restart it with hitting CTRL-ALT-R (this is my default key for restarting Fvwm)
So if you are planning to do some video playing, for example, I think this will be useful and needed.

Further plans are to write this applet using GTK and C to use little processor time, but I'm not too familiar with these, so I will need time to experience with them.
Anyway, sooner or later we will have a nice (perfect?) WM for the Zaurus.

Zumi
« Last Edit: November 16, 2004, 05:14:14 pm by Zumi »
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
pdaXrom-Fvwm
« Reply #38 on: November 17, 2004, 03:05:13 am »
There seems to problem with Aterm when switching resolutions and running mplayer - so the sleep 1 as Zumi uses is good another way is disable the transparency in Aterm, but thats less eyecandy :-)
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #39 on: November 17, 2004, 11:42:37 am »
Zumi:
Thanks for the tips, I'll mod my fvwm2rc file as suggested. The sleep commands in my script don't  solve my fullscreen problem. I think I'll try your default config to see if some of my tweaks have caused the problem.

**Update** Hmm, loaded your original fvwm2rc file and still having the centering problem with mplayer. Wierd that it works fine in matchbox but not fvwm. Next I'll try down grading to the original mplayer to see if it an issue with the newer version.

Laze:
Interestingly I've not experienced any problems playing video from the aterm. I tried running it from xterm and still have my centering problem.

Cheers,
Jerry
« Last Edit: November 17, 2004, 12:04:01 pm by jerrybme »
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
pdaXrom-Fvwm
« Reply #40 on: November 17, 2004, 02:14:04 pm »
uhhh. Sorry we have only seen this problem under our "standard" (matchbox) window manager - haven't tried under FVM - just thought it might be the same thing :-)
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #41 on: November 17, 2004, 04:54:45 pm »
Quote
uhhh. Sorry we have only seen this problem under our "standard" (matchbox) window manager - haven't tried under FVM - just thought it might be the same thing :-)
Well, nothing wrong with my video playing, so it might be something not related to the WMs.

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #42 on: November 18, 2004, 02:41:01 pm »
Quote
But I still don't understand why your taskbar applet items are overlapping each other. You made the fonts bigger? Or it is like this by default? You see, on my screenshot they are OK.
Well, I figured it out. When I first started hacking your config, I was trying to increase the font size on the taskbar to make them easier to read. I tweaked the font settings in zaurus_applet and that is why even though I tried your original .fvwm2rc config it was still overlapping. I reset the font size back to 12 pt.
« Last Edit: November 18, 2004, 06:08:22 pm by jerrybme »
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

xiaman

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
pdaXrom-Fvwm
« Reply #43 on: November 18, 2004, 06:19:11 pm »
how do you caputure the screen shot .
i can do it from the bash screen . but you see command to capture.
and is it possible to save to sd card while making capture
thanks
c750 pdx rom rc5. sl5500 chinese rom 3.10
d-link wifi ... sandisk wifi

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
pdaXrom-Fvwm
« Reply #44 on: November 18, 2004, 08:47:49 pm »
Quote
how do you caputure the screen shot .
i can do it from the bash screen . but you see command to capture.
and is it possible to save to sd card while making capture
thanks
I use three different methods: either I connect via vnc and take the screenshot on my desktop (the easiest method) and crop it down; use gimp & screenshot plugin on my Z; or use
Code: [Select]
xwd -display :0.0 -root -out /mnt/card/screen.xwd
The later method requires converting the .xwd file to a png or jpg so the gimp method has fewer steps. There are probably simplier methods, but those the ones I know.

Cheers,
Jerry
« Last Edit: November 18, 2004, 08:48:05 pm by jerrybme »
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF