LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-22-2009, 07:59 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
How to install fvwm?


I have downloaded fvwm source code, and now I have some problems:
  • When I run the ./configure script, it says that it is optimized for GNOME and GTK is not detected. But I need GTK and don't want GNOME.
  • How do I stop GNOME and Metacity and start FVWM instead?
  • How to make it come up on startup instead of GNOME and Metacity?
 
Old 09-22-2009, 08:16 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I don't remember having to disable gnome and certainly haven't had to for years. I believe '--without-gnome-includes --without-gnome-libs --without-gnome' might get it done. I also don't use the gtk stuff for fvwm but I believe it is gtk1 and you probably don't have gtk1 on your system (or at least not gtk1 dev stuff). This won't affect your ability to run your normal gtk2 apps - it basically just affects an fvwm module or two. If you really need it, install the gtk1 dev stuff, I guess.

-- Yeah, all this is in the INSTALL.fvwm document. Read that.

As far as killing metacity, I think it's a gconf setting - search for 'metacity' and where it's being defined as the WM, replace it with fvwm. I think it's KDE that has the KWM variable or whatever.

-- I'm sure this comes up a lot. Try searching the web/this site.

As far as making it come up, it's an xsession issue. I don't know the details.

-- Ditto on the search.

But surely you can install fvwm from an rpm? (Assuming this is for Fedora.) Then it would probably take care of the Xsession stuff for you... though it likely is linked to gnome stuff then. Still, the rpm thing will do the deps, right?

Anyway - always read the docs and search the web.
 
Old 09-23-2009, 01:46 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,551

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Welcome to LQ.

You can also do : # yum install fvwm

.. to get a genuine Fedora 11 package.
Then you will avoid all -devel packages,
required for compiling, and it is easy
to uninstall, if you don't like the
Fedora version of fvwm.
.....
 
Old 09-23-2009, 06:47 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by slakmagik View Post
I don't remember having to disable gnome and certainly haven't had to for years. I believe '--without-gnome-includes --without-gnome-libs --without-gnome' might get it done.
configure still outputs this:

Code:
blah blah blah...

  With GNOME Window Manager hints?   yes
  With GTK support for FvwmGtk?      no: Failed to detect GTK, see config.log
  With Multibyte support?            no: Use --enable-multibyte to enable
  With ReadLine sup. in FvwmConsole? yes
  With RPlay support in FvwmEvent?   no: Can't find working librplay
  With Shaped window support?        yes
  With Session Management support?   yes
  With Stroke support?               no: Can't find working libstroke
  With Xinerama support?             yes Good, because I have dual monitors
  With XPM support?                  yes
Quote:
Originally Posted by slakmagik View Post
I also don't use the gtk stuff for fvwm but I believe it is gtk1 and you probably don't have gtk1 on your system (or at least not gtk1 dev stuff). This won't affect your ability to run your normal gtk2 apps - it basically just affects an fvwm module or two. If you really need it, install the gtk1 dev stuff, I guess.
Does that mean that FvwmButtons, etc will not work?
 
Old 09-23-2009, 07:23 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
OK, I decided to skip the trouble and just use what "sudo yum install fvwm" gave me. but what to do with it now?
 
Old 09-23-2009, 11:11 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
The window manager hints have nothing to do with the gtk support, though I absolutely know nothing concrete about what's it about in fvwm.

Second, the only gtk support in fvwm is for FvwmGtk. FvwmGtk is an alternative for the fvwm builtin menus and FvwmForms, and as far as I know, that's all its scope. I've *never* compiled the gtk support in fvwm, and never missed it certainly, your mileage may vary. However, and in any case, it requires gtk *1.x*, and it won't work with 2.x.

About how to use it... well, it depends. Do you want to use it inside of gnome (in place of metacity) or do you want to use it standalone? How are you starting X? startx or gdm?

ps. FvwmButtons has nothing to do with this. As said, the only relevant module for gtk is FvwmGtk. The rest will work perfectly. I have no idea if the fedora pre-built fvwm has that enabled or not (i'd guess not). fvwm -V might tell you something about what has been compiled in.
 
Old 09-23-2009, 11:16 AM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by i92guboj View Post
About how to use it... well, it depends. Do you want to use it inside of gnome (in place of metacity) or do you want to use it standalone?
I want to use fvwm standalone.

Quote:
Originally Posted by i92guboj View Post
How are you starting X? startx or gdm?
I don't know. When it boots, it brings up a window where I click my username and enter my password, and it just starts.
 
Old 09-23-2009, 11:34 AM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by MTK358 View Post
I want to use fvwm standalone.
Right.


Quote:
I don't know. When it boots, it brings up a window where I click my username and enter my password, and it just starts.
That's the login manager. Look around, there should be an options menu where you should be able to choose what kind of session you want to start. Fvwm should be there.

If it isn't, the you would need to select probably the default session or something similar, after putting fvwm in your ~/.xsession file. It's been years since I used a graphical login manager so I am really not sure, but it should be a matter of editing ~/.xsession, inserting a single line containing "fvwm", save it, and in the next login select the default session, user defined or something along those lines.
 
Old 09-23-2009, 12:13 PM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
That worked, there were no icons/taskbar, and the GUI widget theme changed to a bluish-glassy looking one like when I installed Fedora. I wonder if it is the GTK default or something?

But one HUGE problem: Even though this is not a laptop, I am using a PCI WiFi card (RaLink RT2860 chipset) because this computer is on the second floor very far from the router. It is using a driver I installed by executing "sudo yum install rt2860". The problem is that the program that connects me to the home network runs in GNOME panel (in the about box, it says it's "NetworkManager Applet"), so in FVWM I have no internet! I had to log out and choose GNOME to get back online and write this. What should I do?
 
Old 09-23-2009, 12:39 PM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by MTK358 View Post
That worked, there were no icons/taskbar
The fvwm default configuration only includes a menu that appears when you click on the root window (the surface where the wallpaper would normally appear in other wm's). It is far more configurable that most wm's, but the default config is as simple as it can get.

Here's a guide that you can use to give your first steps into fvwm, a bit old but it mostly works ok:

http://www.zensites.net/fvwm/guide/index.html

Of course, feel free to ask any specific question, here or in the fvwm user mailing list.

Quote:
, and the GUI widget theme changed to a bluish-glassy looking one like when I installed Fedora. I wonder if it is the GTK default or something?
There's a number of ways to configure the gtk theme outside of gnome (if it's truly the gtk theme what you mean, which I am not 100% sure). You can try installing gtk-chtheme, or lxappereance if my memory serves and the spelling is correct, these will allow you to configure the aspect of gtk applications

Quote:
But one HUGE problem: Even though this is not a laptop, I am using a PCI WiFi card (RaLink RT2860 chipset) because this computer is on the second floor very far from the router. It is using a driver I installed by executing "sudo yum install rt2860". The problem is that the program that connects me to the home network runs in GNOME panel (in the about box, it says it's "NetworkManager Applet"), so in FVWM I have no internet! I had to log out and choose GNOME to get back online and write this. What should I do?
I understand very little about wireless stuff, but this applets are usually a frontend to something else which is what actually does the work. For the time being I guess you could run gnome-panel inside of fvwm. Assuming that the gnome-panel tool is still called "gnome-panel", you should be able to load it at startup by including this line in your fvwm config (usually at ~/.fvwm/config):

Code:
AddToFunc StartFunction I Test (Init) Exec exec gnome-panel
Or, just click on the background, choose "issue fvwm commands", and in the window that appears run this command:

Code:
Exec exec gnome-panel
The later is not permanent though but it can serve you as a quick test to see if gnome-panel starts ok. If it works, you should see the gnome panel there (don't worry about the window decoration and the position, that can be fixed later), if that's acceptable for you, then it's ok, if not, then you are going to have to research how to use the wireless stuff without the gnome network manager. There's a way for sure, but I am not into wireless nor into gnome so I wouldn't really know where to start looking to solve that.

You can always open a new thread "looking for a substitute for the gnome network manager"
 
Old 09-23-2009, 12:49 PM   #11
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by i92guboj View Post
You can always open a new thread "looking for a substitute for the gnome network manager"
Guess so.

EDIT: I already did so: http://www.linuxquestions.org/questi...10#post3694510

Last edited by MTK358; 09-23-2009 at 12:57 PM.
 
Old 09-23-2009, 10:38 PM   #12
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
Start nm-applet in any windows manager supporitng systray and it will work, you may wwant to add it to the autoload list.
 
Old 09-24-2009, 07:20 AM   #13
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
I'm not sure what that means.
 
Old 09-24-2009, 09:47 AM   #14
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
I think that nm-applet is the gnome network manager. For what he says, nm-applet will work outside of gnome as well because it's an application that lives iconified in the system tray, and not a gnome panel applet. That's good news because if you want, you can continue using it in fvwm.

It will need a system tray to live into. Fvwm has no system tray, but an external one can be used (a popular one is stalonetray). So, you would need to install and run stalonetray to get a system tray, then nm-applet. Again, don't worry about integration, everything can be arranged at a later stage. Just install stalonetray, then launch it, and once stalonetray is working (you should see an empty window) try to launch nm-applet, if it works then you should see a tray icon inside the stalonetray window, and you should be able to manage your network as you always did.
 
Old 09-24-2009, 10:00 AM   #15
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
I'll see how that goes. I was actually wondering about the system tray in FVWM.

EDIT: I can't seem to find "standalonetray" anywhere.

Last edited by MTK358; 09-24-2009 at 10:03 AM.
 
  


Reply

Tags
fvwm, gnome, manager, metacity, replace, window


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fvwm & fvwm-crystal? festhead Linux - Desktop 1 09-23-2007 09:49 AM
transparency not correct with fvwm + fvwm-crystal + radeon hedpe Linux - Desktop 0 01-30-2007 07:59 PM
clock not working in fvwm with fvwm-crystal hedpe Linux - Software 0 09-13-2005 08:04 PM
FVWM Install FC4 Test 1 khsater Fedora 3 03-26-2005 05:29 PM
2 fvwm processes with 2 displays, only want one fvwm enzo250gto Linux - Software 0 01-27-2005 04:50 PM


All times are GMT -5. The time now is 06:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration