SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-07-23 22:52:11

Kbyte
Member
Registered: 2011-07-15
Posts: 15

Taskbar on fvwm??

I'm trying fvwm, but I would like to know how to put a bar like this image:
http://pixelfuckers.org/submissions/1288

The one in the bottom, I'd like to know how to minimize the windows there.

I hope someone can help me. wink

Offline

Help fund CrunchBang, donate to the project!

#2 2011-07-24 21:46:49

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: Taskbar on fvwm??

Kbyte wrote:

I'm trying fvwm, but I would like to know how to put a bar like this image:
http://pixelfuckers.org/submissions/1288

The one in the bottom, I'd like to know how to minimize the windows there.

I hope someone can help me. ;)

You can use FvwmIconMan, and then when you've understood that, look to using it with FvwmButtons.

If anyone mentions FvwmTaskBar, ignore them, and use FvwmIconMan.

-- Thomas Adam

Offline

#3 2011-07-25 01:41:19

Kbyte
Member
Registered: 2011-07-15
Posts: 15

Re: Taskbar on fvwm??

Thanks for responding.
I am currently using this fvwm2rc:

#====================================
#---- Set the root cursor
#====================================

CursorStyle ROOT         left_ptr
CursorStyle TITLE        left_ptr
CursorStyle DEFAULT      left_ptr
CursorStyle SYS          left_ptr
CursorStyle MENU         left_ptr

#====================================
#---- Desktops
#====================================

DesktopSize 3x1
DesktopName 0 One
DesktopName 1 Two
DesktopName 3 Three

EdgeScroll 100 100
EdgeResistance 150 150
EdgeThickness 1


#====================================
#---- Paths
#====================================

SetEnv fvwm_img $[FVWM_USERDIR]/images
SetEnv fvwm_icon $[FVWM_USERDIR]/icons
SetEnv fvwm_scrpt $./scripts
SetEnv fvwm_wallpapers $[FVWM_USERDIR]/wallpaper
SetEnv fvwm_tmp $[FVWM_USERDIR]/tmp

#====================================
#---- Global Styles
#====================================

Style * PositionPlacement UnderMouse, GrabFocusOff
Style * NoPPosition, ResizeOpaque
OpaqueMoveSize -1
Emulate MWM
HideGeometryWindow Always
SnapAttraction 5 SameType Screen
SnapGrid 5 5 
XorValue 55555

Style * DecorateTransient, DontRaiseTransient
Style * DontLowerTransient, StackTransientParent
Style * GrabFocusTransientOff
Style * WindowShadeSteps 20, WindowShadeScrolls
#Style * tint2 PositionPlacement foo bar

#====================================
#---- Colorsets
#====================================

# Window Deco
Colorset  3 fg #9999CC, bg #9999CC
Colorset  4 fg #9999CC, bg #996666
Colorset  5 fg #ffffff, bg #9999CC

# Menu
Colorset  7 fg #808080, bg #151515, sh #808080, hi #808080
Colorset  8 fg #dddddd, bg #eb928e, sh #eb928e, hi #151515

# Pager
Colorset  9 fg #606060, bg #505050, sh #eeeeee, hi #303030
Colorset 10 fg #bbbbbb, bg #303030, sh #eeeeee, hi #303030

#====================================
#---- Windows
#====================================

DestroyDecor MyDecor
AddToDecor   MyDecor
+ TitleStyle RightJustified Height 18
+ ButtonStyle 2 ActiveUp   Vector 6 30x50@3 40x40@3 50x50@3 50x65@4 40x55@3 30x65@3 -- Flat
+ ButtonStyle 2 ActiveDown Vector 6 30x50@3 40x40@3 50x50@3 50x65@4 40x55@3 30x65@3 -- Flat
+ ButtonStyle 2 Inactive   Vector 6 30x50@3 40x40@3 50x50@3 50x65@4 40x55@3 30x65@3 -- Flat
+ ButtonStyle 4 ActiveUp   Vector 6 40x50@3 30x40@3 40x30@3 55x50@4 40x40@3 55x30@3 -- Flat
+ ButtonStyle 4 ActiveDown Vector 6 40x50@3 30x40@3 40x30@3 55x50@4 40x40@3 55x30@3 -- Flat
+ ButtonStyle 4 Inactive   Vector 6 40x50@3 30x40@3 40x30@3 55x50@4 40x40@3 55x30@3 -- Flat
+ ButtonStyle 6 ActiveUp   Vector 6 30x20@3 40x30@3 50x20@3 50x30@4 40x40@3 30x30@3 -- Flat
+ ButtonStyle 6 ActiveDown Vector 6 30x20@3 40x30@3 50x20@3 50x30@4 40x40@3 30x30@3 -- Flat
+ ButtonStyle 6 Inactive   Vector 6 30x20@3 40x30@3 50x20@3 50x30@4 40x40@3 30x30@3 -- Flat
+ TitleStyle -- Flat
+ BorderStyle Simple -- NoInset Flat
+ ButtonStyle All -- UseTitleStyle

Style "*" UseDecor MyDecor
Style "*" Font "xft:Neep:size=6"
Style "*" NoTitle
Style "*" BorderWidth 3, HandleWidth 3
Style "*" BorderColorset 4
Style "*" HilightBorderColorset 5

# Bashrun
Style "bashrun2-run-dialog" UseDecor MyDecor
Style "bashrun2-run-dialog" !Title

#====================================
#---- Menus
#=================================

MenuStyle * PopupDelayed, PopupDelay 300, PopdownImmediately
MenuStyle * PopupOffset 10 100, TitleWarpOff
MenuStyle * TitleUnderlines2, SeparatorsShort, TrianglesSolid
MenuStyle * AnimationOff, AutomaticHotkeysOff
MenuStyle * BorderWidth 3
MenuStyle * PopupAsSubmenu, HoldSubmenus, SubmenusRight
MenuStyle * ItemFormat "%|%10.10l%5.5>%|"
MenuStyle * VerticalItemSpacing 5 5, VerticalTitleSpacing 2 2
MenuStyle * MenuColorset 7
MenuStyle * ActiveFore, Hilight3DOff
MenuStyle * ActiveColorset 8
MenuStyle * Font "xft:Neep:style=Regular:size=6"

#====================================
#---- Thumbnails
#====================================

Style * !IconTitle, IconBox 5 5 80 -5, IconGrid 70 70, IconFill bottom top
Style * IconBackgroundRelief 0

#====================================
#---- Pager
#====================================

Style "FvwmPager" !Title, !Handles, !Borders
Style "FvwmPager" Sticky, WindowListSkip, CirculateSkip
Style "FvwmPager" StaysOnBottom, FixedPosition, FixedSize
Style "FvwmPager" !Iconifiable
#====================================
#---- Startup Functions
#====================================

DestroyFunc StartFunction
AddToFunc   StartFunction
+ I Nop


DestroyFunc InitFunction
AddToFunc   InitFunction
+ I Nop

DestroyFunc RestartFunction
AddToFunc   RestartFunction
+ I Nop



#====================================
#---- Basic Functions
#====================================

DestroyFunc FvwmDeleteOrDestroy
AddToFunc   FvwmDeleteOrDestroy
+ H Nop
+ M Nop
+ C Delete
+ D Destroy

DestroyFunc FvwmIconifyOrShade
AddToFunc   FvwmIconifyOrShade
+ C Thumbnail

DestroyFunc FvwmMaximize
AddToFunc   FvwmMaximize
+ H Nop
+ M Nop
+ C Maximize $0 $1

DestroyFunc FvwmMoveOrIconify
AddToFunc   FvwmMoveOrIconify
+ M Move
+ D Iconify

DestroyFunc FvwmWindowShade
AddToFunc   FvwmWindowShade
+ D WindowShade $0

#====================================
#---- Thumbnails
#====================================

DestroyFunc Thumbnail
AddToFunc Thumbnail
+ SetEnv fvwm_thumbnailing 1
+ I Raise
+ I SetEnv Icon-$[w.id] $[w.iconfile]
+ I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead "xwd -silent -id $[w.id] | convert -resize 50x50^ -gravity center -crop 50x50+0+0 +repage -frame 1x1 -mattecolor black -quality 0 xwd:- png:$[fvwm_tmp]/icon.tmp.$[w.id].png && echo Nop"
# echo WindowStyle IconOverride, Icon $[fvwm_tmp]/icon.tmp.$[w.id].png || echo Nop"
+ I TestRc (Match) Test (f $[fvwm_icon]/$[w.iconfile], f $[fvwm_tmp]/icon.tmp.$[w.id].png) PipeRead "composite -geometry +2+4 $[fvwm_icon]/$[w.iconfile] $[fvwm_tmp]/icon.tmp.$[w.id].png $[fvwm_tmp]/icon.tmp.$[w.id].png && echo WindowStyle IconOverride, Icon $[fvwm_tmp]/icon.tmp.$[w.id].png || echo Nop"
+ I TestRc (NoMatch) WindowStyle IconOverride, Icon $[fvwm_tmp]/icon.tmp.$[w.id].png
+ I Iconify
+ SetEnv fvwm_thumbnailing 2

DestroyFunc DeThumbnail
AddToFunc DeThumbnail
+ I PipeRead "echo WindowStyle Icon \\$\\[Icon-$[w.id]\\]"
+ I UnsetEnv Icon-$[w.id]
+ I Exec rm -f $[fvwm_tmp]/icon.tmp.$[w.id].png

#====================================
#---- Pager
#====================================

DestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 250x25-10+-10
*FvwmPager: Colorset * 9
*FvwmPager: HilightColorset * 9
*FvwmPager: BalloonColorset * 9
*FvwmPager: WindowColorsets 9 10
*FvwmPager: Font "xft:Fixed:pixelsize=9"
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Fixed:pixelsize=9"
*FvwmPager: BallonYOffset +2
*FvwmPager: UseSkipList
*FvwmPager: Rows 1

#====================================
#---- Keyboard
#====================================

Key F1  A M Menu MenuFvwmRoot
Key Tab A M WindowList Root c c NoDeskSort, SelectOnRelease Meta_L

# Applications
Key Return  A 4 Exec exec urxvt -e zsh
Key Space   A 4 Exec exec dmenu_run -fn "Neep:size=6" -p ">>>" -nb \#151515 -nf \#666666 -sb \#a761c2 -sf \#090909
Key B       A 4 Exec exec luakit
Key V       A 4 Exec exec gvim
Key M       A 4 Exec exec urxvt -e ncmpcpp

# Multimedia Keys
Key XF86AudioNext         A A Exec exec mpc next
Key XF86AudioPrev         A A Exec exec mpc prev
Key XF86AudioPlay         A A Exec exec mpc toggle
Key XF86AudioStop         A A Exec exec mpc stop
Key XF86AudioMedia        A A Exec exec /home/crshd/bin/mpm

Key XF86AudioLowerVolume  A A Exec exec /home/crshd/bin/volume -d 5
Key XF86AudioRaiseVolume  A A Exec exec /home/crshd/bin/volume -i 5
Key XF86AudioMute         A A Exec exec /home/crshd/bin/volume -t

# Window Management
Key K W 4 Close
Key I W 4 FvwmIconifyOrShade

#====================================
#---- Mouse
#====================================

ClickTime 350
MoveThreshold 3
Style * SloppyFocus, MouseFocusClickRaises

Mouse 1 R A Menu FvwmRootMenu
Mouse 3 R A Menu FvwmWindowOpsMenu
Mouse 1 2 A FvwmDeleteOrDestroy
Mouse 1 4 A FvwmIconifyOrShade
Mouse 1 6 A FvwmMaximize 100 100
Mouse 2 6 A FvwmMaximize 0 100
Mouse 3 6 A FvwmMaximize 100 0
Mouse 1 W 4 FvwmMoveOrIconify
Mouse 9 W A FvwmMoveOrIconify
Mouse 1 I A FvwmMoveOrIconify
Mouse 4 T A FvwmWindowShade True
Mouse 5 T A FvwmWindowShade False


#====================================
#---- Menus
#====================================

DestroyMenu FvwmRootMenu
AddToMenu   FvwmRootMenu
+ "Terminal"          Exec exec urxvt
+ "Thunar"          Exec exec thunar
+ "Firefox"          Exec exec firefox
+ "Emesene"          Exec exec emesene
+ "" Nop
+ "Aplicaciones"          Popup FvwmProgramsMenu
+ "Archivos"         Popup FvwmFilesMenu
+ "Fvwm"          Popup FvwmSettingsMenu

DestroyMenu FvwmProgramsMenu
AddToMenu   FvwmProgramsMenu
+ "Internet"      Popup FvwmInternetMenu
+ "Devel"         Popup FvwmDevelopmentMenu
+ "Graphic"       Popup FvwmGraphicMenu
+ "Media"         Popup FvwmMediaMenu

DestroyMenu FvwmInternetMenu
AddToMenu   FvwmInternetMenu
+ "Firefox"          Exec exec firefox
+ "Irc"           Exec exec xchat
+ "Jdownloader"         Exec exec jdownloader

DestroyMenu FvwmDevelopmentMenu
AddToMenu   FvwmDevelopmentMenu
+ "Gvim"          Exec exec gvim
+ "Railz"         Exec exec urxvt -name rails -e launchtmux rails

DestroyMenu FvwmGraphicMenu
AddToMenu   FvwmGraphicMenu
+ "Gimp"          Exec exec gimp


DestroyMenu FvwmMediaMenu
AddToMenu   FvwmMediaMenu
+ "Mpd"           Exec exec urxvt -name ncmpcpp -e ncmpcpp

DestroyMenu FvwmFilesMenu
AddToMenu   FvwmFilesMenu
+ "Home"          Exec exec thunar
+ "" Nop
+ "w3"            Exec exec rox /home/crshd/www
+ "" Nop

DestroyMenu FvwmSettingsMenu
AddToMenu   FvwmSettingsMenu
+ "FVWM Console"  Module FvwmConsole
+ "Help"          Popup FvwmManPagesMenu
+ "" Nop
+ "Restart"       Restart
+ "" Nop
+ "Quit"          Quit

But he said that configuration is not mine,I found it in dotshare ..
But really do not understand anything, hahaha ..

As the fvwmiconman could add there?

Looking for fvwmiconman I met some settings like this:

DestroyModuleConfig FvwmIconMan

*FvwmIconMan: NumManagers 1
*FvwmIconMan: Colorset 40
*FvwmIconMan: DrawIcons false
*FvwmIconMan: FocusAndSelectButton flat
*FvwmIconMan: FocusAndSelectColorset 40
*FvwmIconMan: FocusButton flat
*FvwmIconMan: FocusColorset 40
*FvwmIconMan: Font "Shadow=0 1 SE:xft:Swiss911 XCm BT:pixelsize=16"
*FvwmIconMan: Format %t
*FvwmIconMan: IconButton flat
*FvwmIconMan: IconColorset 40
*FvwmIconMan: ManagerGeometry 1x20
*FvwmIconMan: PlainButton flat
*FvwmIconMan: PlainColorset 40
*FvwmIconMan: Resolution page 
*FvwmIconMan: SelectButton flat
*FvwmIconMan: SelectColorset 40
*FvwmIconMan: Sort id
*FvwmIconMan: UseWinList true
*FvwmIconMan: Tips false
*FvwmIconMan: ReliefThickness 0
*FvwmIconMan: Title ""    
*FvwmIconMan: Action    Mouse   1  N sendcommand Raise
*FvwmIconMan: Action    Mouse   2  N sendcommand 'WindowShade toggle'
*FvwmIconMan: Action    Mouse   3  N sendcommand Iconify
*FvwmIconMan: ButtonGeometry 150x20
*FvwmIconMan: MaxButtonWidth 300

But where I have to add, or anything else I need to add to fvwm2rc? hmm

Last edited by Kbyte (2011-07-25 01:42:33)

Offline

#4 2011-07-25 15:37:44

Kbyte
Member
Registered: 2011-07-15
Posts: 15

Re: Taskbar on fvwm??

Solved!! smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo