Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The F? Virtual Window Manager
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 20, 21, 22 ... 65, 66, 67  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
jroughan
n00b
n00b


Joined: 16 Feb 2004
Posts: 21

PostPosted: Tue Mar 09, 2004 4:20 pm    Post subject: fvwm install attempt (not yet working) Reply with quote

I have done emerge fvwm, emerge fvwm-themes, icons audio,
downloaded crystal themes and ran the install script.
i have .fvwm in my home & also copied the 'taviso' .fvwm2rc

I changed /etc/rc.conf Xsession="fvwm"

..but when i do startx, twm starts instead of fvwm. any ideas?
Back to top
View user's profile Send private message
taviso
Retired Dev
Retired Dev


Joined: 15 Apr 2003
Posts: 261
Location: United Kingdom

PostPosted: Tue Mar 09, 2004 4:25 pm    Post subject: Re: fvwm install attempt (not yet working) Reply with quote

jroughan wrote:
but when i do startx, twm starts instead of fvwm. any ideas?


Code:
$ echo 'exec fvwm' > ~/.xinitrc

_________________
--------------------------------------
Gentoo on Alpha, is your penguin 64bit?
--------------------------------------------------------
Back to top
View user's profile Send private message
jasonou
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 87

PostPosted: Tue Mar 09, 2004 9:26 pm    Post subject: Reply with quote

toth,
thanks, that helped a bunch.

Does anyone have a screenshot of a nice way to use ficonman?
_________________
sn41g2, nForce2 Mobo, 512 RAM, 1800+ Athlon XP
Back to top
View user's profile Send private message
jroughan
n00b
n00b


Joined: 16 Feb 2004
Posts: 21

PostPosted: Wed Mar 10, 2004 12:59 am    Post subject: fvwm launches ..but freezes up on desktop mouse click Reply with quote

Thanks Taviso, that suggestion got fvwm running, now I suppose I need to spend a bit of time getting my config tuned. ; )

One question I have is:

now fvwm is launching...but not really working.

For example if I click on the main workspace the system starts to hourglass down to a death spiral. I am using the .fvwm2rc that you posted. (I doubt your system has this problem)

I plan to spend endless hours getting my config to a working state... I am supposing that some of the pointers in the .fvm2rc file are unique for your system(?)

Well thanks to you I am now using fvwm...sort of; and we are 20+ pages into your thread from whence you first asked:
Quote:
So why isnt everybody using it?

In the spirit of giving something back & to streamline the effort for future gentoo users interested in fvwm (which definitely connects the gentoo concept of build your own system) I propose that the following get posted to the Desktop `Install` section.
-------------
So why isnt everybody using it? (www.fvwm.org)
fvwm is incredible, every tiny detail is configurable and any feature or behaviour of any other window manager you have seen or have imagined can be replicated, tweaked, refined and added to fvwm. (hours of `F`un.)

To get your `F`ast window manager running do the following->
Code: $ su -
# emerge fvwm fvwm-themes fvwm_icons fvwm_sounds
# ACCEPT_KEYWORDS="~x86" emerge fvwm-themes-extra
# vi /etc/rc.conf
Change XSESSION to XSESSION="fvwm"
# exit
$ cp /usr/share/fvwm/system.fvwm2rc-sample-95 ~/.fvwm2rc
#echo > `exec fvwm` ~/.xinitrc
#xinit (startx)
#
exit X (ctrl+shift+back space)
#
# many themes to choose from, here is the `crystal` example.
Code:
$ wget ftp://ftp.linuxpl.org/fvwm-crystal/tarballs/fvwm-crystal-1.0.1.tar.gz
$ tar -zxpf fvwm-crystal-1.0.1.tar.gz
$ cd fvwm-crystal-1.0.1
$ ./configure && make && su -c "make install"
$ su -
# emerge habak
# exit
$ fvwm-crystal.install

-> now that your fvwm window is launching you should consider
joining the www.fvwm.org mail list, & possibly fvwm-themes-users mail list, check out the man pages, and enjoy the endless hours of creating your unique window manager. `F`un.

# note, I would also include some `USE` settings, suggested dependancies (perl) and not mention anything at all about configging the .fvwm2rc until after fvwm actually launches. ; )
------------------------------------------------ the end
99% of the above install steps came from aaronjb in berkshire ; )
pg 20 in this endless thread.

`any other suggestions welcome` ...my fvwm is not working, but at least it launches and I suppose from here is where the fun begins...gnarf! :twisted:
Back to top
View user's profile Send private message
Toth
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2003
Posts: 133

PostPosted: Wed Mar 10, 2004 5:09 am    Post subject: Reply with quote

For those of you running FVWM on a laptop, I figured I'd post an FvwmScript that I whipped up to display the battery status using APM. Here it is:

Code:
# FvwmAPM
# By Nicholas Penwarden <toth64@yahoo.com>

WindowTitle {FvwmAPM}
WindowSize 120 30
WindowPosition 1280 50
Font      "Shadow=1:xft:Verdana:bold:pixelsize=16:minspace=true"

Init
 Begin
   Set $bstattac=(GetOutput {apm | cut -d, -f1} 1 -1)
   Set $bstattp=(GetOutput {apm | cut -d: -f2 | cut -d" " -f2} 1 -1)
   Set $bstattpn=(GetOutput {apm | cut -d: -f2 | cut -d" " -f2 | cut -d% -f1} 1 -1)
   Set $bstatt=$bstattp { } $bstattac
   ChangeTitle 2 $bstatt
   ChangeValue 1 $bstattpn
   If $bstattpn<50 Then
    Begin
       ChangeColorset 1 15
    End
   If $bstattpn<20 Then
    Begin
       ChangeColorset 1 16
    End
 End

PeriodicTasks
 Begin
  If (RemainderOfDiv (GetTime) 30)==0 Then
   Begin
    Set $bstattac=(GetOutput {apm | cut -d, -f1} 1 -1)
   Set $bstattp=(GetOutput {apm | cut -d: -f2 | cut -d" " -f2} 1 -1)
   Set $bstattpn=(GetOutput {apm | cut -d: -f2 | cut -d" " -f2 | cut -d% -f1} 1 -1)
   Set $bstatt=$bstattp { } $bstattac
   ChangeTitle 2 $bstatt
   ChangeValue 1 $bstattpn
   ChangeColorset 1 14
   If $bstattpn<50 Then
    Begin
       ChangeColorset 1 15
    End
   If $bstattpn<20 Then
    Begin
       ChangeColorset 1 16
    End   
   End
 End

Widget 1
Property
 Size 120 11
 Position 0 0
 Colorset 14
 Type HDipstick
 MinValue 0
 MaxValue 100
 Value 50
End

Widget 2
Property
 Size 120 19
 Position 0 11
 Colorset 10
 Font "Shadow=1:xft:Verdana:pixelsize=11:minspace=true"
 Flags Center
 Type ItemDraw
 Title {OK}
End


Colorset 10 determines what the background of the text portion of the monitor looks like. Colorsets 14, 15, and 16 adjust how the bar itself appears when the battery is high, low, and critical respectively. The WindowPosition portion at the top of the script effects where the monitor shows up on the screen.

To use it, place this code in a file somewhere (like in ~/.fvwm/scripts) then add the following to your start function in ~/.fvwm2rc:
Code:
+ I Module FvwmScript
+ I FvwmScript $[HOME]/.fvwm/scripts/FvwmAPM


Also, you may want to add the following lines somewhere in your config to prevent the window from being decorated, etc.:
Code:
Style FvwmAPM NoTitle, Sticky, WindowListSkip, CirculateSkipIcon
Style FvwmAPM CirculateSkip, StaysOnBottom, NoHandles, BorderWidth 0
Back to top
View user's profile Send private message
MrNugget
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2003
Posts: 144
Location: Germany

PostPosted: Thu Mar 11, 2004 4:24 pm    Post subject: Reply with quote

Wow! I'm really impressed by the possibilities i've got with fvwm. Nice thread and nice shots!
Though i think i will stay with gnome because i didn't get anything working with a normal rc file and everything is complicated, but: good wm! :)
Back to top
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Sat Mar 13, 2004 1:49 pm    Post subject: Reply with quote

littel question. after i installed fvwm-themes, how do i select a theme?

eeknay
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
sburnett
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2002
Posts: 79
Location: USA

PostPosted: Sat Mar 13, 2004 5:55 pm    Post subject: Reply with quote

eeknay: If you start fvwm using the command fvwm-themes-start you will be able to change the theme using the menu.

Anyone else: How do I center the mouse on the titlebar of a window? I'm using sloppy focus, and whenever I shade a window using the keyboard, the current window loses focus since the pointer is now over another window. This is obviously very annoying, since I often just want to shade a window to read something below it. Is there a way to center the pointer over the titlebar of the selected window so this doesn't happen?
Back to top
View user's profile Send private message
taviso
Retired Dev
Retired Dev


Joined: 15 Apr 2003
Posts: 261
Location: United Kingdom

PostPosted: Sat Mar 13, 2004 7:12 pm    Post subject: Reply with quote

sburnett wrote:
eeknay: If you start fvwm using the command fvwm-themes-start you will be able to change the theme using the menu.

Anyone else: How do I center the mouse on the titlebar of a window? I'm using sloppy focus, and whenever I shade a window using the keyboard, the current window loses focus since the pointer is now over another window. This is obviously very annoying, since I often just want to shade a window to read something below it. Is there a way to center the pointer over the titlebar of the selected window so this doesn't happen?


I guess you have probably bound your keystroke to Current WindowShade Toggle, or something like that, if you change it to Pick WindowShadeWithWarp, then define a function like this:

Code:
DestroyFunc WindowShadeWithWarp
AddToFunc WindowShadeWithWarp
+ I ThisWindow (!Shaded) WarpToWindow 5 2
+ I WindowShade Toggle


If you absolutely want it to be the centre of the window, try this :)

Code:
DestroyFunc WindowShadeWithWarp
AddToFunc WindowShadeWithWarp
+ I ThisWindow (!Shaded) PipeRead "echo WarpToWindow `expr $[w.width] / 2`p 2"
+ I WindowShade Toggle


(untested, but should work) :)
_________________
--------------------------------------
Gentoo on Alpha, is your penguin 64bit?
--------------------------------------------------------
Back to top
View user's profile Send private message
sburnett
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2002
Posts: 79
Location: USA

PostPosted: Sun Mar 14, 2004 2:09 am    Post subject: Reply with quote

YES!

Both work perfectly. The second one has no noticable delay even though it has to open a pipe, so that's the one I'm using.

Fvwm never ceases to amaze me. Thanks!
Back to top
View user's profile Send private message
jasonou
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 87

PostPosted: Sun Mar 14, 2004 8:38 pm    Post subject: Reply with quote

Can someone help me with 2 questions?

1) I would like my active window borders to be white. Yet,
Code:
BorderStyle Active Solid white -- NoInset HiddenHandles
still gives me black borders.

2) I like taviso's '.: b l a h :.' look. But I can't get the title bar of my aterm windows to show anything other than '<user>@<hostname>', even with the -tn or -title switch.
_________________
sn41g2, nForce2 Mobo, 512 RAM, 1800+ Athlon XP
Back to top
View user's profile Send private message
guy
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 286
Location: USA

PostPosted: Mon Mar 15, 2004 4:20 am    Post subject: Reply with quote

I'm really starting to love FVWM [thanks taviso!!] but am having one problem-- is there a way to specify where certain windows open up? The main ones I want are grun (I want it to open in the middle of the screen always) and the FVWM pager. I read the man page of FvwmPager and read about the *FvwmPager: Geometry setting, but it did not work for me.
_________________
www.manatee.servemp3.com
www.seas.upenn.edu/~bdodson/gina
www.goatse.cx [it will rise again!]
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Mon Mar 15, 2004 8:55 am    Post subject: Reply with quote

[quote="theBlackDragon"]
taviso wrote:
theBlackDragon wrote:
Maybe a dumb question or so, but most programs provide some kind "geometry"-option, but is it also possible to also set a location/geometry for those that don't provide this?


There's a generic solution in the faq you might find interesting: http://www.fvwm.org/documentation/faq/#3.18 :)


That should help you.
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
jasonou
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 87

PostPosted: Mon Mar 15, 2004 3:35 pm    Post subject: Reply with quote

could someone who is using fvwm-crystal post the window decoration section of their rc file? it should use frame_maximize.png, frame_minimize.png, etc...
thanks!
_________________
sn41g2, nForce2 Mobo, 512 RAM, 1800+ Athlon XP
Back to top
View user's profile Send private message
Mongrol
Guru
Guru


Joined: 14 Sep 2002
Posts: 376

PostPosted: Mon Mar 15, 2004 7:09 pm    Post subject: Reply with quote

How do people handle alt-tab task switching with fvwm2? The last time I tried it I really fancied having a go and customising it to my liking but the task switching menu seemed extremely cludgy and inflexible. Press alt-tab, up pops a menu which grabs the mouse pointer and shuffles it between your tasks. Is there a way of task switching without grabbing the mouse and doing it nice like almost every other OS/DE/WM out there?
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Mon Mar 15, 2004 8:22 pm    Post subject: Reply with quote

Mongrol: try adding the following to your .fvwmrc:
Code:
Key Tab    A   M   -
Key Tab    A   M   Next [CurrentDesk] FocusAndRaise
Key Tab   A    SM   Prev [CurrentDesk] FocusAndRaise

That should cycle through all the windows on your current desktop (use Shift-Alt-Tab to go backwards).
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
byrnerat101
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2003
Posts: 106
Location: upstate, NY

PostPosted: Mon Mar 15, 2004 9:19 pm    Post subject: Reply with quote

Here's a handy little pipe that Taviso and I came up with to include all of the icon directories under the one you specify, that have 16x16 icons in them (handy if you have fvwm-themes installed)

Code:
PipeRead 'find /usr/share/icons/ -type d -printf "ImagePath +:%p\\n" | grep -e 16x16'


Oh and here is a link to my fvwm2rc and my screenshots
www.byrnerat101.homelinux.org/fvwm2rc
www.byrnerat101.homelinux.org/screenshot0309.png[/url]
Back to top
View user's profile Send private message
Mongrol
Guru
Guru


Joined: 14 Sep 2002
Posts: 376

PostPosted: Mon Mar 15, 2004 10:49 pm    Post subject: Reply with quote

Wedge_ wrote:
Mongrol: try adding the following to your .fvwmrc:
Code:
Key Tab    A   M   -
Key Tab    A   M   Next [CurrentDesk] FocusAndRaise
Key Tab   A    SM   Prev [CurrentDesk] FocusAndRaise

That should cycle through all the windows on your current desktop (use Shift-Alt-Tab to go backwards).


Ah, that still grabs the mouse pointer and positions it over each task button as I tab around. No use.

Infact, I lie. It doesn't do anything. :)
Back to top
View user's profile Send private message
taviso
Retired Dev
Retired Dev


Joined: 15 Apr 2003
Posts: 261
Location: United Kingdom

PostPosted: Mon Mar 15, 2004 11:21 pm    Post subject: Reply with quote

Mongrol wrote:
How do people handle alt-tab task switching with fvwm2? The last time I tried it I really fancied having a go and customising it to my liking but the task switching menu seemed extremely cludgy and inflexible.

8O *genuine shock!*

I don't know where you got cludgy and inflexible from, you could write a book on configuring the WindowList command alone. hell, you could add a couple of extra volumes on alternative methods of task switching!

I could write a few paragraphs on configuring the appearance, behaviour, selection, conditional matching, bindings, WindowListFunc, etc., but instead, why dont you describe how you want task switching to behave, and we will help you implement it? :)

You arent limited to using a WindowList, there are hundreds of other techniques, like Wedge_'s Circulate binding above, or a Transient Pager, or FvwmProxy (totally rocks, try it), or hundreds of variations of them and other alternatives. I already have a menu that shows screenshots of open windows, and allows you to pick one, I'm also working on a OSX expose style function, using a compination of FvwmEvent and Iconify.

Definitely not inflexible!

edit: in case you're wondering what FvwmProxy does, here's a little screenshot with several windows open, and FvwmProxy running

http://dev.gentoo.org/~taviso/fvwmproxy.png

FvwmProxy allows you to see all open windows, even if they are obscured by other windows, you can drag the boxes around without disturbing the stacking order or windows, you can iconify or raise windows from the boxes, and they are totally configurable (can ignore certain windows, show miniicons, colours, fonts, everything). I have Alt+Esc bound to toggle FvwmProxy on and off, and I use it all the time...just another alternative to think about :D
_________________
--------------------------------------
Gentoo on Alpha, is your penguin 64bit?
--------------------------------------------------------
Back to top
View user's profile Send private message
z33k
n00b
n00b


Joined: 06 Jan 2004
Posts: 34
Location: Norwood, MA

PostPosted: Tue Mar 16, 2004 12:55 am    Post subject: Reply with quote

jasonou wrote:
2) I like taviso's '.: b l a h :.' look. But I can't get the title bar of my aterm windows to show anything other than '<user>@<hostname>', even with the -tn or -title switch.


Check your .bashrc (assuming you use bash). I had this problem too. Comment out the lines at the bottom like this.
Code:
# Change the window title of X terminals
#case $TERM in
#       xterm*|rxvt|Eterm|eterm)
#               PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
#               ;;
#       screen)
#               PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
#               ;;
#esac


Peace,
Josh
Back to top
View user's profile Send private message
Mongrol
Guru
Guru


Joined: 14 Sep 2002
Posts: 376

PostPosted: Tue Mar 16, 2004 9:01 am    Post subject: Reply with quote

Quote:
Definitely not inflexible!


Yep, you're right. I suppose what I really want is task switching to be like the *boxes (without grabbing the mouse pointer). This would reduce the default configuration to be usable and allow me to get on with configuring everything else more comfortably.
Back to top
View user's profile Send private message
TenPin
Guru
Guru


Joined: 26 Aug 2002
Posts: 500
Location: Kansas City

PostPosted: Tue Mar 16, 2004 9:41 am    Post subject: Reply with quote

I have 1 question about fvwm:

Can it remember the desktop, size and position of where I want all my firefox windows to always appear without fail ?

ie. does it have the fluxbox like 'remember' capability.

I switched from fluxbox to openbox for a while but I'm getting a bit annoyed with having to manually put all my apps where I want rather than them always appearing in the same place without fail.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Tue Mar 16, 2004 9:45 am    Post subject: Reply with quote

Mongrol wrote:
Ah, that still grabs the mouse pointer and positions it over each task button as I tab around. No use.

Infact, I lie. It doesn't do anything.

Well, it works perfectly for me. I don't like things grabbing the mouse pointer either, thats why I use it.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
taviso
Retired Dev
Retired Dev


Joined: 15 Apr 2003
Posts: 261
Location: United Kingdom

PostPosted: Tue Mar 16, 2004 10:49 am    Post subject: Reply with quote

TenPin wrote:
Can it remember the desktop, size and position of where I want all my firefox windows to always appear without fail ?


don't see why not.

make a function that saves the location, window class and page desk if you like, then use FvwmEvent to check the list when a new window is created. shouldnt be very difficult :) you could probably do something similar with session management support.
_________________
--------------------------------------
Gentoo on Alpha, is your penguin 64bit?
--------------------------------------------------------
Back to top
View user's profile Send private message
nrl
Guru
Guru


Joined: 27 Mar 2003
Posts: 446
Location: Glasgow, UK

PostPosted: Tue Mar 16, 2004 7:00 pm    Post subject: Reply with quote

After reading the many pages of this thread I foolishly ran the command man fvwm | lpr before I try to set this beast up...

I think I can see smoke comming out of my printer - it's the longest man page ever 8O
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 ... 20, 21, 22 ... 65, 66, 67  Next
Page 21 of 67

 
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