Taily's screenshots

Ok, so now in the birthday (and holiday) spirit of fvwm i decided to post some screens of my setup.

Here’s the default that I’m still working on:

And my “christmas one” (still working on it :wink:):

(Actually for this one i stole the titlebars out of Jefklaks config :wink:)

I’ll post my config a bit later :stuck_out_tongue:

nice I like it especially clock fonts what fonts u use?

Can you post your config…or at least your pop-up menu section?

Fonts: I used ZaleskiCaps for time, and WindsorDemi for the date

As for the config, i’ll post it, there won’t be any notes included though or anything, didn’t have time to start doing that :stuck_out_tongue:
You can grab it here
The menu stuff can all be found in /includes/menu.fvwm2rc (if you have a look in here, when looking at the functions, note, I’m very new to sed :wink:)

Thanks for you config, I have been trying to mess with the section of menu code that allows you to see your config files from the menu. I would like to add it to my config but it is not working.

Here is what I have added to my fvwm2rc.menus section:

[code]DestroyMenu /Applications
AddToMenu /Applications

  • “%icons/home16.png%File Manager” Exec nautilus --no-desktop --browser
  • “%icons/terminal16.png%Terminal” Exec gnome-terminal
  • “%icons/ut2004-16.xpm%UT2004” Exec ut2004
  • “%icons/notepad16.png%Config” Popup MenuConfig
  • “%icons/applications16.png%Applications” Popup /Apps
  • “%icons/graphics16.png%Graphics” Popup /Graphics
  • “%icons/internet16.png%Internet” Popup /Internet
  • “%icons/multimedia16.png%Multimedia” Popup /Multimedia
  • “%icons/office16.png%Office” Popup /Office
  • “%icons/azureus16.png%Networks” Popup /Networks
  • “%icons/logout16.png%Exit” Module FvwmButtons FvwmQuit
    #+ “%icons/logout16.png%Exit” Exec killall fvwm

DestroyMenu MenuConfig
AddToMenu MenuConfig

  • MissingSubmenuFunction MenuListConfigFunc
  • “Appearance” Popup MenuAppearance
  • “Config Files” Popup $[FVWM_USERDIR]
  • “X Settings” Popup MenuXConfig
  • “” Nop
  • “Refresh” Refresh
  • “Kill” Pick Destroy

AddToFunc MenuListConfigFunc

  • I MenuInit $0
  • I + MissingSubmenuFunction MenuListConfigFunc
  • I PipeRead ‘for i in find $0 -name \*fvwm2rc \ | sed -e "s,\\\($0\\\)\\\(/\\\),," -e "s,/.*,," | sort -u;
    do [[ “echo $i | grep fvwm2rc” != “” ]] &&
    echo “+ “$i” Exec exec gedit “$0/$i”” ||
    echo “+ “$i” Popup “$0/$i””; done’[/code]

What am I missing? Or what do I need to change to get it to work. The Config section is added along with its submenu of Appearace, Config Files, X settings, Refresh, and Kill. It does not work from there–kill and refresh do but I dont even need those. I just want to be able to see my config files from that menu.

Ah yes, you probably just forgot

[code]AddToFunc MenuInit

  • I DestroyMenu recreate $0
  • I AddToMenu $0
  • I + DynamicPopDownAction DestroyMenu $0[/code]
    although you could just change the whole MenuListConfigFunc for

[code]AddToFunc MenuListConfigFunc

  • I DestroyMenu recreate $0
  • I AddToMenu $0
  • I + DynamicPopDownAction DestroyMenu $0
  • I + MissingSubmenuFunction MenuListConfigFunc
  • I PipeRead ‘for i in find $0 -name \*fvwm2rc \ | sed -e "s,\\\($0\\\)\\\(/\\\),," -e "s,/.*,," | sort -u;
    do [[ “echo $i | grep fvwm2rc” != “” ]] &&
    echo “+ “$i” Exec exec $[fvwm_editor] “$0/$i”” ||
    echo “+ “$i” Popup “$0/$i””; done’[/code]
    Hope this helps :slight_smile:!

Just a note, the menulistconfigfunc only creates a list of the *.fvwm2rc files in the specified directory (in this case fvwm_userdir aka ~/.fvwm/), so if you want youre config files listed you need to put an ending to all the config files, and the ending should be fvwm2rc

[code]DestroyMenu MenuConfig
AddToMenu MenuConfig

  • MissingSubmenuFunction MenuListConfigFunc
  • “Config Files” Popup $[FVWM_USERDIR]

AddToFunc MenuInit

  • I DestroyMenu recreate $0
  • I AddToMenu $0
  • I + DynamicPopDownAction DestroyMenu $0

AddToFunc MenuListConfigFunc

  • I MenuInit $0
  • I + MissingSubmenuFunction MenuListConfigFunc
  • I PipeRead ‘for i in find $0 -name \fvwm2rc* \ | sed -e "s,\\\($0\\\)\\\(/\\\),," -e "s,/.*,," | sort -u;
    do [[ “echo $i | grep fvwm2rc” != “” ]] &&
    echo “+ “$i” Exec exec gedit “$0/$i”” ||
    echo “+ “$i” Popup “$0/$i””; done’[/code]

That got it to work for me :slight_smile: Thanks for your help. This may be a little off topic but how do i remove files with “~” at the end? They appear to be backup files. They do not appear in nautilus, but they do show up in the console and the menu.link@link:~$ cd /home/link/.fvwm/ link@link:~/.fvwm$ ls fvwm2rc~ fvwm2rc.dock fvwm2rc.pager~ fvwm2rc.thumbnails fvwm2rc.applications fvwm2rc.dock~ fvwm2rc.quit fvwm2rc.thumbnails~ fvwm2rc.applications~ fvwm2rc.menus fvwm2rc.quit~ fvwm2rc.variables fvwm2rc.bindings fvwm2rc.menus~ fvwm2rc.settings fvwm2rc.variables~ fvwm2rc.bindings~ fvwm2rc.misc fvwm2rc.settings~ images fvwm2rc.cursors fvwm2rc.misc~ fvwm2rc.terminal scripts fvwm2rc.cursors~ fvwm2rc.pager fvwm2rc.terminal~ themes

Do I have to delete them all manually? Why are they created, and will it hurt anything to delete them?

If this is too far off topic, just let me know and I will remove this post.

That’s ok, to not list them there’s a nice function in find that helps you…
just replace

find $0 -name \fvwm2rc*

with

find $0 -name \fvwm2rc* -not *~

They are basically just temporary files that usually get deleted unless your editor has crashed or exited unexpectedly etc.