Author Topic: Fvwm-pdaxrom 0.4.x  (Read 13509 times)

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #15 on: January 12, 2006, 03:47:55 pm »
Quote
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[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Hi!

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.

To scoutme: Have you tried using rosetta? It's really nice, [a href=\"http://mail.pdaxrom.org/contrib/pgas/rosetta_07022005_armv5tel.ipk]pgas compiled it[/url]. 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
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!

cmpayc13

  • Newbie
  • *
  • Posts: 18
    • View Profile
Fvwm-pdaxrom 0.4.x
« Reply #16 on: January 15, 2006, 01:54:09 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?

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

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #17 on: January 15, 2006, 04:55:08 pm »
Quote
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: [Select]
$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: [Select]
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!
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111054\"][{POST_SNAPBACK}][/a][/div]
I hope I helped!

Zumi
« Last Edit: January 15, 2006, 04:56:12 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!

macstibs

  • Newbie
  • *
  • Posts: 17
    • View Profile
Fvwm-pdaxrom 0.4.x
« Reply #18 on: January 15, 2006, 05:30:17 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

cmpayc13

  • Newbie
  • *
  • Posts: 18
    • View Profile
Fvwm-pdaxrom 0.4.x
« Reply #19 on: January 15, 2006, 05:36:44 pm »
Zumi,

THANKS A LOT !

Best regards

Cmpayc

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #20 on: January 15, 2006, 06:04:05 pm »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111083\"][{POST_SNAPBACK}][/a][/div]
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!

Zumi
« Last Edit: January 15, 2006, 06:04:46 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!

macstibs

  • Newbie
  • *
  • Posts: 17
    • View Profile
Fvwm-pdaxrom 0.4.x
« Reply #21 on: January 15, 2006, 10:24:19 pm »
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!

Zumi
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111093\"][{POST_SNAPBACK}][/a][/div]
[/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

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #22 on: January 16, 2006, 12:19:16 am »
very nice. very fast. very pretty.

Any way to run an ap (like ...say..firefox) fullscreen over the taskbar?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #23 on: January 16, 2006, 05:48:23 am »
Quote
very nice. very fast. very pretty.

Any way to run an ap (like ...say..firefox) fullscreen over the taskbar?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111111\"][{POST_SNAPBACK}][/a][/div]
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: [Select]
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.

Zumi

Ps.: The idea is good, I will implement it in some form, in the next version.
« Last Edit: January 16, 2006, 05:50:01 am 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!

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #24 on: January 16, 2006, 02:35:56 pm »
Quote
Quote
very nice. very fast. very pretty.

Any way to run an ap (like ...say..firefox) fullscreen over the taskbar?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111111\"][{POST_SNAPBACK}][/a][/div]
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: [Select]
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.

Zumi

Ps.: The idea is good, I will implement it in some form, in the next version.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111127\"][{POST_SNAPBACK}][/a][/div]

thanks
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

cmpayc13

  • Newbie
  • *
  • Posts: 18
    • View Profile
Fvwm-pdaxrom 0.4.x
« Reply #25 on: January 18, 2006, 05:29:46 pm »
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!

[/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

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #26 on: January 25, 2006, 02:16:44 pm »
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: [Select]
###############################
# FVWM-Crystal plugin: Fullscreen
# Written by: Maciej Delmanowski

# 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
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

cattin

  • Newbie
  • *
  • Posts: 18
    • View Profile
Fvwm-pdaxrom 0.4.x
« Reply #27 on: March 21, 2006, 02:29:23 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: [Select]
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
« Last Edit: March 21, 2006, 02:29:55 am by cattin »

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #28 on: March 21, 2006, 10:04:10 am »
Quote
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: [Select]
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119527\"][{POST_SNAPBACK}][/a][/div]

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

pnb

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Fvwm-pdaxrom 0.4.x
« Reply #29 on: March 21, 2006, 10:53:48 am »
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