vtwm
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | vtwm [2018/11/17 12:54] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== VTWM ====== | ||
+ | **vtwm**, aka **V**irtual **T**abbed **W**indow **M**anager, | ||
+ | quelques screenshots de la session vtwm sur [[http:// | ||
+ | \\ | ||
+ | {{http:// | ||
+ | ===== installation ===== | ||
+ | **vtwm** est présent dans les dépots de la plupart des distributions. pour Debian, dans un terminal: | ||
+ | < | ||
+ | |||
+ | ===== composants ===== | ||
+ | la session vtwm dispose de plusieurs éléments: | ||
+ | * **IconManager** : une boite à icones servant aussi de tasklist. | ||
+ | * **VirtualDesktop** : un pager simple. | ||
+ | * **Vtwm Doors** : littérallement, | ||
+ | * **Menu vtwm** : déclenché par un clic-gauche sur le bureau. | ||
+ | |||
+ | ===== configuration ===== | ||
+ | la configuration de vtwm passe par l' | ||
+ | * depuis le menu vtwm: section config: | ||
+ | * avec une commande: vim .vtwmrc | ||
+ | le fichier est commenté et contrôle l' | ||
+ | il vous permet aussi de configurer vos raccourcis clavier, vos menus, la taille et la disposition des bureaux etc ...\\ | ||
+ | une fois vos modifications apportées, relancer vtwm à la volée depuis le menu ou un raccourcis clavier. | ||
+ | |||
+ | ===== utilisation ===== | ||
+ | **vtwm** est très intuitif. la seule chose qui pourrait vous perturber est la gestion du menu: il faut garder le bouton gauche de la souris appuyé pour laisser le menu affiché.\\ | ||
+ | la simplicité de son fichier de configuration en fait un gestionnaire de fenêtres utilisable par tout débutant sur GNU/Linux et sa légèreté rendra vie à votre vieux pc.\\ | ||
+ | pour l' | ||
+ | <file, vtwmrc> | ||
+ | ######################################################################## | ||
+ | # vtwm configuration file ~/ | ||
+ | # | ||
+ | ######################################################################## | ||
+ | |||
+ | ## fonts ############################################################### | ||
+ | TitleFont | ||
+ | ResizeFont | ||
+ | MenuFont | ||
+ | MenuTitleFont | ||
+ | IconFont | ||
+ | IconManagerFont | ||
+ | # uncomment to display apps name in pager | ||
+ | # | ||
+ | ## screen ############################################################## | ||
+ | AutoPan 100 # pan 100% screen when pointer reach edge | ||
+ | AutoPanBorderWidth 5 # distance to pan screen | ||
+ | NaturalAutopanBehavior # move pointer on edge, not on screen | ||
+ | SnapRealScreen | ||
+ | PanDistanceY 100 # vertical screen% to move | ||
+ | PanDistanceX 100 # horizontal screen% move | ||
+ | PanResistance 1000 # time to pan in ms | ||
+ | ## virtual desktop ##################################################### | ||
+ | VirtualDesktop " | ||
+ | DontShowInDisplay { | ||
+ | "VTWM Icon Manager" | ||
+ | } # don't show in the desktop display | ||
+ | ## borders ############################################################# | ||
+ | BorderWidth 1 # general borders | ||
+ | IconBorderWidth 1 # icon borders | ||
+ | TitleButtonBorderWidth 0 # buttons borders | ||
+ | ## icon manager ######################################################## | ||
+ | ShowIconManager | ||
+ | IconManagerGeometry " | ||
+ | # | ||
+ | IconManagerDontShow { " | ||
+ | IconifyByUnmapping | ||
+ | ## windows ############################################################# | ||
+ | MaxWindowSize " | ||
+ | RestartPreviousState | ||
+ | Zoom 8 # factor of zoom animation | ||
+ | WindowRing | ||
+ | AutoRelativeResize | ||
+ | # | ||
+ | # | ||
+ | DeiconifyToScreen | ||
+ | WarpCursor | ||
+ | NoRaiseOnMove | ||
+ | NailedDown { | ||
+ | "VTWM Icon Manager" | ||
+ | } # show on each screen aka sticky | ||
+ | DontShowInVtwmWindows { | ||
+ | "VTWM Icon Manager" | ||
+ | } # don't appear in the window menu | ||
+ | ## titlebar ############################################################ | ||
+ | SqueezeTitle {" | ||
+ | NoTitle { | ||
+ | " | ||
+ | } # windows without titlebar | ||
+ | ButtonIndent 4 # reduction factor for buttons | ||
+ | FramePadding 0 # elements titlebar' | ||
+ | TitlePadding 4 # titlebar padding | ||
+ | ## buttons ############################################################# | ||
+ | # icon directories | ||
+ | IconDirectory "/ | ||
+ | NoDefaultTitleButtons | ||
+ | # set buttons on titlebars | ||
+ | LeftTitleButton " | ||
+ | LeftTitleButton " | ||
+ | LeftTitleButton " | ||
+ | RightTitleButton " | ||
+ | RightTitleButton " | ||
+ | ## highlight ########################################################### | ||
+ | NoHighlight | ||
+ | NoTitleHighlight | ||
+ | ## misc ################################################################ | ||
+ | NoGrabServer | ||
+ | |||
+ | ## general colors ###################################################### | ||
+ | Color { | ||
+ | BorderColor | ||
+ | BorderTileBackground | ||
+ | BorderTileForeground | ||
+ | DefaultBackground | ||
+ | DefaultForeground | ||
+ | TitleBackground | ||
+ | TitleForeground | ||
+ | MenuBackground | ||
+ | MenuForeground | ||
+ | MenuTitleBackground | ||
+ | MenuTitleForeground | ||
+ | MenuShadowColor | ||
+ | IconBackground | ||
+ | IconForeground | ||
+ | IconBorderColor | ||
+ | IconManagerBackground | ||
+ | IconManagerForeground | ||
+ | IconManagerHighlight | ||
+ | VirtualBackground | ||
+ | VirtualForeground | ||
+ | DesktopDisplayBackground " | ||
+ | DesktopDisplayForeground " | ||
+ | DesktopDisplayBorder | ||
+ | } | ||
+ | |||
+ | ## mousebinds ########################################################## | ||
+ | # how many pixel before moving | ||
+ | MoveDelta 1 | ||
+ | # functions | ||
+ | Function " | ||
+ | Function " | ||
+ | Function " | ||
+ | Function " | ||
+ | # mouse actions on root window | ||
+ | Button1 = : root : f.menu " | ||
+ | Button2 = : root : f.identify | ||
+ | Button3 = : root : ! " | ||
+ | Button4 = : root : f.panright " | ||
+ | Button5 = : root : f.panleft | ||
+ | # mouse action on window or icon | ||
+ | Button1 = m : window|icon : f.function " | ||
+ | Button2 = m : window|icon : f.iconify | ||
+ | Button3 = m : window|icon : f.function " | ||
+ | # mouse action on window titlebar | ||
+ | Button1 = : title : f.function " | ||
+ | Button2 = : title : f.raiselower | ||
+ | Button3 = : title : f.menu " | ||
+ | # mouse action on icon | ||
+ | Button1 = : icon : f.function " | ||
+ | Button2 = : icon : f.delete | ||
+ | Button3 = : icon : f.iconify | ||
+ | # mouse action on icon-manager | ||
+ | Button1 = : iconmgr : f.iconify # toggle iconify on left-clic | ||
+ | Button2 = : iconmgr : f.destroy # kill the window on middle-clic | ||
+ | Button3 = : iconmgr : f.iconify # toggle iconify on right-clic | ||
+ | |||
+ | ## keybinds ############################################################ | ||
+ | # launch applications | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | # window navigation | ||
+ | " | ||
+ | " | ||
+ | # navigate through screens | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | # windows actions | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | # vtwm actions | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ## menus ############################################################### | ||
+ | # main menu | ||
+ | menu " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | # config menu | ||
+ | menu " | ||
+ | "VTWM config" | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | # system menu | ||
+ | menu " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | # window menu | ||
+ | menu " | ||
+ | "X Windows" | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | "Close Window" | ||
+ | "Kill Window" | ||
+ | "" | ||
+ | " | ||
+ | "Hide Iconmgr" | ||
+ | "Show Iconmgr" | ||
+ | "Hide Pager" | ||
+ | "Show Pager" | ||
+ | "Goto Left" | ||
+ | "Goto Right" | ||
+ | } | ||
+ | # title menu | ||
+ | menu " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | # position menu | ||
+ | menu " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | # navigation menu | ||
+ | menu " | ||
+ | "Prev Window" | ||
+ | "Next Window" | ||
+ | } | ||
+ | # exit menu | ||
+ | menu " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ## cursors ############################################################# | ||
+ | Cursors { | ||
+ | Frame " | ||
+ | Title " | ||
+ | Icon " | ||
+ | IconMgr | ||
+ | Move " | ||
+ | Resize | ||
+ | Menu " | ||
+ | Button | ||
+ | Wait " | ||
+ | Select | ||
+ | Destroy | ||
+ | } | ||
+ | ## EOF #################################################################</ | ||
+ | le manuel est complet et détaille l' | ||
+ | \\ | ||
+ | pour ajouter quelques fonctionnalités à votre vtwm, je vous conseille d' | ||
+ | |||
+ | ===== Liens ===== | ||
+ | *[[http:// |