LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2010, 09:45 AM   #1
rocky92
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
how to switch window focus by moving mouse over (in Fedora/Gnome)?


Hi, there

I am using Fedora11/Gnome and I frequently use several windows for input. I would like to focus on a window just by moving the mouse over it (but not pop up). However, I can not find anywhere to set up this option. Could anyone kindly help me here?

thank you advance.


------------
PS. I noticed in a previous thread that someone suggested to use gconf-editor in Ubuntu, but I can not find it in my Fedora system. Does one need to install it manually?
 
Old 10-18-2010, 11:43 AM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Metacity (GNOME's window manager) does not have such a feature.

Note that you can still use GNOME with a different WM. Here's how:

Code:
$ killall metacity
$ <command to start new WM>
You might like Xfwm or Openbox, or even Compiz (which GNOME uses when desktop effects are enabled, but you can't set it to focus-follows-mouse without the CCSM package).

Last edited by MTK358; 10-18-2010 at 11:44 AM.
 
1 members found this post helpful.
Old 10-19-2010, 10:10 AM   #3
rocky92
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you very much. Xfwm4 works very well. Is there any way to change my default window manager into XF, (other than write killall/xfwm commands in .cshrc)?


Quote:
Originally Posted by MTK358 View Post
Metacity (GNOME's window manager) does not have such a feature.

Note that you can still use GNOME with a different WM. Here's how:

Code:
$ killall metacity
$ <command to start new WM>
You might like Xfwm or Openbox, or even Compiz (which GNOME uses when desktop effects are enabled, but you can't set it to focus-follows-mouse without the CCSM package).
 
Old 10-19-2010, 10:28 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I don't know, does GNOME have any way to run a script on startup? To modify its settings, run the command "xfwm4-settings".

Xfwm is actually the default window manager for the Xfce desktop environment, but it works just as well is any or even no DE.
 
Old 10-19-2010, 10:36 AM   #5
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by MTK358 View Post
Metacity (GNOME's window manager) does not have such a feature.
It does!

@the OP stick with Metacity, click "system", "preferences" and enable it under "windows"

...or open your terminal and run gnome-window-properties
 
Old 10-19-2010, 11:02 AM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by rocky92 View Post
PS. I noticed in a previous thread that someone suggested to use gconf-editor in Ubuntu, but I can not find it in my Fedora system. Does one need to install it manually?
This is only removed since Fedora 12 and latest upstream GNOMEs (gnome developers don't like usability and try to remove as much as possible).

In Fedora 12 (or newer?), install "control-center-extra":
Code:
yum install control-center-extra
and it should be back

...or you could indeed install "gconf-editor" and next, apps->metacity->general, set "focus_mode" to "sloppy

see: http://www.linux-archive.org/fedora-...erties-go.html

Last edited by jens; 10-19-2010 at 11:24 AM.
 
1 members found this post helpful.
Old 10-19-2010, 12:24 PM   #7
rocky92
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jens View Post
...or you could indeed install "gconf-editor" and next, apps->metacity->general, set "focus_mode" to "sloppy
Thank you Jens, This works perfectly.

Quote:
Originally Posted by jens View Post
In Fedora 12 (or newer?), install "control-center-extra":
Code:
yum install control-center-extra
and it should be back
it does not work. But "yum install gconf-editor" works.

Quote:
Originally Posted by jens View Post
This is only removed since Fedora 12 and latest upstream GNOMEs (gnome developers don't like usability and try to remove as much as possible).
It rather looks like they want to force me to find nice people to help before I can do anything. Typical Linux.

Thank you again, and thank MTK358 as well.

Last edited by rocky92; 10-19-2010 at 12:26 PM.
 
Old 10-19-2010, 02:38 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Quote:
Originally Posted by jens View Post
...or you could indeed install "gconf-editor" and next, apps->metacity->general, set "focus_mode" to "sloppy
I knew that, but I remember seeing that it's a buggy, experimental feature.
 
Old 10-19-2010, 07:08 PM   #9
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by MTK358 View Post
but I remember seeing that it's a buggy, experimental feature.
No.
It's removed because Mr Jon McCann thinks:
Quote:
Originally Posted by Jon McCann
They are for tweakers. Let's remove it.
http://mail.gnome.org/archives/gnome.../msg00120.html

Tweakers?
It's one of the oldest (and most traditional) UNIX/X11 functions
I personally wouldn't even touch a DE that doesn't support it.

Last edited by jens; 10-19-2010 at 07:26 PM.
 
Old 10-19-2010, 08:52 PM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
What's "they"?
 
Old 10-19-2010, 09:24 PM   #11
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by MTK358 View Post
What's "they"?
The options in the windows dialog (like the sloppy mouse focus mode).

Quote:
Originally Posted by Jon McCann
We should remove the window preferences capplet. These are all user experience cop outs. We should leave this to a tweak UI type tool - if someone even cares
to write such a thing.
https://bugzilla.gnome.org/show_bug.cgi?id=592759
 
Old 10-20-2010, 07:49 AM   #12
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
What's a "capplet"?

Anyway, I think that the ability to change the focus policy is an important preference that should be easily visible.
 
Old 10-20-2010, 08:19 AM   #13
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by MTK358 View Post
What's a "capplet"?

Anyway, I think that the ability to change the focus policy is an important preference that should be easily visible.
A C/Configration "applet" for the GNOME panel (don't expect anything GNOME to make sense).
It's more like how Windows does it.

Sadly, Mr Jon MacCann seems to think that sloppy mouse focus is only for geeks (meaning it should be destroyed or hidden in gconf).

Last edited by jens; 10-20-2010 at 08:54 AM.
 
  


Reply


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
Gnome window focus jackpal Linux - Desktop 1 12-23-2009 01:34 PM
Focus on Click or anything else besides Focus on mouse. mellor Linux - Newbie 2 05-29-2008 12:31 PM
Tell me how to switch virtual desktops with mouse scroll in GNOME! CrashProne Linux - Software 1 04-02-2006 05:05 AM
Switch workspace by moving the mouse pointer SirOracle Fedora 4 12-20-2004 06:36 AM
Gnome 2.2 Window Manager Switch Pwcca Linux - Software 1 04-24-2003 02:08 AM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration