Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The F? Virtual Window Manager (part 2)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Zumi
n00b
n00b


Joined: 26 Jan 2003
Posts: 16
Location: Budapest, Hungary

PostPosted: Tue Nov 02, 2004 12:38 pm    Post subject: Menu icons resize Reply with quote

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
View user's profile Send private message
theaks
n00b
n00b


Joined: 30 Sep 2004
Posts: 30

PostPosted: Wed Nov 03, 2004 10:43 am    Post subject: Reply with quote

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
View user's profile Send private message
plbe
l33t
l33t


Joined: 01 May 2004
Posts: 661

PostPosted: Wed Nov 03, 2004 2:56 pm    Post subject: Reply with quote

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 :D

Thread can be found here:

http://forums.gentoo.org/viewtopic.php?t=246545
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 751
Location: Gent (Belgium)

PostPosted: Wed Nov 03, 2004 7:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
theaks
n00b
n00b


Joined: 30 Sep 2004
Posts: 30

PostPosted: Wed Nov 03, 2004 9:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
theaks
n00b
n00b


Joined: 30 Sep 2004
Posts: 30

PostPosted: Thu Nov 04, 2004 6:04 am    Post subject: Reply with quote

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
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 751
Location: Gent (Belgium)

PostPosted: Thu Nov 04, 2004 5:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
plbe
l33t
l33t


Joined: 01 May 2004
Posts: 661

PostPosted: Fri Nov 05, 2004 1:30 pm    Post subject: Reply with quote

Hrm haven't heard anything here from taviso in a while....hey tav you got any interesting new scripts your working on for us :D
Back to top
View user's profile Send private message
zeroK
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 159
Location: Austria.Klagenfurt

PostPosted: Fri Nov 05, 2004 11:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Mon Nov 08, 2004 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
meital
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 93

PostPosted: Mon Nov 08, 2004 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
theaks
n00b
n00b


Joined: 30 Sep 2004
Posts: 30

PostPosted: Mon Nov 08, 2004 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 751
Location: Gent (Belgium)

PostPosted: Mon Nov 08, 2004 4:10 pm    Post subject: Reply with quote

Try using:

Quote:
DestroyModuleConfig FvwmPager: *
*FvwmPager: UseSkipList

I think that should solve your problem.
_________________
Fvwm|Fvwm forum|Fvwm Wiki
Back to top
View user's profile Send private message
hatem
n00b
n00b


Joined: 05 Jun 2003
Posts: 72
Location: Florida

PostPosted: Mon Nov 08, 2004 9:59 pm    Post subject: Reply with quote

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 :P.

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
View user's profile Send private message
Martini
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2002
Posts: 141

PostPosted: Tue Nov 09, 2004 9:45 pm    Post subject: Reply with quote

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 :oops:

Martin
Back to top
View user's profile Send private message
appetitus
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 208

PostPosted: Wed Nov 10, 2004 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
theaks
n00b
n00b


Joined: 30 Sep 2004
Posts: 30

PostPosted: Mon Nov 15, 2004 2:49 am    Post subject: Reply with quote

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
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 751
Location: Gent (Belgium)

PostPosted: Mon Nov 15, 2004 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Aim
n00b
n00b


Joined: 05 May 2004
Posts: 7

PostPosted: Tue Nov 16, 2004 12:16 pm    Post subject: Fvwm and dialogs Reply with quote

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
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 751
Location: Gent (Belgium)

PostPosted: Tue Nov 16, 2004 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Aim
n00b
n00b


Joined: 05 May 2004
Posts: 7

PostPosted: Tue Nov 16, 2004 4:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 751
Location: Gent (Belgium)

PostPosted: Tue Nov 16, 2004 5:21 pm    Post subject: Reply with quote

It sounds like you're looking for something like this.

Maybe that will get you started :)
_________________
Fvwm|Fvwm forum|Fvwm Wiki
Back to top
View user's profile Send private message
tln
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1502

PostPosted: Wed Nov 17, 2004 4:26 am    Post subject: Reply with quote

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
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 751
Location: Gent (Belgium)

PostPosted: Wed Nov 17, 2004 11:13 am    Post subject: Reply with quote

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
View user's profile Send private message
tln
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1502

PostPosted: Wed Nov 17, 2004 11:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 28, 29, 30  Next
Page 9 of 30

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum