| View previous topic :: View next topic |
| Author |
Message |
Zumi n00b

Joined: 26 Jan 2003 Posts: 16 Location: Budapest, Hungary
|
Posted: Tue Nov 02, 2004 12:38 pm Post subject: Menu icons resize |
|
|
Can you give me a little help please? I want to make my icons in the menus to be all the same size and don't change the icon files physically.
I'm aware of the new IconSize options (New option to IconSize style: Adjusted, Stretched, Shrunk.) introduced in 2.5.6, but it doesn't do anything with the menu icons, if put a line in my .fvwm2rc:
| Code: | | Style * IconSize Adjusted 16 16 |
Thank you in advance,
Zumi |
|
| Back to top |
|
 |
theaks n00b

Joined: 30 Sep 2004 Posts: 30
|
Posted: Wed Nov 03, 2004 10:43 am Post subject: |
|
|
I've just started with fvwm and i'm configuring it step by step as i'm learning. I assume i'm doing something stupid at the moment, but I haven't been able to figure it out from looking at other posts & scripts.
I'm setting up my windows decorations at the moment, I've managed to set a titled pixmap as the title bar background and justify the window title to the left. Now I'm trying to add a close button to the titlebar, but it just won't appear and i have no idea why. Here are the relevant parts of the config.
| Code: |
SetEnv fvwm_path $[HOME]/.fvwm
ImagePath $[fvwm_path]/icons:$[fvwm_path]/decor:+
#####
# Windows Style
###############
ColorSet 2 fg #edeff3
ColorSet 3 fg #686161
Style * ColorSet 3, HilightColorSet 2
Style * ClickToFocus, MouseFocusClickRaises, TileCascadePlacement
Style * Font "xft:Aquafont:size=11"
#####
# Windows Decor
###############
DestroyFunc MyFirstDecor
AddToFunc MyFirstDecor
+ I TitleStyle LeftJustified Height 21
+ I TitleStyle Active TiledPixmap titlebar-mid-focused.png
+ I TitleStyle InActive TiledPixmap titlebar-mid-unfocused.png
+ I BorderStyle -- NoInset HiddenHandles
+ I ButtonStyle All Active TiledPixmap titlebar-mid-focused.png
+ I ButtonStyle All InActive TiledPixmap titlebar-mid-focused.png
+ I ButtonStyle All Simple -- UseTitleStyle
+ I AddButtonStyle 1 ActiveUp Pixmap button-menu-focused.png -- flat
+ I AddButtonStyle 1 ActiveDown Pixmap button-menu-pressed.png -- flat
+ I AddButtonStyle 1 Inactive Pixmap button-menu-unfocused.png -- flat
+ I Style * Button 1, GrabFocusOff
MyFirstDecor
|
Any help would be greatly appreciated |
|
| Back to top |
|
 |
plbe l33t

Joined: 01 May 2004 Posts: 661
|
Posted: Wed Nov 03, 2004 2:56 pm Post subject: |
|
|
I've started a thread in gentoo chat for the sole purpose of posting FVWM scripts and nothing more so we can easily access scripts without digging through pages upon pages of this thread as well as the previous one. So even if a script has been posted in one of these threads it would be nice to see it in the other one for nice easy access for all FVWM users out there
Thread can be found here:
http://forums.gentoo.org/viewtopic.php?t=246545 |
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 751 Location: Gent (Belgium)
|
Posted: Wed Nov 03, 2004 7:39 pm Post subject: |
|
|
| theaks wrote: | I've just started with fvwm and i'm configuring it step by step as i'm learning. I assume i'm doing something stupid at the moment, but I haven't been able to figure it out from looking at other posts & scripts.
I'm setting up my windows decorations at the moment, I've managed to set a titled pixmap as the title bar background and justify the window title to the left. Now I'm trying to add a close button to the titlebar, but it just won't appear and i have no idea why. Here are the relevant parts of the config.
| Code: |
SetEnv fvwm_path $[HOME]/.fvwm
ImagePath $[fvwm_path]/icons:$[fvwm_path]/decor:+
#####
# Windows Style
###############
ColorSet 2 fg #edeff3
ColorSet 3 fg #686161
Style * ColorSet 3, HilightColorSet 2
Style * ClickToFocus, MouseFocusClickRaises, TileCascadePlacement
Style * Font "xft:Aquafont:size=11"
#####
# Windows Decor
###############
DestroyFunc MyFirstDecor
AddToFunc MyFirstDecor
+ I TitleStyle LeftJustified Height 21
+ I TitleStyle Active TiledPixmap titlebar-mid-focused.png
+ I TitleStyle InActive TiledPixmap titlebar-mid-unfocused.png
+ I BorderStyle -- NoInset HiddenHandles
+ I ButtonStyle All Active TiledPixmap titlebar-mid-focused.png
+ I ButtonStyle All InActive TiledPixmap titlebar-mid-focused.png
+ I ButtonStyle All Simple -- UseTitleStyle
+ I AddButtonStyle 1 ActiveUp Pixmap button-menu-focused.png -- flat
+ I AddButtonStyle 1 ActiveDown Pixmap button-menu-pressed.png -- flat
+ I AddButtonStyle 1 Inactive Pixmap button-menu-unfocused.png -- flat
+ I Style * Button 1, GrabFocusOff
MyFirstDecor
|
Any help would be greatly appreciated |
You have to bind a mousebutton to the titlebar buttons otherwise they won't show up. For example, like this:
| Code: | Mouse 0 1 A Popup MenuFvwmWindowOps
Mouse 0 2 A Close
Mouse 0 4 A Maximize
Mouse 0 6 A Iconify |
_________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
theaks n00b

Joined: 30 Sep 2004 Posts: 30
|
Posted: Wed Nov 03, 2004 9:22 pm Post subject: |
|
|
Cheers, I've got the buttons showing up now, but there is an ugly line next to them, I've added a screenshot so you can see what i mean. How do I get rid of it?
I haven't changed my config from above except to add the new button and the mouse bindings.
http://www.hardlovecowboys.com/sc.png |
|
| Back to top |
|
 |
theaks n00b

Joined: 30 Sep 2004 Posts: 30
|
Posted: Thu Nov 04, 2004 6:04 am Post subject: |
|
|
| I solved my problem, i added -- flat to all the Pixmap styles i added. Surely this isn't the only way to do it though |
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 751 Location: Gent (Belgium)
|
Posted: Thu Nov 04, 2004 5:52 pm Post subject: |
|
|
| theaks wrote: | | I solved my problem, i added -- flat to all the Pixmap styles i added. Surely this isn't the only way to do it though |
If it isn't the only way, it's surely the most used way, I for one don't know of any other way to do this  _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
plbe l33t

Joined: 01 May 2004 Posts: 661
|
Posted: Fri Nov 05, 2004 1:30 pm Post subject: |
|
|
Hrm haven't heard anything here from taviso in a while....hey tav you got any interesting new scripts your working on for us  |
|
| Back to top |
|
 |
zeroK Apprentice

Joined: 14 Sep 2003 Posts: 159 Location: Austria.Klagenfurt
|
Posted: Fri Nov 05, 2004 11:59 pm Post subject: |
|
|
Hi
Sorry, if the following question is a real beginner question but ... well, that's exactly what I am using FVWM I've now played around with it for the last few hours and got nearly everything set up as I want it to be, but one thing is still missing
In openbox3 the windowlist (alt+tab) highlights a window showing the shade of the window and increasing its border width when the window is "highlighted" in the windowlist. Is there someway i could at least partially simulate this feature in FVWM? For example by using a different borderwidth and/or a different bordercolorset? |
|
| Back to top |
|
 |
Zepp Veteran


Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Mon Nov 08, 2004 12:13 am Post subject: |
|
|
I don't know if this has been asked before but, is there a way to move a specific window or make it invisible completely? Mor precisely a FvwmButtons panel. I want to be able to hide and reveal it with a single key combination. I tried the hiddenconsole trick but it leaves the black strip of the shaded window. _________________ Every iPhone is a gift from God. |
|
| Back to top |
|
 |
meital Tux's lil' helper


Joined: 17 Feb 2004 Posts: 93
|
Posted: Mon Nov 08, 2004 8:58 am Post subject: |
|
|
does anybody know if fvwm supports transparent pixmaps on titles, menus and the pager and how to configure it?
sorry if this is already mentioned somewhere.. |
|
| Back to top |
|
 |
theaks n00b

Joined: 30 Sep 2004 Posts: 30
|
Posted: Mon Nov 08, 2004 11:24 am Post subject: |
|
|
I've set up my pager how i want it, except the only problem is when i iconify a window it doesn't disappear from the pager window. How can i set my pager up for this to happen. Also it would be great if the pager window didn't show up on the active page too.
Heres the config lines that i think apply to this problem
| Code: | Style FvwmPager NoTitle, Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip
Style FvwmPager StaysOnBottom, NoHandles, BorderWidth 0 |
|
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 751 Location: Gent (Belgium)
|
Posted: Mon Nov 08, 2004 4:10 pm Post subject: |
|
|
Try using:
| Quote: | DestroyModuleConfig FvwmPager: *
*FvwmPager: UseSkipList |
I think that should solve your problem. _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
hatem n00b

Joined: 05 Jun 2003 Posts: 72 Location: Florida
|
Posted: Mon Nov 08, 2004 9:59 pm Post subject: |
|
|
Well, here's my fvwm setup. It's pretty much a customized collection of things I've seen in others' configs and liked, very little is my own original work .
Just some names off the top of my head: tln for the layout of the basic config and the window decorations, random things from taviso, some of stazz's window decorations...
Screenshot (modified version of tln's "clean" theme, torsmo-cvs, etc)
Tarball (**rename DOTfvwm2rc to .fvwm2rc ... for some reason i couldn't make a tar that included files starting with . )
Please be merciful on my poor web server, it has a pitiful upload speed of 20kB/s.
Enjoy . |
|
| Back to top |
|
 |
Martini Tux's lil' helper

Joined: 30 Sep 2002 Posts: 141
|
Posted: Tue Nov 09, 2004 9:45 pm Post subject: |
|
|
Hi
First, thanks to all for the good tips and the great threads about fvwm-configs. It's very interesting. I'm relatively new to fvwm but i love this WM.
I've a question to xosview. I've swallowed xosview in a transparent fvwm-buttons bar. The background is transparent like the fvwm-buttons bar. Is there a way to get the backgrounds of the indicator-bars transparent? That would be great. Has anyone a config for xosview?
my config for fvwm-buttons:
| Code: |
DestroyModuleConfig FvwmButtons: *
*FvwmButtons: Colorset 20
*FvwmButtons: Geometry 400x40+405+2
*FvwmButtons: Columns 3
*FvwmButtons: Rows 1
*FvwmButtons: Frame 0
*FvwmButtons: BoxSize fixed
*FvwmButtons: Padding 3 0
*FvwmButtons: Font "xft:helvetica:size=9"
*FvwmButtons: (1x1, Colorset 20, Swallow (UseOld) "xosview" "Exec xosview -captions -font 5x7 -ints -page -load -net -mem -swap -disk &")
*FvwmButtons: (1x1, Colorset 20, Swallow (UseOld) "xosview" "Exec xosview -captions -font 5x7 -ints -page -load -cpu -mem -swap +net +disk &")
|
Thanx
PS: sorry for this bad english,please
Martin |
|
| Back to top |
|
 |
appetitus Apprentice

Joined: 28 Sep 2003 Posts: 208
|
Posted: Wed Nov 10, 2004 3:05 pm Post subject: |
|
|
Back in FVWM 1.24r, the window manager had Motif support, I could run a Motif application and it worked fine.
Now I have the CMUCL Motif debugger and I cannot get it started. It complains about failing to find a socket, altho I can find a socket in tmp.
Anyone have Motif capability working?
EDIT: got it working _________________ Being a Gentoo user means living in a house inhabited by a family of crazed carpenters. When you wake up, the house is different. Maybe there is a new turret, or some walls have moved, or perhaps someone has removed the floor under your bed. |
|
| Back to top |
|
 |
theaks n00b

Joined: 30 Sep 2004 Posts: 30
|
Posted: Mon Nov 15, 2004 2:49 am Post subject: |
|
|
I'm thinking about setting my desktop up with multiple desktops with probably 2x2 virtual desktops each.
Is it possible to have different background images & windows decorations for each desktop? |
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 751 Location: Gent (Belgium)
|
Posted: Mon Nov 15, 2004 7:41 pm Post subject: |
|
|
| theaks wrote: | I'm thinking about setting my desktop up with multiple desktops with probably 2x2 virtual desktops each.
Is it possible to have different background images & windows decorations for each desktop? |
Yes, you can use FvwmBacker for this purpose. _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
Aim n00b

Joined: 05 May 2004 Posts: 7
|
Posted: Tue Nov 16, 2004 12:16 pm Post subject: Fvwm and dialogs |
|
|
Hi there,
I'm working on some project of which all windows are in fullscreen (i.e without decoration).
I'd like to have the dialogs decorated but I can't manage to do it.
I've tried the DecorateTransients and Style "*" DecorateTransient but it's not working.
Any help would be greatly apreciated
Thanks |
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 751 Location: Gent (Belgium)
|
Posted: Tue Nov 16, 2004 2:10 pm Post subject: |
|
|
Works for me:
| Code: | | Style * DecorateTransient |
Are you sure you never override it again somewhere else in your configuration? _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
Aim n00b

Joined: 05 May 2004 Posts: 7
|
Posted: Tue Nov 16, 2004 4:13 pm Post subject: |
|
|
| theBlackDragon wrote: | Works for me:
| Code: | | Style * DecorateTransient |
Are you sure you never override it again somewhere else in your configuration? |
Actually, It seems that if the parent window of the dialog is not decorated,
then even if I put Style "*" Decorate Transient, the dialog is not decorated.
If someone it ready to have a look at my config, let me know, I'll email it.
Thanks |
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 751 Location: Gent (Belgium)
|
Posted: Tue Nov 16, 2004 5:21 pm Post subject: |
|
|
It sounds like you're looking for something like this.
Maybe that will get you started  _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
tln Veteran

Joined: 24 Sep 2003 Posts: 1502
|
Posted: Wed Nov 17, 2004 4:26 am Post subject: |
|
|
I can't seem to get the Toggled* button states to apply. I have Style * MwmDecor, so my decor should follow the application hints. If you don't know what I'm talking about, I'm trying to get the maximize button to look different when it's pressed (maximized). I'm using
| Code: | + ButtonStyle 4 \
InActive (Pixmap $[THEME_NAME]/maximize_inactive.xpm) \
Active (Pixmap $[THEME_NAME]/maximize_active.xpm) \
ToggledActive (Pixmap $[THEME_NAME]/maximize_fullscreen.xpm)
|
|
|
| Back to top |
|
 |
theBlackDragon l33t


Joined: 23 Nov 2002 Posts: 751 Location: Gent (Belgium)
|
Posted: Wed Nov 17, 2004 11:13 am Post subject: |
|
|
| tln wrote: | I can't seem to get the Toggled* button states to apply. I have Style * MwmDecor, so my decor should follow the application hints. If you don't know what I'm talking about, I'm trying to get the maximize button to look different when it's pressed (maximized). I'm using
| Code: | + ButtonStyle 4 \
InActive (Pixmap $[THEME_NAME]/maximize_inactive.xpm) \
Active (Pixmap $[THEME_NAME]/maximize_active.xpm) \
ToggledActive (Pixmap $[THEME_NAME]/maximize_fullscreen.xpm)
|
|
I use this:
| Code: | + ButtonStyle 2 \
ActiveUp (Pixmap darkx/button-close-focused.png -- flat) \
ActiveDown (Pixmap darkx/button-close-pressed.png -- flat) \
Inactive (Pixmap darkx/button-close-unfocused.png -- flat) |
to get the same effect (even though I don't use it at this moment). _________________ Fvwm|Fvwm forum|Fvwm Wiki |
|
| Back to top |
|
 |
tln Veteran

Joined: 24 Sep 2003 Posts: 1502
|
Posted: Wed Nov 17, 2004 11:28 am Post subject: |
|
|
| It should stay in pressed state while the window is maximized, and then return to normal when I press the maximize button again. ActiveDown only applies during the time you keep your mouse button pressed over the button. |
|
| Back to top |
|
 |
|