Difference between revisions of "Twm"

From ArchWiki
Jump to: navigation, search
(update link(s) (avoid redirect))
m (simplify wiki link; use https for some links)
Line 5: Line 5:
 
=== Twm creation and name ===
 
=== Twm creation and name ===
  
Twm was written by Tom LaStrange, a developer who was frustrated by the limitations of [http://en.wikipedia.org/wiki/UWM_(computing) uwm (Ultrix Window Manager)][[http://www.linuxplanet.com/linuxplanet/reports/3000/2/], the only window manager around when X11 was first released. Twm supplanted uwm as the default window manager supplied with X11 from the X11R4 release in 1989[http://en.wikipedia.org/wiki/UWM_(computing)].
+
Twm was written by Tom LaStrange, a developer who was frustrated by the limitations of [https://en.wikipedia.org/wiki/UWM_(computing) uwm (Ultrix Window Manager)][[http://www.linuxplanet.com/linuxplanet/reports/3000/2/], the only window manager around when X11 was first released. Twm supplanted uwm as the default window manager supplied with X11 from the X11R4 release in 1989[https://en.wikipedia.org/wiki/UWM_(computing)].
  
Twm has stood for ''Tom's Window Manager'', ''Tab Window Manager'' and more recently ''Timeless Window Manager''[http://en.wikipedia.org/wiki/Twm].
+
Twm has stood for ''Tom's Window Manager'', ''Tab Window Manager'' and more recently ''Timeless Window Manager''[https://en.wikipedia.org/wiki/Twm].
  
 
== Installation ==
 
== Installation ==
  
Twm is part of the Arch Linux [[Official repositories|official repositories]] and is provided by the package {{Pkg|xorg-twm}}.
+
Twm is part of the Arch Linux [[official repositories]] and is provided by the package {{Pkg|xorg-twm}}.
  
 
== Start twm with X ==
 
== Start twm with X ==
Line 31: Line 31:
 
* The twm man page gives full details of the commands which can be used in your {{Ic|~/.twmrc}} file. It can be viewed online[http://linux.die.net/man/1/twm] or accessed once twm is installed by typing the following at a command prompt:
 
* The twm man page gives full details of the commands which can be used in your {{Ic|~/.twmrc}} file. It can be viewed online[http://linux.die.net/man/1/twm] or accessed once twm is installed by typing the following at a command prompt:
 
  man twm
 
  man twm
* Many {{Ic|~/.twmrc}} files have been posted online[http://physics.wm.edu/unix_intro/loginmht/twmrc.html]. The site xwinman[http://xwinman.org/vtwm.php] has several {{Ic|~/.twmrc}} files with screenshots which might provide inspiration. A Google search for "twmrc" can be used to find new ideas[http://www.google.com/search?q=twmrc].
+
* Many {{Ic|~/.twmrc}} files have been posted online[http://physics.wm.edu/unix_intro/loginmht/twmrc.html]. The site xwinman[http://xwinman.org/vtwm.php] has several {{Ic|~/.twmrc}} files with screenshots which might provide inspiration. A Google search for "twmrc" can be used to find new ideas[https://www.google.com/search?q=twmrc].
* More information about twm can be found on the twm Wikipedia page[http://en.wikipedia.org/wiki/Twm].
+
* More information about twm can be found on the twm Wikipedia page[https://en.wikipedia.org/wiki/Twm].
 
* There is a patched version, not in the repositories, with updated features such as transparency. A description and build script is available on the xorg mailing list.[http://lists.freedesktop.org/archives/xorg/2010-January/048571.html] It can be tried out by installing [[xcompmgr]], running the build script, putting the resulting {{Ic|twm}} and {{Ic|dot.twmrc}} files in a convenient directory, and editing the {{Ic|~/.xinitrc}} file so that the last two lines are
 
* There is a patched version, not in the repositories, with updated features such as transparency. A description and build script is available on the xorg mailing list.[http://lists.freedesktop.org/archives/xorg/2010-January/048571.html] It can be tried out by installing [[xcompmgr]], running the build script, putting the resulting {{Ic|twm}} and {{Ic|dot.twmrc}} files in a convenient directory, and editing the {{Ic|~/.xinitrc}} file so that the last two lines are
 
  xcompmgr -o 0.3  -c -r 8 -t -10 -l -12 &
 
  xcompmgr -o 0.3  -c -r 8 -t -10 -l -12 &
Line 39: Line 39:
 
== References ==
 
== References ==
 
#  Proffitt, Brian. "[http://www.linuxplanet.com/linuxplanet/reports/3000/2/ From the Desktop: Tom LaStrange Speaks!]", ''LinuxPlanet'', February 6, 2001. Retrieved October 22, 2009.
 
#  Proffitt, Brian. "[http://www.linuxplanet.com/linuxplanet/reports/3000/2/ From the Desktop: Tom LaStrange Speaks!]", ''LinuxPlanet'', February 6, 2001. Retrieved October 22, 2009.
# "[http://en.wikipedia.org/wiki/UWM_(computing) UWM (computing)]", ''Wikipedia''. Retrieved October 22, 2009.
+
# "[https://en.wikipedia.org/wiki/UWM_(computing) UWM (computing)]", ''Wikipedia''. Retrieved October 22, 2009.
# "[http://en.wikipedia.org/wiki/Twm Twm]", ''Wikipedia''. Retrieved October 22, 2009.
+
# "[https://en.wikipedia.org/wiki/Twm Twm]", ''Wikipedia''. Retrieved October 22, 2009.
 
# "[http://linux.die.net/man/1/twm Twm man page]", ''linux.die.net''. Retrieved October 22, 2009.
 
# "[http://linux.die.net/man/1/twm Twm man page]", ''linux.die.net''. Retrieved October 22, 2009.
 
# "[http://www.custompc.plus.com/twm/configs/twmrc09 Sample twmrc]", ''custompc.plus.com''. Retrieved August 12, 2013.
 
# "[http://www.custompc.plus.com/twm/configs/twmrc09 Sample twmrc]", ''custompc.plus.com''. Retrieved August 12, 2013.
 
# "[http://xwinman.org/vtwm.php Window Managers for X: TWM/VTWM]", ''xwinman.org''. Retrieved October 22, 2009.
 
# "[http://xwinman.org/vtwm.php Window Managers for X: TWM/VTWM]", ''xwinman.org''. Retrieved October 22, 2009.
# "[http://www.google.com/search?q=twmrc Google search for twmrc]", ''google.com''. Retrieved October 22, 2009.
+
# "[https://www.google.com/search?q=twmrc Google search for twmrc]", ''google.com''. Retrieved October 22, 2009.
 
# Kask, Eeri. "[http://lists.x.org/archives/xorg/2010-January/048401.html TWM -- Revised Edition -- Again]", ''lists.x.org'', January 3, 2010.
 
# Kask, Eeri. "[http://lists.x.org/archives/xorg/2010-January/048401.html TWM -- Revised Edition -- Again]", ''lists.x.org'', January 3, 2010.

Revision as of 02:07, 20 March 2014

Twm is a window manager for X11. It is a small program, being built against Xlib rather than using a widget library, and as such, it is very light on system resources. Though simple, it is highly configurable; fonts, colours, border widths, title bar buttons, etc. can all be set by the user.

Twm creation and name

Twm was written by Tom LaStrange, a developer who was frustrated by the limitations of uwm (Ultrix Window Manager)[[1], the only window manager around when X11 was first released. Twm supplanted uwm as the default window manager supplied with X11 from the X11R4 release in 1989[2].

Twm has stood for Tom's Window Manager, Tab Window Manager and more recently Timeless Window Manager[3].

Installation

Twm is part of the Arch Linux official repositories and is provided by the package xorg-twm.

Start twm with X

In order for twm to be run as your window manager, edit the file ~/.xinitrc so the final line is:

exec twm

If you now type:

startx

at the command prompt, X will start using twm as its window manager.

If you would like to configure X (and twm) to start on boot (or when you login), read the wiki page Start X at Login to find out how.

Configuration (editing your .twmrc)

By default, twm looks very dated and unintuitive. By editing the file ~/.twmrc, you can customize twm to make it more friendly.

Resources

  • The twm man page gives full details of the commands which can be used in your ~/.twmrc file. It can be viewed online[4] or accessed once twm is installed by typing the following at a command prompt:
man twm
  • Many ~/.twmrc files have been posted online[5]. The site xwinman[6] has several ~/.twmrc files with screenshots which might provide inspiration. A Google search for "twmrc" can be used to find new ideas[7].
  • More information about twm can be found on the twm Wikipedia page[8].
  • There is a patched version, not in the repositories, with updated features such as transparency. A description and build script is available on the xorg mailing list.[9] It can be tried out by installing xcompmgr, running the build script, putting the resulting twm and dot.twmrc files in a convenient directory, and editing the ~/.xinitrc file so that the last two lines are
xcompmgr -o 0.3  -c -r 8 -t -10 -l -12 &
/path-to-directory/twm -visual TrueColor -depth 32 -f /path-to-directory/dot.twmrc

References

  1. Proffitt, Brian. "From the Desktop: Tom LaStrange Speaks!", LinuxPlanet, February 6, 2001. Retrieved October 22, 2009.
  2. "UWM (computing)", Wikipedia. Retrieved October 22, 2009.
  3. "Twm", Wikipedia. Retrieved October 22, 2009.
  4. "Twm man page", linux.die.net. Retrieved October 22, 2009.
  5. "Sample twmrc", custompc.plus.com. Retrieved August 12, 2013.
  6. "Window Managers for X: TWM/VTWM", xwinman.org. Retrieved October 22, 2009.
  7. "Google search for twmrc", google.com. Retrieved October 22, 2009.
  8. Kask, Eeri. "TWM -- Revised Edition -- Again", lists.x.org, January 3, 2010.