home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / x / 20247 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  2.4 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!decwrl!parc!rocksanne!leisner
  2. From: leisner@wrc.xerox.com ( Marty Leisner)
  3. Newsgroups: comp.windows.x
  4. Subject: window manager/icon manager questions
  5. Message-ID: <1992Dec15.203812.9674@spectrum.xerox.com>
  6. Date: 15 Dec 92 20:38:12 GMT
  7. Sender: news@spectrum.xerox.com
  8. Reply-To: leisner@eso.mc.xerox.com
  9. Organization: Xerox
  10. Lines: 82
  11. X-Newsreader: TIN [version 1.1 PL8]
  12.  
  13.  
  14. I'm using vtwm (and like it a lot!)
  15.  
  16. I have a number of icon managers...can I construct a Icon-manager manager?
  17.  
  18. I can warp to the vtwm Icon manager, but I want to be able to find an arbirary icon manager...
  19.  
  20. Also is there a way to title the Icon Managers without Icon Manager in their title?
  21.  
  22. Here's some of the stuff I'm doing:
  23. NailedDown {
  24.         "Virtual Desktop"
  25.         "VTWM Icon Manager"
  26.         "XTerm Icon Manager"
  27.         "xless Icon Manager"
  28.         "xman Icon Manager"
  29.         "PostItNote Icon Manager"
  30.         "xvi Icon Manager"      
  31.         "articles Icon Manager"
  32.         "tin"
  33.         "TWM Door"
  34. }
  35. IconManagers 
  36. {
  37.         "XTerm" "=300x5+800+5" 3
  38.         "xless" "=300x5+600+3" 2
  39.         "xvi" "=300x5-100+300" 2 
  40.         "xman"  "=200x2-100+200" 2
  41.         "articles" "=200x3-250+2" 1
  42.         "Twm Door" "=100x3-200+200" 2
  43.         "PostItNote"  "=300x5-150+150" 2
  44. }
  45. AutoRaise {
  46.         "XTerm Icon Manager"
  47.         "xless Icon Manager"
  48.         "VTWM Icon Manager"
  49.         "Twm Door Icon Manager"
  50.         "xvi Icon Manager"
  51.         "xman Icon Manager"
  52.         "articles Icon Manager"
  53.         "PostItNote Icon Manager"
  54.         "emacs"
  55.         "Virtual Desktop"       
  56. }
  57.  
  58. and in my .bashrc file (I'm using bash)
  59. function xless {
  60.         for i in $@
  61.         do
  62.                 xterm -name xless -title $i -e less $i &
  63.         done
  64. }       
  65.  
  66. function xman {
  67.         xterm -name xman -title "$*" -e man $* &
  68. }
  69.         
  70.  
  71. function showarticles {
  72.         xterm -title "$1@`hostname`" -name articles -e sh -c "scan -reverse +$* 
  73. | less" &
  74. }
  75.  
  76.  
  77. function xpostit {
  78.         /usr/marty/X11/bin/xpostit -name PostItNote &
  79. }
  80. function xvi {
  81.         for i in $*
  82.         do
  83.                 xterm -name xvi -title "$i" -e vi $i &
  84.         done
  85. }
  86.  
  87. I'm not understanding the geometry specification for icon managers...
  88. in axb+c+d, what is b? (a, c and d make sense...)  b should be a pixel height, but numbers
  89. like "5" don't make sense...
  90.  
  91. --
  92. marty
  93. leisner.henr801c@xerox.com  leisner@eso.mc.xerox.com
  94. Member of the League for Programming Freedom
  95.