LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-13-2011, 09:42 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
FVWM: Making an accurate clone of the ALT+TAB function of WIN98/2000/XP


Solution 1:

A simpler style can be used with the following:
Code:
      Key Tab A M WindowList Root c c CurrentDesk, NoGeometry

Solution 2:

WC2. Switching focus between windows. (Alt-Tab)

I don't like the default behaviour of FVWM's Alt-Tab key combination -- yes, the WindowList is useful, but it's not what I want to see when I want to focus other windows --- I prefer (dare I say it) functionality similar to MS-Windows. I'd much rather be able to cycle windows. There's some suggestions in the main FVWM FAQ about how to do this, although that still didn't quite emulate what I was after --- indeed, none of the solutions cycled back round to the first window. So, here's my solution to it.

Code:
    SetEnv DIR Next                                                             

    AddToFunc FocusRaiseAndStuff
    + I Iconify off
    + I Focus
    + I Raise

    AddToFunc SwitchWindow
    + I $[DIR] (CurrentPage, !Iconic, !Sticky) FocusRaiseAndStuff
    + I Deschedule 134000
    + I PipeRead `[ "$[DIR]" == "Prev" ] && \
	echo 'SetEnv NDIR Next' || \
	echo 'SetEnv NDIR Prev'`
    + I Schedule 700 134000 SetEnv DIR $[NDIR]
=> the scrolling in the order of creation of the window is not followed, it just follows PREV/NEXT which is messy order

Those 2 solutiosn are not similar to windows.

Help to develop it!
 
Old 06-14-2011, 01:48 PM   #2
ThomasAdam
Member
 
Registered: Apr 2011
Posts: 41

Rep: Reputation: 46
Quote:
Originally Posted by frenchn00b View Post

Help to develop it!
Patches welcome. Oh wait...

-- Thomas Adam
 
  


Reply



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
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
Switching window focus (like alt+tab in windows) and Ctrl+Alt+F1 X windows problem... DiZASTiX Linux - Software 3 01-20-2005 04:56 PM
how to Alt + Tab? Moebius Linux - Games 2 08-30-2004 07:08 PM
Alt-Tab and Alt-F4 in Fluxbox? tavilach Linux - Software 2 07-17-2004 04:03 PM
help using rtc as a more accurate replacement for python's 'sleep' function kernelpanicguy Programming 0 11-29-2003 12:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:00 PM.

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
Open Source Consulting | Domain Registration