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
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 12, 13, 14 ... 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
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Mon Jan 10, 2005 1:57 pm    Post subject: Reply with quote

Thank you, guys (i've removed the snapshot).

One more question. I've came across some time ago feature like "startup notifications", i.e. when cursor stays in "busy" state till application is actually started after Mouse1 click on any of the toviso's buttons on his FvwmShelf.

Could you remind, what kind of config statement controls this behavour?
Perhaps, toviso could add a note about this feature in his Introduction to FvwmButtons, 'cos he is speaking of other type of notification there --- gvim button stays in "pressed" state till application is actually started.
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Sat Jan 15, 2005 12:01 am    Post subject: Reply with quote

hey guys i've been fiddling with fvwm recently, and really liking what i see (currently use gnome mostly), however i had one annoying problem. I have an amd64 system, and hence run a native 32bit firefox (for flash/svg plugins) yet this does not have a window appear in fvwm. Firefox does not crash, and the processes appear running, but the window not.. whereas a 64bit firefox and mozilla both work great (yet without flash/svg :( ). Anyone got an idea y this is and how i may solve it?

thanks
Back to top
View user's profile Send private message
Gold Fish
n00b
n00b


Joined: 10 Feb 2004
Posts: 40

PostPosted: Tue Jan 18, 2005 9:28 pm    Post subject: Reply with quote

bbe wrote:
hey guys i've been fiddling with fvwm recently, and really liking what i see (currently use gnome mostly), however i had one annoying problem. I have an amd64 system, and hence run a native 32bit firefox (for flash/svg plugins) yet this does not have a window appear in fvwm. Firefox does not crash, and the processes appear running, but the window not.. whereas a 64bit firefox and mozilla both work great (yet without flash/svg :( ). Anyone got an idea y this is and how i may solve it?

thanks


This could be many different things, it probably has to do with something in your configure file. look for lines in your config file about it. It very well could be moving it to another desktop, or minimizing, but not showing it on your task bar. So just post what you get from
Code:
$cat .fvwm/.fvwm2rc|grep firefox

and if you see a line that reads
Code:
SetEnv browser firefox

or something like that, then your configure file can also refer to firefox as $[browser], so then it would be great if you could also post what you get from
Code:
$cat .fvwm/.fvwm2rc|grep browser


Gold Fish
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Tue Jan 18, 2005 11:53 pm    Post subject: Reply with quote

Quote:

james@bbe2 ~ $ cat .fvwm/.fvwm2rc | grep firefox
DesktopName 1 firefox
+ I Exec exec firefox-bin -geometry 1000x1000+0+0
+ I Exec exec firefox
james@bbe2 ~ $ cat .fvwm/.fvwm2rc | grep browser
james@bbe2 ~ $


I'm still using a fairly basic config, and i can't seem to find anything that would cause firefox-bin to go anywhere crazy.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Jan 19, 2005 2:09 am    Post subject: Reply with quote

Halo everybody! :D
Before saying anything I must say that I'm almost a newcomer to the fvwm world (I used it some time ago in the university, but didn't care so much about configuring it).
Now I'm trying to get a fully customized working environment from scratch, and after a few hours tonight reading man pages and some info on the net I have managed to get a working (but so minimal) desktop.
I have realized in few hours that I have so much work to do this night (I don't like to sleep so much :twisted: ), but for now I have many questions, if anyone can help me:

1. Can I get off the black upper tittle border from FvwmPager (I mean the "Desk..." tab, not tittle bar).

2. I'm looking for a clock, I would like fake transparencies on it, but hardly dislike dali, and oclock is not an option since I want a digital one, also capable to show the date (the format is not so important).

3. How can I make FvwmButtons to show tip balloons when I put the mouse cursor over a button?

4. Last, I swear: is there any reasonably complete iconset for fvwm anywhere, I don't mind to configure all icons manually, but I don't want to install a huge kde org gnome icons library.

Thanks in advance for any help. :D
Back to top
View user's profile Send private message
pem
Guru
Guru


Joined: 29 Aug 2004
Posts: 390
Location: France

PostPosted: Wed Jan 19, 2005 7:26 am    Post subject: Reply with quote

@bbe
It appears that you have 2 ways of launching Firefox (one through firefox-bin and the other through firefox). Does it work if you launch it on the command line with one of your commands?


@6thpink
6thpink wrote:
1. Can I get off the black upper tittle border from FvwmPager (I mean the "Desk..." tab, not tittle bar).

Add NoTitle in the style of FvwmPager.
6thpink wrote:
2. I'm looking for a clock, I would like fake transparencies on it, but hardly dislike dali, and oclock is not an option since I want a digital one, also capable to show the date (the format is not so important).

You can achieve this via FvwmScript. As for the format, as it's rendered by the script, just modify the date command line. I provide you with my script, which does the time as well as the date. It's called TimeAndDate. It uses the Colorset 30 and the fonts definition are directly under the script. Just swallow it under an FvwmButtons (have a look at my page to check the effect).
Code:
WindowTitle     {TimeAndDate}
WindowSize      60 32
Colorset        30

Init
Begin
        Set $time = (GetOutput {date "+%H:%M"} 1 -1)
        Set $date = (GetOutput {date "+%a %e %b"} 1 -1)
        ChangeTitle 1 $time
        ChangeTitle 2 $date
End

PeriodicTasks
        Begin
        If (RemainderOfDiv (GetTime) 60)==0 Then
                Begin
                Set $time = (GetOutput {date "+%H:%M"} 1 -1)
                Set $date = (GetOutput {date "+%a %e %b"} 1 -1)
                ChangeTitle 1 $time
                ChangeTitle 2 $date
        End
End

Widget                  1
Property
        Type            ItemDraw
        Size            60 21   
        Position        0 0
        Font            "shadow=1 1 se:xft:Blippo:Bold:pixelsize=20"
        Flags           NoFocus NoReliefString
Main
Case message of
End

Widget                  2
Property
        Type            ItemDraw
        Size            60 11   
        Position        0 21
        Font            "shadow=1 1 se:xft:Blippo:Bold:pixelsize=10"
        Flags           NoFocus NoReliefString
Main
Case message of
End

6thpink wrote:
3. How can I make FvwmButtons to show tip balloons when I put the mouse cursor over a button?

There's no such a balloon as the pager allows it. I guess you could fake one by using the ActiveTitle in a FvwmButton without basic Title. If you achieve something interesting, I would rather like to have an eye on it (a screenshot).
6thpink wrote:
4. Last, I swear: is there any reasonably complete iconset for fvwm anywhere, I don't mind to configure all icons manually, but I don't want to install a huge kde org gnome icons library.

There's the legacy one under Fvwm's official site ... though I don't find it really catchy. The best thing is to take one of those Gnome, KDE, Windows, Mac themes and taylor it to your needs.
_________________
Registered user #30505
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Wed Jan 19, 2005 4:29 pm    Post subject: Reply with quote

pem wrote:
@bbe
It appears that you have 2 ways of launching Firefox (one through firefox-bin and the other through firefox). Does it work if you launch it on the command line with one of your commands?



I'm running an amd64 system here, I had originally installed firefox-bin (for flash/svg plugins to work). However when i first installed fvwm and ran firefox-bin from the command line it did not error and appeared as a running process just no window. I had/have 64bit mozillla which run fine, and decided to install firefox (non-binary) to see if my problem was firefox or just firefox 32bit. so now i have firefox (64bit) and firefox-bin (32bit), both execute from the command line, firefox runs (no errors) and firefox-bin spouts:

Quote:

/opt/firefox/mozilla-xremote-client: Error: Failed to find a running server.
No running windows found

(firefox-bin:7723): Gdk-WARNING **: Error converting from UTF-8 to STRING: Could not open converter from 'UTF-8' to 'ISO-8859-1'

(firefox-bin:7723): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
/etc/host.conf: line 24: bad command `mdns off'

(firefox-bin:7723): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",

(firefox-bin:7723): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth",


which seems to say it can't find an x server running.
Back to top
View user's profile Send private message
pem
Guru
Guru


Joined: 29 Aug 2004
Posts: 390
Location: France

PostPosted: Wed Jan 19, 2005 7:25 pm    Post subject: Reply with quote

@bbe
I've got your point. So, your Firefox 32 bits doesn't find the X server ... Maybe if we help it out by forcing the display:
Code:
DISPLAY=:0.0 firefox-bin

_________________
Registered user #30505
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Wed Jan 19, 2005 7:45 pm    Post subject: Reply with quote

ok , that doesn't seem to change anything, same error messages. However what is weird is that when i have 'firefox' open and run 'firefox-bin' another window opens. so seems there's not a total difference between the two packages. As i can only reproduce this error when no other instances of firefox are running. Including '-geometry' causes the mozilla profiles selector to appear, but obviously i can't choose my default profile as its in use

also thank you for the clock/date code pem.. works and looks a lot better than my dclock solution :D
Back to top
View user's profile Send private message
R@NNIS
n00b
n00b


Joined: 30 Oct 2002
Posts: 42
Location: somewhere

PostPosted: Wed Jan 19, 2005 9:50 pm    Post subject: fvwm is awesome :) Reply with quote

my last fvwm shot :

http://lycos42.free.fr/dotclear/index.php?image/linux/desktops/4#gallery
_________________
Everything is possible...
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Jan 19, 2005 10:58 pm    Post subject: Reply with quote

pem wrote:

@6thpink
6thpink wrote:
1. Can I get off the black upper tittle border from FvwmPager (I mean the "Desk..." tab, not tittle bar).

Add NoTitle in the style of FvwmPager.

Well, as I said I'm not talking about the window title, but the pager itself's title bar. My Style for FvwmPager is this:
Code:
Style "FvwmPager" Sticky, !Handles, !Borders, StaysOnTop, NoTitle, NeverFocus, \
        BorderWidth 0, HandleWidth 0, CirculateSkip, FixedPosition, FixedSize \
        !Iconifiable, WindowListSkip


Thanks for the script, it was usefull for me with a few changes, I'll take a look to your other sugestion and if I archieve somthing interesting then for sure I'll share it.
Thanks again! :D
Back to top
View user's profile Send private message
pem
Guru
Guru


Joined: 29 Aug 2004
Posts: 390
Location: France

PostPosted: Wed Jan 19, 2005 11:13 pm    Post subject: Reply with quote

@6thpink:
Gosh :oops: You're right. Removing the little label title of desktops under the pager is achieved by:
Code:
*FvwmPager: Font none

Removing the little windows name under the miniatures (not the balloon):
Code:
*FvwmPager: SmallFont none

_________________
Registered user #30505
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Jan 19, 2005 11:57 pm    Post subject: Reply with quote

pem wrote:
@6thpink:
Gosh :oops: You're right. Removing the little label title of desktops under the pager is achieved by:
Code:
*FvwmPager: Font none

Removing the little windows name under the miniatures (not the balloon):
Code:
*FvwmPager: SmallFont none

Thanks again pem, that worked. I supposed I missed these lines in the man page of FvwmPager:
Code:
 *FvwmPager: Font font-name
              Specified a font to use to label the desktops.  If font_name  is
              "none" then no desktop labels will be displayed.


       *FvwmPager: SmallFont font-name
              Specified  a font to use to label the window names in the pager.
              If not specified, the window  labels  will  be  omitted.  Window
              labels  seem  to  be  fairly useless for desktop scales of 32 or
              greater.  If font_name is "none" then no window  names  will  be
              displayed.
:oops: :oops: I'll be here soon, I have now new questions that i haven't worked out yet, but i'm still trying... :twisted: I won't surrender.
By the way, the clock do not show transparent, and i have set the colorset to the same transparent one that my fvwmbuttons uses, any idea? :?:
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Thu Jan 20, 2005 12:07 am    Post subject: Reply with quote

6thpink wrote:
By the way, the clock do not show transparent, and i have set the colorset to the same transparent one that my fvwmbuttons uses, any idea? :?:


The colorset in the TimeAndDate script _and_ the colorset in the buttons config both need to be transparent.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Jan 20, 2005 12:53 am    Post subject: Reply with quote

bbe wrote:
6thpink wrote:
By the way, the clock do not show transparent, and i have set the colorset to the same transparent one that my fvwmbuttons uses, any idea? :?:


The colorset in the TimeAndDate script _and_ the colorset in the buttons config both need to be transparent.

I just discovered what's going on with this. The two coloset are just the same, so thats not the problem.
The point is that, for some reason the clock remind the background of the root window region where it was spawned (a region that has an almos plain-coloured background), so it was seeing filled with a plain color.
I've restarted it some times and it now displays other regions of the screen, but it is transparent (in fact it was from the beginning).
Is there any way to override that behaviour? If there isn't, is there any way to make that window to be spawned on the region of the root window where it's going to be located? if so, where can I specify this coordinates? in .fvwm2rc or in the script ifselt? :?
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Thu Jan 20, 2005 1:06 am    Post subject: Reply with quote

6thpink post your colorsets, buttons config, and script. I've managed to get it working quite well, though i am still quite new a this fvwm stuff.. going well though :D
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Jan 20, 2005 1:38 am    Post subject: Reply with quote

bbe wrote:
6thpink post your colorsets, buttons config, and script. I've managed to get it working quite well, though i am still quite new a this fvwm stuff.. going well though :D

Well, the info that i think is relevant:
Code:


Colorset 6 RootTransparent buffer, Tint #efebef 50, fg black
# This (above) is the colorset involved in all this stuff, i dont think
# the other ones are needed for this but if you think they could be
# usefull here they are:

# Window Colorsets
###########
Colorset 3 fg #101060, bg #e6e7d7
Colorset 4 fg Black, bg #a6a797
Colorset 5 fg White, bg Black
Colorset 6 RootTransparent buffer, Tint #efebef 50, fg black
Colorset 8 fg DarkRed, bg #e6e7d7, sh Black, hi #202070
Colorset 9 fg rgb:00/00/00, hi rgb:00/00/00, sh rgb:00/00/00, bg rgb:e9/e9/d9
Colorset 10 fg rgb:00/00/00, hi rgb:dd/00/00, sh rgb:dd/00/00, bg rgb:fb/fc/ec

# Startup Functions
###########
DestroyFunc StartFunction
AddToFunc   StartFunction
+ I Module FvwmButtons
+ I Module FvwmWindowMenu
+ I Module FvwmScript $[fvwm_scripts]/TimeAndDate
# Here I start the script, the path is correct cause I have these
# vars set on the top of the file (amongst others)
SetEnv fvwm_home $[HOME]/.fvwm
SetEnv fvwm_scripts $[fvwm_home]/scripts

#####################################
### My FvwvButtons panel                                         ###
#####################################
# IMPORTANT NOTE
# $[fvwm_top_width] has a valid numeric value
# I use it on many places of this file, so i can control the
# width of my FvwmButtons panel just changing this var
# now its value is 64, i have 1024 xres and 16 cols on
# my panel, so each button has 64x64

DestroyModuleConfig LaunchTime: *

Style "LaunchTime" NoTitle, Sticky, !Borders, !Iconifiable, FixedSize, \
   FixedPosition,WindowListSkip, StaysOnTop, CirculateSkip, !Handles, \
   NeverFocus, BorderWidth 0, HandleWidth 0

*LaunchTime: Frame 0
*LaunchTime: Colorset 6
*LaunchTime: Rows 2
*LaunchTime: Columns 16
*LaunchTime: Font "xft:Bitstream Vera Sans:Bold:size=8"

Module FvwmWindowMenu

### Menú raíz
*LaunchTime: (1x2, \
   Icon /usr/share/icons/wm-icons/48x48-aquafusion/colors.png, \
   Action(Mouse 1) 'Popup "FvwmRootMenu"', \
   Action(Mouse 2) 'Exec xscreensaver-demo', \
   Action(Mouse 3) 'Popup "FvwmWindowOpsMenu" )

### TERMINAL
*LaunchTime: (1x2, Icon /usr/share/icons/wm-icons/48x48-aquafusion/terminal.png, \
   Action(Mouse 1) 'Exec aterm', \
   Action(Mouse 2) `Exec gmrun -geometry=$32x200+0+$[fvwm_top_width]`, \
   Action(Mouse 3) 'Exec xterm')

*LaunchTime: (1x2, Icon /usr/share/pixmaps/firefox-icon.png, \
   Action(Mouse 1) 'Exec firefox', \
   Action(Mouse 2) 'Exec aterm +sb -e links2', \
   Action(Mouse 3) 'Exec thunderbird')

*LaunchTime: (1x2, Icon /usr/share/icons/wm-icons/48x48-aquafusion/music.png, \
   Action(Mouse 1) 'Exec xmms', \
   Action(Mouse 3) 'Exec gmplayer')

*LaunchTime: (1x2, Icon /usr/portage/app-editors/gvim/files/gvim.xpm, \
   Action(Mouse 1) 'Exec gvim', \
   Action(Mouse 2) 'Exec xedit', \
   Action(Mouse 3) 'Exec nedit')

*LaunchTime: (1x2, Icon /usr/share/gtk-2.0/demo/gnome-gimp.png, \
   Action(Mouse 1) 'Exec gimp-2.0', \
   Action(Mouse 3) 'Exec gqview')

*LaunchTime: (1x2, Icon /usr/share/icons/hicolor/48x48/apps/gnome-nibbles.png, \
        Action(Mouse 1) 'Exec epsxe')

# Empty fot now, under construction
*LaunchTime: (1x2)

*LaunchTime: (1x2)

*LaunchTime: (1x2)

*LaunchTime: (1x2)

*LaunchTime: (1x2)

*LaunchTime: (1x2)

*LaunchTime: (1x2, Swallow "wmsmixer" `Exec wmsmixer -s -a`, \
   Action(Mouse 2) 'Exec aterm +sb -e alsamixer')

#*LaunchTime: (2x1, Swallow TimeAndDate)
*LaunchTime: (2x1, Swallow "FvwmPager")

*LaunchTime: (2x1, Swallow TimeAndDate)
#*LaunchTime: (2x1, Swallow "FvwmPager")

Module FvwmButtons -g 1024x$[fvwm_top_width]+0+0 LaunchTime


Well, the script is the one that the frien pem posted above, just changed the sizes and the colorset, that now says 6 in place of the original 30, and also the fonts. The script loads well and works well, so it may be more like a styles problem or something related to the configuration of FvwmScripts.
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Thu Jan 20, 2005 1:56 am    Post subject: Reply with quote

instead of having the TimeAndDate script execute at start, try having it in the swallow command.

Code:

*clock: (1x1, Frame 0, \
   Swallow(UseOld) "TimeAndDate" 'FvwmScript $[fvwm_script]/TimeAndDate')


Thats how i've gotten mine to work, otherwise i can't see anything too different with our configs. hope that helps
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Jan 20, 2005 3:28 am    Post subject: Reply with quote

bbe wrote:
instead of having the TimeAndDate script execute at start, try having it in the swallow command.

Code:

*clock: (1x1, Frame 0, \
   Swallow(UseOld) "TimeAndDate" 'FvwmScript $[fvwm_script]/TimeAndDate')


Thats how i've gotten mine to work, otherwise i can't see anything too different with our configs. hope that helps

I changed:
Code:
#*LaunchTime: (2x1, Swallow TimeAndDate)

By this:
Code:
*LaunchTime: (2x1, \
   Swallow "TimeAndDate" 'FvwmScript $[fvwm_script]/TimeAndDate')

Now all works as it should. Can someone explain briefly what the diference between this to lines is, please? :(
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Jan 20, 2005 3:39 am    Post subject: Reply with quote

I changed the script to display also seconds, working but sometimes it blinks a little. I suspect (correct me if i'm wrong, i don't know so much about perl) that this line is the involved one (the '1' was a '60').

Code:
If (RemainderOfDiv (GetTime) 1)==0 Then


I would like to eliminate this blinkings (although they are not so frequent). Can anyone with knowlegde about perl illustrate me around a simple way to do this check every second without the overload of a perl funtion (again, correct me if wrong) being ran every second?

PD: As i said, i don't know a bit about perl, so excuse me if this post is
totally an idiot mess.


[EDIT]: First idiot mess i realised, this is not perl (of course). I did know that (don't ask me why i wrote the above thing, i suppose lack of sleeping time :lol: .
Back to top
View user's profile Send private message
mikecore
Guru
Guru


Joined: 29 Dec 2003
Posts: 342
Location: Toledo, Ohio

PostPosted: Thu Jan 20, 2005 4:01 am    Post subject: Ok I'm almost done with my Fvwm Config <----yea right Reply with quote

Any how here is what mine config looks like

http://home.comcast.net/~cruz32/fvwm1.jpg

http://home.comcast.net/~cruz32/fvwm2.jpg

http://home.comcast.net/~cruz32/fvwm3.jpg

I like the tranparent stuff my menu is also trans now all i need todo is make
xmms completely trans and I'm done. <--- sure I am
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Jan 20, 2005 4:04 am    Post subject: Reply with quote

Just forget the above!
I changed the font (a true type one) for a bitmap font and now it works like a charm. Kewl, mola mazo! :lol:
Back to top
View user's profile Send private message
pem
Guru
Guru


Joined: 29 Aug 2004
Posts: 390
Location: France

PostPosted: Thu Jan 20, 2005 7:28 am    Post subject: Reply with quote

@bbe:
Sorry guy for not having replied on your firefox issue, but I'm a bit dry on it. I only come up with a simple idea but not quite sure it will work. If I've understood, your firefox 32 bits is launched but not displayed. I would like to know if you can see it via FvwmProxy (it's a module generally used for switching from app to app with ALT+TAB)?

@6thpink:
6thpink wrote:
Now all works as it should. Can someone explain briefly what the diference between this to lines is, please? :(

Actually, the transparency achieved via the Colorset is still fake. I mean that it does not count on the composite extension of the X server. So, if you launch your script before creating the FvwmButton, the swallowing action will only take your FvwmSript under the button as-is (with the background on which it has been created). Note that you could force a refresh (via FvwmCommand for instance) to refresh your FvwmScript background ... :? ... pheww, that is an explanation for sure!
6thpink wrote:
i realised, this is not perl (of course).

Yep, it's FvwmScript, indeed. It reminds me Tcl (I still got an old book on it in my library) and I think it has inherited from it.
6thpink wrote:
I changed the script to display also seconds, working but sometimes it blinks a little
The FvwmScripts are polled once every second by Fvwm. I guess you could remove the If (RemainderOfDiv (GetTime) 1)==0 Then ... Begin ... End thing. That would may be spare you enough scripting time to carry on with the XFT fonts: I'm found of these anti-aliased fonts.

@mikecore:
XMMS transparent ... I would like to see that. If you don't succeed, I think you could achieve almost the same effect by using a scripted command line player. I've seen some good config that does it.
_________________
Registered user #30505
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Thu Jan 20, 2005 12:42 pm    Post subject: Reply with quote

Hello, this is my first post in this thread :)

I've a problem with title-bar decorations, this is my ~/.fvwm/config :
Quote:
# Path des fichiers de configuration
SetEnv fvwm_config_path $[FVWM_USERDIR]/configs

# Variables pour mettre en place le wallpaper
SetEnv fvwm_root "Esetroot -s"
SetEnv fvwm_wallpaper_path $[HOME]/Images/Wallpapers
SetEnv fvwm_wallpaper $[fvwm_wallpaper_path]/lovetux.jpg

# Path des splashscreens
SetEnv fvwm_splash_path $[FVWM_USERDIR]/splash

# Path des décorations de fenêtres
SetEnv fvwm_deco_path $[FVWM_USERDIR]/decorations


Read $[fvwm_config_path]/start
Read $[fvwm_config_path]/splash
Read $[fvwm_config_path]/decorations


Here my decoration file :
Quote:
DestroyFunc FuncFvwmDecorBackground
AddtoFunc FuncFvwmDecorBackground
+ I TitleStyle AllActive TiledPixmap $[fvwm_deco_path]/title-bar.png
+ I TitleStyle AllInactive TiledPixmap $[fvwm_deco_path]/title-bar-inactive.png
+ I ButtonStyle All Simple -- UseTitleStyle
FuncFvwmDecorBackground

+ I FuncFvwmDecorBackground
AddButtonStyle 1 \
ActiveUp (Pixmap $[fvwm_deco_path]/menu-button.png -- flat) \
ActiveDown (Pixmap $[fvwm_deco_path]/menu-button-push.png -- flat) \
Inactive (Pixmap $[fvwm_deco_path]/menu-button-inactive.png -- flat)
AddButtonStyle 6 \
ActiveUp (Pixmap $[fvwm_deco_path]/button-min.png -- flat) \
ActiveDown (Pixmap $[fvwm_deco_path]/button-min-push.png -- flat) \
Inactive (Pixmap $[fvwm_deco_path]/button-inactive.png -- flat)
AddButtonStyle 4 \
ActiveUp (Pixmap $[fvwm_deco_path]/button-max.png -- flat) \
ActiveDown (Pixmap $[fvwm_deco_path]/button-max-push.png -- flat) \
Inactive (Pixmap $[fvwm_deco_path]/button-inactive.png -- flat)
AddButtonStyle 2 \
ActiveUp (Pixmap $[fvwm_deco_path]/button-close.png -- flat) \
ActiveDown (Pixmap $[fvwm_deco_path]/button-close-push.png -- flat) \
Inactive (Pixmap $[fvwm_deco_path]/button-inactive.png -- flat)

Style "*" Button 1, Button 2, Button 4, Button 6, GrabFocusOff
Style "*" FvwmButtons

AddToFunc FuncFvwmReloadDecor
+ I BorderStyle Simple -- HiddenHandles NoInset
+ I TitleStyle -- Flat
+ I ButtonStyle All -- Flat
FuncFvwmReloadDecor

TitleStyle Height 16



I have got of course this pixmaps ! Now i have not decorations ! Just the default decor decoration.

Here my start file :
Quote:
# InitFunction
DestroyFunc InitFunction
AddtoFunc InitFunction
+ I Module FvwmBanner
+ I Exec exec aterm

# StartFunction
DestroyFunc StartFunction
AddtoFunc StartFunction
+ I Exec exec $[fvwm_root] $[fvwm_wallpaper]


Can anyone help me please ? Thanks anyway.
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Thu Jan 20, 2005 1:00 pm    Post subject: Reply with quote

thanks pem, i'll give that a shot when i get back this evening.

mikecore wrote:

I like the tranparent stuff my menu is also trans now all i need todo is make
xmms completely trans and I'm done. <--- sure I am


Investigate xmms-pipe (or xmmspipe). U can send command line operations to xmms, which is easy to setup a menu or panel for in fvwm. To make it disappear just use the hide window commands (here:
http://rooster.stanford.edu/~ben/xmmspipe/doc.php) and hide all the xmms windows.

Something like:
Code:
 echo window all toggle > ~/.xmms/inpipe


Currently i'm making a buttons panel to replace basic xmms control (so it looks nice :D )
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 ... 12, 13, 14 ... 28, 29, 30  Next
Page 13 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