Help - Search - Members - Calendar
Full Version: Fvwm-pdaxrom 0.4.x
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
Zumi
After 5 months and 2 days of developing fvwm-pdaXrom team proudly presents *drumroll*...
...the new pdaXrom tuned Fvwm config files! (to cut down PR costs, this is from the speech of the 0.3.x release smile.gif)

Download the 0.4.5 release: Click to view attachment

Changelog since 0.3.1:
CODE
======================
fvwm-pdaxrom ChangeLog
======================

0.4.5 (2005-12-18)
    * files are distributed in the system directories, from the
    original /home/root/.fvwm directory
    * everything is home independent, symlink the
    /usr/share/fvwm-pdaxrom/xinitrc file as .xinitrc in an other
    home directory to use the package with another user too
    * added sample config lines to the .fvwm/personal/config file
    to help simple color changes, keybindigs modification

0.4.0 (2005-12-03)
    * updated ztaskbar, graphic battery display in the systray
    * added .fvwm/personal directory where you can store and use
    your altered config files across fvwm-pdaxrom installations
    * you can now edit .fvwm/personal/menutop or menubottom to add
    menu items to the pdaXrom menu more easily
    * added dinamically generated menus to the FvwmRoot menu, so
    you can set or view various things with a click in the menu
    * "Network Schemes" dynamic menu - set or view the active
    network scheme
    * "Volume" dynamic menu
    * "CPU Speed" dynamic menu


Release notes:
Read the welcome message after installing it, for more info.
The package depends on the "fvwm", it's in the official feed of RC12.
Previous topics about older releases: "pdaXrom-Fvwm, more eyecandy, less memory usage" and "Fvwm-pdaxrom 0.3.x, 0.3.1 released"
If you are thinking about "where was the 0.4.0 release...?" then the answer is, nowhere. It was only a pre-release and I made some big changes, so I skipped that one. smile.gif

Here's a picture about new dynamic menus and the new ztaskbar with graphical battery meter:
Click to view attachment

Let this be the bugreport thread, so feel free to report bugs here, suggest changes and express delight.
I hope you like all the stuff,
Zumi smile.gif
gromituk
Well done - I took the plunge and it seems to work a treat. An immediate comparison with the default WM is that the taskbar is actually present on all desktops.

Does it need to be/is it restarted if the Z is left off for more than 12 hours? The restart on the default WM at least prevents lockup, but is very annoying as it takes ages to refresh everything and resets to Desktop 1.
Zumi
QUOTE(gromituk @ Dec 18 2005, 08:47 PM)
[...]
Does it need to be/is it restarted if the Z is left off for more than 12 hours?  The restart on the default WM at least prevents lockup, but is very annoying as it takes ages to refresh everything and resets to Desktop 1.
*

Well, I'm using fvwm-pdaxrom for more than a year and I haven't experienced lockups with it. I went through several flashing and RC versions, I used to leave my Z suspended for more than 12 hours but I don't remember about lockups since the RC5 came out (there were stability problems before that).

Zumi
gromituk
That's good - but I presume I have to modify some script somewhere to prevent the WM being restarted automatically.
Zumi
Well, I don't think so. If there's a restarting script (what I haven't noticed yet) it must be restarting the openbox or matchbox processes, so it doesn't do a thing in Fvwm. smile.gif
spaul
Hey Zumi,
Just curious, does the nokia bluetooth card you are using work with the PDAXROM using the GUI alone and not tinkering with some config script.
To the best of my knowledge no one has listed a success with a BT card using the GUI alone without editing.
spaul
Never mind, I should have read your sig closer its gps bluetooth, i'm curious about phone connections
cattin
Keep up the good work! I like your fvwm configuration a lot. It allows me to configure and change the functionality very easily. As of this release it works a lot better on the SL-C3100. There are only two thinks that aren't properly working so far:

(1) the CPU speed Menu. Your CPU speed logic doesn't seem to work on the C3k1 platform. I'll try to look into this next week.

(2) from time to time strange things happen to the taskbar when turning on the Z. Sometimes I get an additional purple 'X' with the root menu, sometime I get an additional ztaskbar in a separate window.

BTW: I love your dynamic menus! I haven't yet studied the mechanics behind it, but it seems the logical place for a CF/SD/wlan card unmounting menu.

regards, Philippe
gromituk
There is some sort of restarting script, yes. If you turn the Z on after a period of inactivity, it doesn't just re-draw the visible windows but the task-bar as well, and resets you to the "first" virtual desktop.
Zumi
QUOTE(cattin @ Dec 22 2005, 09:52 AM)
Keep up the good work! I like your fvwm configuration a lot. It allows me to configure and change the functionality very easily. As of this release it works a lot better on the SL-C3100. There are only two thinks that aren't properly working so far:

(1) the CPU  speed Menu. Your CPU speed logic doesn't seem to work on the C3k1 platform. I'll try to look into this next week.

Yeah, I thought that's different in Cxx00 versions, but I can't figure that out with a C860. smile.gif
QUOTE
(2) from time to time strange things happen to the taskbar when turning on the Z. Sometimes I get an additional purple 'X' with the root menu, sometime I get an additional ztaskbar in a separate window.

Well, these things never happened here. Somebody is experiencing the same thing?
QUOTE
BTW: I love your dynamic menus! I haven't yet studied the mechanics behind it, but it seems the logical place for a CF/SD/wlan card unmounting menu.

I was playing with this mount menu idea when I had time and I made some draft. It's in Python, so it need to be rewritten in C to use it as a dynamic menu in a release (because it's quite slow this way), but I think it's good to study the mechanism behind them if you try to incude it in your config. smile.gif

It looks like this (green is mounted, blue is busy (you cannot unmount it) and grey is unmounted; if you click on a green, it gets umounted, if on a blue, nothing happens, if on a grey, it gets mounted):
Click to view attachment
And here is the script. I'm gladly help if you are stuck how to use it, but I will include this in some form in the next release anyway. smile.gif
Click to view attachment
(sorry about "zip", the forum is bitchy about file extensions and it only allowed this, no py, no bz2)
gromituk
I found on my 860 that I sometimes got oddities happening, with the screen filling with task bars, each one showing nothing but the name of one open application.
scoutme
why my menu has no application, exception Aterm and the 3 Exit, Rotate and TheOtherICannotRemember ?
Zumi
QUOTE(scoutme @ Jan 11 2006, 07:11 AM)
why my menu has no application, exception Aterm and the 3 Exit, Rotate and TheOtherICannotRemember ?
*

Probably the /usr/bin/fvwm-menu-generator.py program doesn't generates the menu on startup. Try to run it from console and see what's the error.
It happened for me sometimes that there were broken links in /usr/share/applications/ which made the script exit. If it's the same for you, then deleting the broken links solves the problem.
I try to make it more error-proof in the next version.

Zumi
jerrybme
Zumi:

Love the new release! Been using it for a while. I've got a suggestion for making it easier to modify the taskbar (or anything else that changes between landscape/portrait).

I moved the $FVWMCOMMANDS from the landscape and portrait scripts into seperate files, landscape-bar and portrait-bar, in the ./fvwm directory Here's how I'm doing it. I replaced the $FVWMCOMMANDS from fvwm-landscape.sh with the following:
CODE
if test -e $HOME/.fvwm/personal/landscape-bar; then
    $FVWMCOMMAND 'PipeRead "cat $[FVWM_USERDIR]/personal/landscape-bar"'
    else
    $FVWMCOMMAND 'PipeRead 'cat $[FVWM_USERDIR]/landscape-bar"'
fi


Then added similar code the the fvwm-portrait.sh script. This way I can hack my custom taskbar and easily go back to the default taskbar by renaming my custom file.

I'm using a similar process to read the wallpaper command from a seperate file so I can use the Taviso's wallpaper browsing function to set the wallpaper. I read that file from the landscape/portrait-bar file with a PipeRead command.

Thanks for all of your work on fvwm (and the kopi alarm)!

Cheers,
Jerry
scoutme
xstroke doesn't work on fvwm sad.gif

since xstroke is the only Input method really working as it should on a touchscreen, I won't be able to use fvwm sad.gif
Zumi
QUOTE(jerrybme @ Jan 12 2006, 05:41 PM)
Zumi:

Love the new release! Been using it for a while. I've got a suggestion for making it easier to modify the taskbar (or anything else that changes between landscape/portrait).

I moved the $FVWMCOMMANDS from the landscape and portrait scripts into  seperate files, landscape-bar and portrait-bar, in the ./fvwm directory Here's how I'm doing it. I replaced the $FVWMCOMMANDS from fvwm-landscape.sh with the following:
[solution skipped]

Thanks for all of your work on fvwm (and the kopi alarm)!

Cheers,
Jerry
*

Hi! smile.gif

Thanks for the tip! The reason why I haven't done something similar to the taskbar as the root menu is that this way it doesn't really help. I was thinking about a file where you can put one item per line, and it puts shortcut icons described in the lines on the taskbar.

This way you don't have to do the math with coloumns and rows when you add a new item and I really don't want to change much syntax in the ~/.fvwm/personal folder, so I don't make transistional solutions there if it's possible.

I'm glad you like what I done. smile.gif

To scoutme: Have you tried using rosetta? It's really nice, pgas compiled it. I don't know what's the problem with xstroke, I haven't used it since a long time. Why it doesn't work? If I remember it had a taskbar icon that had to be clicked to draw... Try using xystray to get a systray similar to the matchbox one.

Zumi smile.gif
cmpayc13
Hi All,

I tryed to use the xystray with fvwm. If I put the line

$FVWMCOMMAND '*ZaurusTaskbar: (4x1, Swallow (Respawn) Xystray `Exec exec xystray -iconrows 1 -iconcols 2 -iconsize 32`)

in my .fvwn2rc-file I can start the mb-applets from the shell and they are visible in the xystray-area, but the clock in not visble in the taskbar anymore. Any idea how to fix it?

Which scripts do I have to edit to start the mb-applets?
/usr/bin/fvwm-landscape.sh does not seem to be the right place for it. If I put mb-applet-cards in this script and restart FVWM the taskbar disappears.

Is it possible to implement the following features with the FVWM?

We don't have to much place on the Z-screen. It would be very usefull to have the possibility to hide/show the taskbar with the mouse (like icewm) or even better with a shortkey. So we can have almost windows maximized and easy switch to the taskbar if we need it.

Iconify All shortcut is not working for me. The menu-key is mapped to XF86LaunchC (tested it with xev). I edited the .fvwm2rc (changed XF86LaunchD to XF86LaunchC) to map Mail+C to Iconify All, but no success.

Any suggestions are very apprecated

Best regards

Cmpayc
Zumi
QUOTE(cmpayc13 @ Jan 15 2006, 07:54 PM)
Hi All,

I tryed to use the xystray with fvwm. If I put the line

$FVWMCOMMAND '*ZaurusTaskbar: (4x1, Swallow (Respawn) Xystray `Exec exec xystray -iconrows 1 -iconcols 2 -iconsize 32`)

in my .fvwn2rc-file I can start the mb-applets from the shell and they are visible in the xystray-area, but the clock in not visble in the taskbar anymore. Any idea how to fix it?

Imagine the taskbar as a table, consisting 1x40 cells. You added 4 cell (the xystray), so you have to remove 4 cells from something (usually the iconman). So:
CODE
$FVWMCOMMAND "*ZaurusTaskbar: (29x1, Swallow FvwmIconMan \`FvwmIconMan\`)"
change it to this:
$FVWMCOMMAND "*ZaurusTaskbar: (25x1, Swallow FvwmIconMan \`FvwmIconMan\`)"

... and the clock becomes visible.
QUOTE
Which scripts do I have to edit to start the mb-applets?
/usr/bin/fvwm-landscape.sh  does not seem to be the right place for it. If I put mb-applet-cards in this script and restart FVWM the taskbar disappears.

The best place is your .xinitrc file. If you have fvwm-pdaxrom installed, then ~/.xinitrc is a symlink to /usr/share/fvwm-pdaxrom/xinitrc. So delete it, copy it, edit so it starts the needed program.
CODE
rm ~/.xinitrc
cp /usr/share/fvwm-pdaxrom/xinitrc ~/.xinitrc
mcedit  ~/.xinitrc
*** add this line to it to the end, but *before* the fvwm command:
mb-applet-cards &

I hope this is working with xystray, I don't use it now, so I can't test it.
QUOTE
Is it possible to implement the following features with the FVWM?

We don't have to much place on the Z-screen. It would be very usefull to have the possibility to hide/show the taskbar  with the mouse (like icewm) or even better with a shortkey. So we can have almost windows maximized and easy switch to the taskbar if we need it.

I really haven't tought about this so far, I like to see my taskbar always, but it's possible to make such thing with Fvwm.
I found this in the Fvwm FAQ:
7.17 Autohiding FvwmButtons or other windows

Lemme know if you made something integrateable from it! smile.gif
QUOTE
Iconify All shortcut is not working for me. The menu-key is mapped to XF86LaunchC (tested it with xev). I edited the .fvwm2rc (changed XF86LaunchD to XF86LaunchC) to map Mail+C to Iconify All,  but no success.

The default Calendar+Home (that's Control+XF86LaunchD in fact) works for me. Mail (or XF86LanuchC) is not a modifier key, so you can't set something like Mail+C. That would be like Q+Enter. Doesn't make sense.
QUOTE
Any suggestions are very apprecated

Best regards

Cmpayc
*

I hope I helped! smile.gif

Zumi
macstibs
I'm having a problem getting the menus and toolbar to work. I get the basic menu and no window management. I've uninstalled and reinstalled fvwm_pdaxrom a number of times, but no luck. mbsession and icewmsession both work flawlessly. I have no idea what the problems is.

Any suggestions?

I do notice that when I run startx I get the folowing error.


[FVWM][main]: <<ERROR>> Cannot read startup file, tried:
/home/root/.fvwm/.fvwm2rc
/home/root/.fvwm2rc
/share/fvwm/.fvwm2rc
/share/fvwm/system.fvwm2rc
/etc/system.fvwm2rc
cmpayc13
Zumi,

THANKS A LOT !

Best regards

Cmpayc
Zumi
QUOTE(macstibs @ Jan 15 2006, 11:30 PM)
I'm having a problem getting the menus and toolbar to work.  I get the basic menu and no window management.  I've uninstalled and reinstalled fvwm_pdaxrom a number of times, but no luck.  mbsession and icewmsession both work flawlessly.  I have no idea what the problems is.

Any suggestions?

I do notice that when I run startx I get the folowing error.


[FVWM][main]: <<ERROR>> Cannot read startup file, tried:
        /home/root/.fvwm/.fvwm2rc
        /home/root/.fvwm2rc
        /share/fvwm/.fvwm2rc
        /share/fvwm/system.fvwm2rc
        /etc/system.fvwm2rc
*

Hmm, it seems that you are using a different version of fvwm. Try installing the one in the 1.1.0beta1 feed. Your one searches for config files in /share/fvwm, the one in the feed searches in /usr/share/fvwm. Or, you can move .fvwm2rc from /usr/share/fvwm to /share/fvwm! smile.gif

Zumi
macstibs
Hmm, it seems that you are using a different version of fvwm. Try installing the one in the 1.1.0beta1 feed. Your one searches for config files in /share/fvwm, the one in the feed searches in /usr/share/fvwm. Or, you can move .fvwm2rc from /usr/share/fvwm to /share/fvwm! smile.gif

Zumi
*

[/quote]

genius... for some reason the .rc was in the wrong place. no idea why, but it seems to have fixed the problem.

Thanks so much! Great work!
adf
very nice. very fast. very pretty.

Any way to run an ap (like ...say..firefox) fullscreen over the taskbar?
Zumi
QUOTE(adf @ Jan 16 2006, 06:19 AM)
very nice. very fast. very pretty.

Any way to run an ap (like ...say..firefox) fullscreen over the taskbar?
*

The most simple method seems to be to add a Keybinding for maximizing to 640x480 and modify the StaysOnTop style of the taskbar.
So, translated to Fvwm language (this adds the keybinding to Fn+5):
CODE
Key 5 A 2 Maximize 640p 480p
Style ZaurusTaskbar StaysOnBottom

You can add this to your ~/.fvwm/personal/config file, or edit /usr/share/fvwm/.fvwm2rc accordingly. smile.gif

Zumi

Ps.: The idea is good, I will implement it in some form, in the next version. cool.gif
adf
QUOTE(Zumi @ Jan 16 2006, 10:48 AM)
QUOTE(adf @ Jan 16 2006, 06:19 AM)
very nice. very fast. very pretty.

Any way to run an ap (like ...say..firefox) fullscreen over the taskbar?
*

The most simple method seems to be to add a Keybinding for maximizing to 640x480 and modify the StaysOnTop style of the taskbar.
So, translated to Fvwm language (this adds the keybinding to Fn+5):
CODE
Key 5 A 2 Maximize 640p 480p
Style ZaurusTaskbar StaysOnBottom

You can add this to your ~/.fvwm/personal/config file, or edit /usr/share/fvwm/.fvwm2rc accordingly. smile.gif

Zumi

Ps.: The idea is good, I will implement it in some form, in the next version. cool.gif
*



thanks smile.gif
cmpayc13
Zumi,

as far as I understand You ( unfortunately I did not have enough time to RTFM)

[/quote]
I really haven't tought about this so far, I like to see my taskbar always, but it's possible to make such thing with Fvwm.
I found this in the Fvwm FAQ:
7.17 Autohiding FvwmButtons or other windows

Lemme know if you made something integrateable from it! smile.gif

[/quote]

it's about definition of functions to hide/show. Is it possible to assign this functions to the shortcuts?

On some screenshots of desctop-fvwm are two icons on the left and right of the taskbar to hide those?
Any idea how to implement this?

Any suggestions are very apprecated

Thanks in advance

Best regards

Cmpayc
jerrybme
Zumi:
I've been playing around with xfce4 a bit now that I've got so much more room in my Z (quite a difference when you go from a C-750 to a C-3100!!). The one feature I like about xfce4 is the toggle fullscreen, great for firefox & other apps where you want the most screen space.

I found the following function on fvwm forums that toggles the active window fullscreen removes window decorations. Works great!

CODE
###############################
# FVWM-Crystal plugin: Fullscreen
# Written by: Maciej Delmanowski <harnir@linux.net.pl>

# Overview:
# After using this function, current window will lose it's border and title
# and will be maximized to the full screen (wow). After using Fullscreen
# function on a "fullscreened" window it will return to it's previous size and
# position and border/title will be brought back.
###############################

Key F A M Fullscreen

DestroyFunc Fullscreen
AddToFunc Fullscreen
+ I Fullscreen-Stop
+ I Current (!Maximizable) Break
+ I TestRc (False) Fullscreen-Start

DestroyFunc Fullscreen-Start
AddToFunc Fullscreen-Start
+ I Current (State 0) Break
+ I SetEnv OldX-$[w.id] $[w.x]
+ I SetEnv OldY-$[w.id] $[w.y]
+ I SetEnv OldWidth-$[w.id] $[w.width]
+ I SetEnv OldHeight-$[w.id] $[w.height]
+ I Move 0p 0p
+ I Resize 100 100 frame
#+ I Layer 0 5
+ I WindowStyle NoTitle, !Borders, StaysOnTop, !Iconifiable, !Maximizable
+ I State 0 true

DestroyFunc Fullscreen-Stop
AddToFunc Fullscreen-Stop
#+ I Current (!State 0) Break
+ I DestroyWindowStyle
+ I State 0 false
#+ I Layer 0 4
+ I PipeRead "echo ResizeMove \\$\\[OldWidth-$[w.id]\\]p \\$\\[OldHeight-$[w.id]\\]p \\$\\[OldX-$[w.id]\\]p \\$\\[OldY-$[w.id]\\]p"


I recommend you add it to your next update.

Cheers,
Jerry
cattin
I used the method proposed by jerrybme above and made a three level window zoom function out of it.

- First key press (Fn+2) maximises the window with the taskbar still visible
- The second key press (Fn+2) resizes the window so that it covers the taskbar
- Third key press (Fn+2) removes window decorations and uses the full screen for
the window
- Fourth key press (Fn+2) switches the window back to its initial size

To use it, just put the code below in your /home/root/.fvwm/personal/config file and restart the window manager.

have fun, Philippe

CODE
Key 2 A 2 RotateFullscreen

DestroyFunc RotateFullscreen
AddToFunc   RotateFullscreen
+ I Current (!State 0) Zoom1
+ I Current (!State 1) Zoom2
+ I Current (!State 2) Zoom3
+ I Current (State 2) Zoom0

DestroyFunc Zoom1
AddToFunc Zoom1
+ I SetEnv OldX-$[w.id] $[w.x]
+ I SetEnv OldY-$[w.id] $[w.y]
+ I SetEnv OldWidth-$[w.id] $[w.width]
+ I SetEnv OldHeight-$[w.id] $[w.height]
+ I Current Maximize 640p 448p
+ I Current State 0 true
+ I Break 2

DestroyFunc Zoom2
AddToFunc Zoom2
+ I Current ResizeMaximize 640p 455p
+ I Style ZaurusTaskbar StaysOnBottom
+ I Current State 1 true
+ I Break 2

DestroyFunc Zoom3
AddToFunc Zoom3
+ I Move 0p 0p
+ I Resize 100 100 frame
+ I WindowStyle NoTitle, !Borders, StaysOnTop, !Iconifiable, !Maximizable
+ I Current State 2 true
+ I Break 2

DestroyFunc Zoom0
AddToFunc Zoom0
+ I DestroyWindowStyle
+ I PipeRead "echo ResizeMove \\$\\[OldWidth-$[w.id]\\]p \\$\\[OldHeight-$[w.id]\\]p \\$\\[OldX-$[w.id]\\]p \\$\\[OldY-$[w.id]\\]p"
+ I Current State 0 false
+ I Current State 1 false
+ I Current State 2 false
+ I Break 2
jerrybme
QUOTE(cattin @ Mar 21 2006, 01:29 AM)
I used the method proposed by jerrybme above and made a three level window zoom function out of it.

- First key press (Fn+2) maximises the window with the taskbar still visible
- The second key press (Fn+2) resizes the window so that it covers the taskbar
- Third key press (Fn+2) removes window decorations and uses the full screen for
  the window
- Fourth key press (Fn+2) switches the window back to its initial size

To use it, just put the code below in your /home/root/.fvwm/personal/config file and restart the window manager.

have fun, Philippe

CODE
Key 2 A 2 RotateFullscreen

DestroyFunc RotateFullscreen
AddToFunc   RotateFullscreen
+ I Current (!State 0) Zoom1
+ I Current (!State 1) Zoom2
+ I Current (!State 2) Zoom3
+ I Current (State 2) Zoom0

DestroyFunc Zoom1
AddToFunc Zoom1
+ I SetEnv OldX-$[w.id] $[w.x]
+ I SetEnv OldY-$[w.id] $[w.y]
+ I SetEnv OldWidth-$[w.id] $[w.width]
+ I SetEnv OldHeight-$[w.id] $[w.height]
+ I Current Maximize 640p 448p
+ I Current State 0 true
+ I Break 2

DestroyFunc Zoom2
AddToFunc Zoom2
+ I Current ResizeMaximize 640p 455p
+ I Style ZaurusTaskbar StaysOnBottom
+ I Current State 1 true
+ I Break 2

DestroyFunc Zoom3
AddToFunc Zoom3
+ I Move 0p 0p
+ I Resize 100 100 frame
+ I WindowStyle NoTitle, !Borders, StaysOnTop, !Iconifiable, !Maximizable
+ I Current State 2 true
+ I Break 2

DestroyFunc Zoom0
AddToFunc Zoom0
+ I DestroyWindowStyle
+ I PipeRead "echo ResizeMove \\$\\[OldWidth-$[w.id]\\]p \\$\\[OldHeight-$[w.id]\\]p \\$\\[OldX-$[w.id]\\]p \\$\\[OldY-$[w.id]\\]p"
+ I Current State 0 false
+ I Current State 1 false
+ I Current State 2 false
+ I Break 2

*


Nicely done smile.gif
pnb
Thanks for the nice extra feature! However, for some reason my taskbar stays on top in all "zoom-modes"... Apparantly it ignores "ZaurusTaskBar StaysOnBottom".
Why that?
Peter
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.