# First, we define the main menu appearances. # ActiveFore is the colour of the font your cursor is hovering over. # Foreground is the rest of the text # This particular option sets normal text as black, and hilighted text grey MenuStyle 1 ActiveFore #555555, ForeGround #000000 # Menuface is what sets 'fancy' options. # Hgradient = horizontal color gradient # 128 means use 128 colours in the gradient # 8 means eight pairs of colours in the gradient # This particular style gives a menu that starts out black, then there's a # nice rainbow band for the icons to sit on, followed by a black menu. # Too many themes are all-black or all-white. I wanted something colorful, # yet understated. A pastel-coloured rainbow fitted the bill. # The font is light grey, with the active font a darker grey MenuStyle 1 MenuFace Hgradient 129 8 \ #000000 26 \ #000000 2 \ #FFAAAA 2 \ #FFFFAA 2 \ #AAFFAA 2 \ #AAAAFF 2 \ #FFAAFF 2 \ #FFFFFF 64 \ #FFFFFF # Define the main menu font: #MenuStyle 1 Font -adobe-helvetica-medium-r-*-*-20-*-*-*-*-*-*-* #MenuStyle 1 Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1" MenuStyle 1 Font "xft:Bitstream Vera Sans:size=12:weight=bold" # This sets a different menu style - a white menu with black text # This is the menu style used for all menus other than the main one. #MenuStyle * ActiveFore #555555, ForeGround #000000, BackGround #FFFFFF #MenuStyle * Font -adobe-helvetica-medium-r-*-*-20-*-*-*-*-*-*-* MenuStyle * Font "xft:Bitstream Vera Sans:size=12:weight=bold" #MenuStyle * Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1" MenuStyle * MenuColorset 1 MenuStyle * ActiveFore, Hilight3DOff # Now we define the actual menus and their contents. # First off, the main menu. This will be opened when I hit the Start # button or left-click on the wallpaper (Root) DestroyMenu "MainMenu" AddToMenu "MainMenu" # The next line puts an image in the bottom left corner - my 1+1=2 logo AddToMenu MainMenu@gentoo.png@ # The next line sets the menu to the non-standard main menu settings ChangeMenuStyle 1 "MainMenu" # Now onto the contents of the menu. The & at the start of the name means # you can use the keyboard to select the option. # The %image.png% puts an icon next to the menu item. # The '+ "" Nop' combo inserts a line in the menu. + "&Xterm%term.png%" Exec xterm & + "" Nop + "&Internet%internet.png%" Popup Internet + "" Nop + "&Palm%palm.png%" Popup Palm + "" Nop + "&Multimedia%multimedia.png%" Popup Media + "" Nop + "&Applications%applications.png%" Popup Office + "" Nop + "&Games%games.png%" Popup Games + "" Nop + "&Hardware%hardware.png%" Popup Hardware + "" Nop + "&FVWM options%fvwm.png%" Popup FVWM DestroyMenu "Internet" AddToMenu "Internet" # The next line adds an image of the Linux mascot, Tux the penguin AddToMenu Internet@tuxmenu.xpm@ + "&Firefox%firefox.png%" Exec firefox & #+ "&Thunderbird%thunderbird.xpm%" Exec mozilla-thunderbird & #+ "&Yahoo Messenger%yahoo.xpm%" Exec ymessenger & + "&Gaim Chat%gaim.png%" Exec gaim & + "&Links%links.png%" Exec links -g -driver x http://www.oneandoneis2.com/regular.htm & DestroyMenu "Palm" AddToMenu "Palm" AddToMenu Palm@tuxmenu.xpm@ # Hotsync and Coldsync are aliases I use to transfer data to & from my PDA + "&Hotsync%hotsync.png%" Exec aterm -name bterm -tr -fg green -g 158x8+0-0 -e pilot-xfer -p /dev/ttyS0 -s /home/dominic/Stuff/Exe/Palm & + "&Coldsync%coldsync.png%" Exec aterm -name bterm -tr -fg green -g 158x8+0-0 -e pilot-xfer -p /dev/ttyS0 -r /home/dominic/Stuff/Exe/Palm & + "&Jpilot%jpilot.png%" Exec jpilot & DestroyMenu "Media" AddToMenu "Media" AddToMenu Media@tuxmenu.xpm@ + "&XMMS%xmms.png%" Exec xmms & + "&Movie Player%mplayer.png%" Exec gmplayer & + "&DVD player%mplayer.png%" Exec mplayer -fs dvd://01 & + "&GRIP%grip.png%" Exec grip & DestroyMenu "Office" AddToMenu "Office" AddToMenu Office@tuxmenu.xpm@ + "&OpenOffice%ooffice.png" Exec ooffice & + "" Nop + "&Gimp%gimp.png%" Exec gimp-2.2 & #+ "" Nop #+ "&Rox file manager%kfm.png%" Exec rox & DestroyMenu "Games" AddToMenu "Games" AddToMenu Games@tuxmenu.xpm@ + "Games%games.png%" Nop + "" Nop + "&Doom%doom.png%" Popup Doom + "&Traditional%kmines.png%" Popup Traditional + "&Tux games%tuxracer.png%" Popup Tux DestroyMenu "Doom" AddToMenu "Doom" AddToMenu Doom@tuxmenu.xpm@ + "Doom &1%doom.png%" Exec llxdoom -opengl -iwad /usr/share/games/doom-data/doom.wad & + "Doom &2%doom.png%" Exec llxdoom -opengl -iwad /usr/share/games/doom-data/doom2.wad & + "Doom &3%doom.png%" Exec doom3 & + "&Cube%links.png%" Exec cube_client DestroyMenu "Traditional" AddToMenu "Traditional" AddToMenu Traditional@tuxmenu.xpm@ + "&Kmines%kmines.png%" Exec kmines & + "&Reversi%kreversi.png%" Exec kreversi & + "&LBreakout2%breakout.png%" exec lbreakout2 & DestroyMenu "Tux" AddToMenu "Tux" AddToMenu Tux@tuxmenu.xpm" + "Tux &Racer%tuxracer.png%" Exec ppracer & + "&Pingus%tuxgame.png%" Exec pingus & + "Tux&Kart%tuxgame.png%" Exec tuxkart & + "&SuperTux%tuxgame.png%" Exec supertux & DestroyMenu "FVWM" AddToMenu "FVWM" AddToMenu FVWM@tuxmenu.xpm@ + "&Lock screen%lock.png" Exec xscreensaver-command -lock + "&Screensaver options%screensaver.png" Exec xscreensaver-command -prefs + "" Nop #+ "&Take Screenshot" /usr/bin/import -pause 1 -window root /home/dominic/tmp.png #+ "&Windowshot" /usr/bin/import tmp.png #+ "" Nop # I call Restarting "Rebooting" in the menu because I liked the boot icon + "&Reboot FVWM2%boot.png" Restart fvwm2 + "&Quit%quit.png" Quit DestroyMenu "Hardware" AddToMenu "Hardware" AddToMenu Hardware@tuxmenu.xpm@ + "&DVD mount%dvd_mount.png%" Exec mount /mnt/dvd + "&DVD umount%dvd_unmount.png%" Exec umount /mnt/dvd + "" Nop + "&CD-RW mount%cdwriter_mount.png%" Exec mount /mnt/cdrom + "&CD-RW umount%cdwriter_unmount.png%" Exec umount /mnt/cdrom + "" Nop + "&USB mount%removable_drive_mount.png" Exec mount /mnt/usb + "&USB umount%removable_drive_unmount.png" Exec umount /mnt/usb DestroyMenu "Window Ops" AddToMenu "Window Ops"@tuxmenu.xpm@ + "&Move%mini-move.xpm%" Function Move-or-Raise + "&Resize%mini-resize.xpm%" Function Resize-or-Raise + "(Un)Stick" Stick + "" Nop + "Identify" Module FvwmIdent +" Scroll Bar" Module FvwmScroll 2 2 + "" Nop + "Ops2" Popup "Window-Ops2" + "" Nop + "Kill%mini-bomb.xpm%" Destroy + "&Close%mini-cross.xpm%" Delete AddToMenu "Window-Ops2" AddToMenu Window-Ops2@tuxmenu.xpm@ + "&Stick%links.png%" Stick + "&Resize%resize.png%" Popup sizemenu + "&Move%move.png%" Popup movemenu AddToMenu "sizemenu" AddToMenu sizemenu@tuxmenu.xpm@ + "&Default%default.png%" Resize 1024p 768p + "&Xterm%term.png%" Resize 80c 24c # Fullscreen in this context leaves some space to the right to keep the pager # and GKrellM visible. It also moves it to the top left corner to make sure # there's no overlap! + "&Fullscreen%fullscreen.png%" ResizeMove 1147p 870p 0 0 AddToMenu "movemenu" AddToMenu movemenu@tuxmenu.xpm@ + "&Top left%topleft.png%" Move 0 0 + "Screen &1%screen1.png%" MoveToPage 0 0 + "Screen &2%screen2.png%" MoveToPage 1 0 + "Screen &3%screen3.png%" MoveToPage 0 1 + "Screen &4%screen4.png%" MoveToPage 1 1