VectorLinux
November 28, 2014, 08:45:04 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 [2]
  Print  
Author Topic: a TWMrc for fun  (Read 13202 times)
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #15 on: March 07, 2008, 07:00:58 pm »

Actually, the ultimate in configurability since the early 90's is probably fvwm2

I'm not sure, but it's probably Turing-complete by now

Not to digress too far, but when I installed 5.9, I just went with Fluxbox plus one or two tweaks tbh, since my main interests in a window manager are simply to give me a clock, root menu and workspaces for a bunch of full-screen windows. I love the 'allblack' theme from tenr.de, here's a screenshot I made to show the program Sonata: http://i28.tinypic.com/k0lzmd.png
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
rbistolfi
Packager
Vectorian
****
Posts: 2291


« Reply #16 on: March 07, 2008, 07:56:57 pm »

Actually, the ultimate in configurability since the early 90's is probably fvwm2

That is the fact. I have seen many screen shots, and all of them looks very different. The ones from their site illustrate this pretty well: http://www.fvwm.org/screenshots/desktops/
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #17 on: March 07, 2008, 08:18:42 pm »

Actually, the ultimate in configurability since the early 90's is probably fvwm2

That is a fact. I have seen many screen shots, and all of them look very different. The ones from their site illustrate this pretty well: http://www.fvwm.org/screenshots/desktops/

Yeah fvwm is actually so configurable that you get bogged down in configuration (including all the modules) and it essentially becomes useless. It is a cool toy in any case.
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
rbistolfi
Packager
Vectorian
****
Posts: 2291


« Reply #18 on: March 07, 2008, 08:33:20 pm »

Yeah fvwm is actually so configurable that you get bogged down in configuration (including all the modules) and it essentially becomes useless. It is a cool toy in any case.
I am afraid that that can be true. A good window manager should get out of your way after a reasonable amount of time.

PS: thanks for the advice in bold, my syntax tends to be flexible when you are not around. Could some one take Epic Fail Guy place while he is studying? I think tomh38 is my best candidate, but he seems to ignore my wink.
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #19 on: March 07, 2008, 08:36:04 pm »

I'm on MSN sometimes too
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
overthere
Vectorian
****
Posts: 1281



« Reply #20 on: March 07, 2008, 08:50:14 pm »

Yes..all black...it was my first addition..the bias rather than laser as it is just a little shiny.I like it still, although I have played with several.  There are so many WM's to choose from I feel perhaps the ones available in VL are enough to satisfy. I did add the awesome2.0 from repository but have not found a awesomerc to toy with. of those WM so far, fluxbox is for me elegant. There are a lot of various shots for fvwm would certainly provide something for everyone.
« Last Edit: March 07, 2008, 08:56:27 pm by overthere » Logged

Everything Is Relative
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #21 on: March 07, 2008, 09:02:09 pm »

of those WM so far, fluxbox is for me elegant.

Yeah WindowMaker is the most aesthetically pleasing of all, IMO, but it doesn't support tray icons and misbehaves in handling a few apps on the dock

I don't like the dockapp that makes up for lack of tray support btw

I'm kind of glad I ditched windowmaker for fluxbox tbh
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
overthere
Vectorian
****
Posts: 1281



« Reply #22 on: March 07, 2008, 09:26:01 pm »

There are certainly lots of less than usefull dock applications, but many no doubt are from those learning the craft. I really like the wmdrawer and seem somewhat lost without it. and top center seems the place. familiar I guess. so for me the dock is what makes fluxbox valuable although it may come from limitation
« Last Edit: March 07, 2008, 10:00:51 pm by overthere » Logged

Everything Is Relative
tomh38
Vectorian
****
Posts: 913



« Reply #23 on: March 08, 2008, 04:28:51 am »

rbistolfi:  If you would like me to make corrections to your syntax, I would be happy to do so.  If you've been winking at me for some other reason ... um ... I can't see all the way to Argentina.  Grin

Serioulsly, though, I sometimes forget that English isn't your first language.

On another note, I can't believe nobody has said anything about my Ubuntu: Hungry Hippo joke.  Not even "That's a stupid joke, Tom, you moron."  Just ... nothing.  It hurts. *sob*

Tom
« Last Edit: March 08, 2008, 04:38:38 am by tomh38 » Logged

"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." - Linus Torvalds, April 1991
rbistolfi
Packager
Vectorian
****
Posts: 2291


« Reply #24 on: March 08, 2008, 05:38:07 am »

Done. With Epic Win Guy at MSN and Tomh38 here I will become good. The only thing is I will be able to talk just about algorithms in some pseudo-English language based on irony and hidden sense.
About the Hippo, I am too embarrassed to talk about it, you got me twice with that joke  Embarrassed
Jumalauta! Hungy Hippo could be real soon, if you post it at the "brainstorm". Is far better than Ubuntu Gypsy, which I think is the current.
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
tomh38
Vectorian
****
Posts: 913



« Reply #25 on: March 08, 2008, 08:26:11 am »

Okay, rbistolfi, we have a deal.  If I see any syntax mistakes, I'll do what Hanu/Epic Win Guy has been doing and post a correction.

Also, I posted my suggestion for Ubuntu:  Hungry Hippo on the Ubuntu Brainstorm site.  Here's a link:  http://brainstorm.ubuntu.com/idea/3887/

Tom
Logged

"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." - Linus Torvalds, April 1991
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #26 on: March 08, 2008, 11:37:01 am »

On another note, I can't believe nobody has said anything about my Ubuntu: Hungry Hippo joke.

lolol
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
overthere
Vectorian
****
Posts: 1281



« Reply #27 on: March 10, 2008, 12:38:51 am »

If a reader had hope to find a few more tidbits regarding TWM:
This is the ultimate VL5.9 TWMrc

use "?" on window title for icon manager plus.

use min, max (double click restore), close and resize

left button hold for menu with lock and screenshot

right button hold for preferences with mounts, sys, and wallpaper or use
edit.twmrc to add what you like.

ultimate is relative..if there is something better I eager to see it

http://files.myopera.com/dsl-o/albums/550557/Twm.jpg

http://files.myopera.com/dsl-o/albums/550557/lissie.jpg

this was fun....give it a try
copy/paste to note and save as .twmrc in home directory-login to twm
==========================================================================
# overthere .twmrc 2008.03.05
# for VL based on various .twmrc

LeftTitleButton ":question" = f.menu "popup"
LeftTitleButton ":resize" = f.resize

RightTitleButton ":iconify" = f.iconify
RightTitleButton ":menu" = f.fullzoom
RightTitleButton ":delete" = f.delete

menu "popup"
{
    "Options"         f.title
    "Open"            f.menu "TwmWindows"
    "----------"      f.title
    "Close"           f.delete
    "----------"      f.title
    "Full Zoom"       f.fullzoom
    "Move"            f.move
    "Resize"          f.resize
    "Lower"           f.lower
    "Raise"           f.raise
    "Iconify"         f.iconify
    "Deiconify"       f.deiconify
    "Identify"        f.identify
    "Focus"           f.focus
"----------"   f.title
    "Kill"            f.destroy
"----------"   f.title
}


BorderWidth            1
ButtonIndent           1
TitleButtonBorderWidth 0
ConstrainedMoveTime    0
DecorateTransients
IconRegion         "800x100+0-0" SOUTH WEST 75 25
#IconRegion        "200x500+0-250" SOUTH WEST 75 25
OpaqueMove
NoGrabServer
#NoHighlight
#NoIconManagers
NoRaiseOnMove
NoRaiseOnResize
NoSaveUnders
#NoTitleHighlight
#NoTitleFocus
NoVersion
RandomPlacement
#SqueezeTitle

IconManagerFont "-adobe-helvetica-*-r-*-*-*-140-*-*-*-*-*-*"
ResizeFont   "-adobe-helvetica-*-r-*-*-*-140-*-*-*-*-*-*"
TitleFont       "-adobe-helvetica-bold-o-*-*-*-140-*-*-*-*-*-*"
ResizeFont     "-adobe-courier-bold-r-*-*-16-100-*-*-*-*-*-*"
MenuFont        "-misc-fixed-medium-r-*-*-20-240-*-*-*-*-*-*"
IconFont        "-misc-fixed-medium-r-*-*-20-240-*-*-*-*-*-*"

#BorderWidth      2
#ButtonIndent      0
TitleButtonBorderWidth   1
#ConstrainedMoveTime   0

Cursors
{
    Button  "left_ptr"
    Menu    "left_ptr"
    Title   "left_ptr"
    Frame   "left_ptr"
    Icon    "left_ptr"
    Wait    "watch"
    Destroy "pirate" }

Color
{
    DefaultBackground "blue"
    DefaultForeground "gray"
    BorderColor "blue"
    TitleBackground "gray"
    TitleForeground "black"
    MenuBackground "black"
    MenuForeground "gray"
    MenuTitleBackground "slategray"
    MenuTitleForeground "black"
    IconBackground "black"
    IconForeground "gray"
    IconBorderColor "blue"
    IconManagerBackground "black"
    IconManagerForeground "blue"
}

Monochrome
{
    BorderColor           "white"
    MenuBackground        "white"
    MenuForeground        "black"
    MenuTitleBackground   "white"
    MenuTitleForeground   "black"
    IconManagerHighlight  "black"
}

#MoveDelta 3

Function "move-or-raise" {
    f.move
    f.deltastop
    f.raise
}

Function "move-or-raiselower" {
    f.move
    f.deltastop
    f.raiselower
}

Function "move-or-iconify" {
    f.move
    f.deltastop
    f.iconify
}

# REQUIRED...
Function "next-window" {
}

Function "previous-window" {
}

DefaultFunction f.nop

Button1 =     : title        : f.function "move-or-raiselower"
Button2 =     : title        : f.menu "Title Menu"
Button3 =     : title        : f.resize
Button1 = m   : window|icon  : f.iconify
Button2 = m   : window|icon  : f.function "move-or-raiselower"
Button3 = m   : window|icon  : f.resize
Button1 = c   : title        : f.focus
Button1 = c   : root         : f.unfocus
Button1 =     : root         : f.menu "User"
Button2 =     : root         : f.menu "TWM"
Button3 =     : root         : f.menu "Preferences"
Button1 =     : icon         : f.function "move-or-iconify"
"Tab"   = m   : title|window|icon|root : f.warpring "next"
"w"     = m   : title|window|icon|root : f.delete

Icons {
   
    "Xmh"        "letters"     # from IconDirectory
    "XTerm"      "terminal"    # from IconDirectory
}

UnknownIcon    "icon"
###########################################################################
menu "User" {
    "User"        f.title
  
    "lock"          f.exec "exec xscreensaver-command -activate &"
    "----------"   f.title

    "Terminal"     !"xterm -fn 10x20 -rv -geometry 65x20 -sl 2048 -sb -e bash --login&"
    "File Manager"   !"thunar &"
    "Browser"        !"opera &"
    "----------"     f.title
    "Accessories"    f.menu "accessories"
    "Net"            f.menu "Net"
    "Media"           f.menu "Media"
    "Office"         f.menu "Office"
    "Games"          f.menu "Games"
    "screenshot"     !"import -window root screenshot.png"
    "----------"     f.title
    "logout"         f.quit
    "----------"     f.title
   
}
menu "accessories" {
       "Accessories" f.title
        "Medit"      !"medit &"
        "Mousepad"   !"mousepad &"
        "Clock"      !"xdaliclock &"
        "Calc"       !"xcalc &"
        "Dict"       !"stardict &"
        "Catfish"    !"catfish &"

}
menu "Net" {
    "Net"            f.title
    "Chestnut"       !"vsuper chestnut-dialer &"
    "Firefox"        !"firefox &"
    "Opera"          !"opera &"
    "Seamonkey"      f.menu "Submenu"
    "Pidgin"         !"Pidgin &"
    "pyNeighborhood" !"pyNeighborhood &"
    "Xchat IRC"      !"xchat &"
}
menu "Submenu" {
     "Seamonkey"     f.title
     "Browser"       !"seamonkey -browser &"
     "mail"          !"seamonkey -mail &"
     "chat"          !"seamonkey -chatzilla &"
     "Address Book"  !"seamonkey -addressbook &"
}
menu "Media" {
    "Media"           f.title
    "Xmms"           !"xmms &"
    "Gqview"         !"gqview &"
    "Xpdf"           !"xpdf &"
    "Xine"           !"xine &"
    "ripperX"        !"ripperX &"
    "K3B"            !"k3b &"
    "Mplayer"        !"gmplayer &"
}
menu "Office" {
     "Office"        f.title
      "Abiword"      !"abiword &"
      "J-pilot"       !"jpilot &"
      "Calculator"   !"xcalc &"
      "Gnumeric"     !"gnumeric&"
      "Scribus"      !"scribus &"
      "Xpdf"         !"xpdf &"
}
menu "Games" {
    "Games"          f.title
    "pysol"          !"pysol &"
    "xboard"         !"xboard &"
    "gnubg"          !"xterm gnubg &"
    "Empty"          !"somegame &"
    "Another Submenu" f.menu "The menu"
}
menu "The menu" {
     "Name" f.title
     "something"    !"program &"
     "something"    !"program &"
     "something"    !"program &"
}
#########################################################
menu "TWM" {
    "TWM"            f.title
    "Refresh"        f.refresh
    "Unfocus"        f.unfocus
    "Show Icon Box"  f.showiconmgr
    "Hide Icon Box"  f.hideiconmgr
    "Release Host"   ! "xhost +"
    "Reclaim Host"   ! "xhost -"
    "Close"          f.delete
    "Version"        f.version
    "Restart"        f.restart
    "----------"     f.title
    "Logout"         f.quit
}
############################################################
menu "Preferences" {
    "Preferences"    f.title

     "lock prefs"    f.exec "exec xscreensaver-command -prefs &"
    "----------"     f.title
     "Mounting"      f.menu "Mounting"
     "System"        f.menu "system"
     "Edit.twmrc"    !"mousepad .twmrc &"
    "----------"     f.title
     "Screenblank"   f.menu "screenblank"
     "TWM Rocks"     f.menu "TWM Rocks"
     "BG Color"      f.menu "BG Color"
     "Wallpaper"     f.menu "Wallpaper"
    "----------"     f.title
    "Logout"        f.quit
    "----------"     f.title 
}

menu "TWM Rocks" {
     "Saver WP"     f.title
     "Rocks-ON"     !"/usr/libexec/xscreensaver/rocks -root &"
     "Rocks-OFF"    !"killall rocks & xsetroot -solid black &"
    "----------"    f.title
     "lissie-ON"    !"/usr/libexec/xscreensaver/lissie -root &"
     "lissie-OFF"   !"killall lissie & xsetroot -solid black &"
    "----------"    f.title
     "gears-ON"     !"/usr/libexec/xscreensaver/gears -root &"
     "gears-OFF"    !"killall gears & xsetroot -solid black &"              
}

menu "BG Color" {
     "BG Color"     f.title
     "Black"        !"xsetroot -solid black &"    
     "Gray"         !"xsetroot -gray &"
     "Slategray"    !"xsetroot -solid slategray &"
     "Blue"         !"xsetroot -solid navyblue &"
}

menu "Wallpaper" {
     "Wallpaper"     f.title
     "Rain-on-table" ! "display -window root /usr/share/wallpapers/rain-on-table.jpg &"
     "VL-rockface"   ! "display -window root /usr/share/wallpapers/VL-rockface.jpg &"
     "EOS"           ! "display -window root /usr/share/wallpapers/eos.jpg &"
     "ClawingV"      ! "display -window root /usr/share/wallpapers/ClawingV.jpg &"
     "Red-leaf"      ! "display -window root /usr/share/wallpapers/red-leaf.jpg &"
     "summer"        ! "display -window root /usr/share/wallpapers/summer.jpg &"
     "fresh-morning" ! "display -window root /usr/share/wallpapers/fresh-morning.jpg &"
}

menu "screenblank" {
     "screenblank"   f.title
   "Screen Blank OFF"!"xset -dpms & xset s off &"
   "Screen Blank ON" !"xset -dpms & xset s on &"
}

menu "system" {
     "system"        f.title
     "Gslapt"        !"vsuper gslapt &"
     "Htop"          !"xterm -e htop &"
     "Thunar root"   !"vsuper thunar &"
     "vasmCC"        !"vsuper vasmCC &"
}

menu "Mounting" {
     "Mount drives"  f.title
     "Mount Cdrom"   !" mount /dev/cdrom & thunar /mnt &"
     "Umount Cdrom"  !" umount /dev/cdrom &"
     "-------------"     f.title
     "Mount Floppy"  !"mount /dev/fd0 & thunar /mnt &"
     "Umount floppy" !"umount /dev/fd0 &"
    "-------------"     f.title
      "view vlhot"   !"thunar /mnt/vl-hot &"
      "umount USB"   !"vlh-umount &"
}


menu "Title Menu" {
    "Lower"           f.lower
    "Raise"           f.raise
    "Resize"          f.resize
    "Move"            f.move
    "Iconify"         f.iconify
    "Identify"        f.identify
    "Focus"           f.focus
    "Kill"            f.destroy
    "Dismiss"         f.delete
}

=============================================================================
« Last Edit: June 15, 2008, 10:12:30 am by overthere » Logged

Everything Is Relative
Colonel Panic
Vectorian
****
Posts: 526


« Reply #28 on: June 30, 2009, 01:42:52 pm »

I might give this a try. I don't knock TWM, it does most of what a window manager is supposed to do.

Have to say I love fvwm though, it's just such a hassle to set it up right especially adding new apps to the menu.
Logged
overthere
Vectorian
****
Posts: 1281



« Reply #29 on: August 01, 2009, 07:09:40 pm »

I guess on a personal level I really liked the fact that I had more than one option built into vl 5.9 and wanted to custonize each to some functional level. I liked the semi manual aspects of fluxbox and found the addition of a few apps from the repository easily added in this way to the menu.

The interesting part of twm on vl 5.9 for me was the freedom to experiment as other linux I had been useing may have required far more time to add as they only came fashioned with one although I guess one can add what they like given tools and time. I am enjoying xfce with vl 6.0 at the moment but did add the wmdrawer for alternative menu.

In any case was surprised to see this old thread, hope you have fun if you decide to go there.

cheers
Logged

Everything Is Relative
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!