Brice's config

Hi all

Here it is:

So here are the main feature:

  • a disk mounter applet (a bright icon indicates a mounted disk),
  • a mail checker (new mail / total nb of mail in one mailbox),
  • a mail poper giving the “from” “subject” “to” fields of every incoming email,
  • a xmms control applet,
  • a mixer control applet (alsa),
  • the traditional wallpaper browser,
  • the traditional weather menu,
  • thumbnails (using the C code of Sascha).

The wallpapers come mainly from deviantart. I use the system tray of Fvwm-Crystal (I have build a debian package if some are interested).

I don’t have any ways of posting my config online unfortunately… but if someone wants it, send me a PM.

Best regards,

Brice

ps: thanks to every geek around for giving me some nice ideas!!

Great config. I really like the disk mounter. If you want i can host your config for you. Pm it to me or email it to voider (at) thevoided (dot) net.

VoiDeR

You’re welcome!

I send you a tarball of the config!

Regards, Brice

Here it is:

thevoided.net/brice/fvwm_brice_20050709.tar.bz2

and the debian package of trayer:

thevoided.net/brice/trayer_1.0-1_i386.deb

Many thanks to VoiDeR for hosting my files!

Cheers, Brice

I like it a lot. My only suggestion would be to change your gtk theme to something other than default.

Thanks!

I don’t use the default gtk-engine (Pixbuf) but Mist! I like it a lot as it is really soft and smoth to see! I can’t change definitively!! :open_mouth:

Regards, Brice

Hello guys!

This post is devoted to debian users. I gave together with my config a debian package of trayer, the systray I use. Trayer just entered unstable a few days ago. So I will advice you to use the one officially packaged by debian as I am not a good packager / programmer and I remarked that they did some small modifications to the source-code (the makefile especially) that I didn’t do.

As the dependencies of trayer are not high, it should fit on sarge as well testing (what I can confirm).

Regards, Brice

Hello

Here is my new config! there have been some changes and improvements!

The fvwmbuttons “diskmounter” has been replaced by a menu, the C thumbnailing program has been improved (fixed x-y size, merging with a mini-icon, the default mini-icon can be freely chosen and does not require a “Style * EWMHMiniIcon” which avoids you defining custom mini-icons"), some bugs have been fixed (notably the possibility to use Iconify and Thumbnail without DestroyWindowStyle with custom normal icons / if you don’t see this bug, try it by yourself :smiley: )…

Best regards, Brice

This config is really nice, but what really amazes me is your avatar. I can’t help it, still laughing… So good :laughing: :laughing: :laughing:

which avatar?? I don’t have one!

so explain your laugh!

Brice

Sorry, I mean the MeltingWax’s avatar. The funny penguins of the picture. I find it so funny. :smiley:

Can you paste this section please?

Thanks in advance

Cheers

Ok I’ll try to make it clear:

I use the following functions :

[code]###########

Mount menu

###########
DestroyMenu MenuMount
AddToMenu MenuMount

  • DynamicPopupAction Function MountCheck

#########

First a mount/unmount function

used in the file MenuMount generated by mount.sh

#########
DestroyFunc ToggleMount
AddToFunc ToggleMount

  • I PipeRead ‘mount $0 || umount $0’
  • I Exec exec $[fvwm_scripts]/mount.sh
  • I Read $[FVWM_USERDIR]/MenuMount

###########

MountCheck function

###########
DestroyFunc MountCheck
AddToFunc MountCheck

  • I Function UpdateMenuMount
  • I DestroyMenu recreate MenuMount
  • I AddToMenu MenuMount “.: Mount :.” Title
  • I PipeRead “cat $[FVWM_USERDIR]/MenuMount”

##########

UpdateMenuMount

#########
DestroyFunc UpdateMenuMount
AddToFunc UpdateMenuMount

  • I PipeRead “if [ -f $HOME/.fvwm/MenuMount ]; then rm $HOME/MenuMount; fi”
  • I Exec exec $[fvwm_scripts]/mount.sh

[/code]

You have to place the following in your menu:

+ "Mount" popup MenuMount

the mount.sh script is then:

[code]#!/bin/bash

floppy=grep -c floppy < /etc/mtab
cdrom=grep -c cdrom < /etc/mtab
mp3player=grep -c mp3player < /etc/mtab
digital_camera=grep -c digital_camera < /etc/mtab
removable=grep -c removable < /etc/mtab
doc=grep -c doc < /etc/mtab
multimedia=grep -c multimedia < /etc/mtab
sounds=grep -c sounds < /etc/mtab

[ -e $HOME/.fvwm/MenuMount ] && rm $HOME/.fvwm/MenuMount

case $floppy in
0)
echo ‘+ %4.png%“Floppy” Function ToggleMount /media/floppy’ >> $HOME/.fvwm/MenuMount
;;
1)
echo ‘+ %5.png%“Floppy” Function ToggleMount /media/floppy’ >> $HOME/.fvwm/MenuMount
;;
esac

case $cdrom in
0)
echo ‘+ %2.png%“Cdrom” Function ToggleMount /media/cdrom’ >> $HOME/.fvwm/MenuMount
;;
1)
echo ‘+ %3.png%“Cdrom” Function ToggleMount /media/cdrom’ >> $HOME/.fvwm/MenuMount
;;
esac

case $mp3player in
0)
echo ‘+ %6.png%“Mp3player” Function ToggleMount /media/mp3player’ >> $HOME/.fvwm/MenuMount
;;
1)
echo ‘+ %7.png%“Mp3player” Function ToggleMount /media/mp3player’ >> $HOME/.fvwm/MenuMount
;;
esac

case $digital_camera in
0)
echo ‘+ %10.png%“Digital camera” Function ToggleMount /media/digital_camera’ >> $HOME/.fvwm/MenuMount
;;
1)
echo ‘+ %11.png%“Digital camera” Function ToggleMount /media/digital_camera’ >> $HOME/.fvwm/MenuMount
;;
esac

case $removable in
0)
echo ‘+ %8.png%“Removable” Function ToggleMount /media/removable’ >> $HOME/.fvwm/MenuMount
;;
1)
echo ‘+ %9.png%“Removable” Function ToggleMount /media/removable’ >> $HOME/.fvwm/MenuMount
;;
esac

case $doc in
0)
echo ‘+ %0.png%“Doc” Function ToggleMount /mnt/doc’ >> $HOME/.fvwm/MenuMount
;;
1)
echo ‘+ %1.png%“Doc” Function ToggleMount /mnt/doc’ >> $HOME/.fvwm/MenuMount
;;
esac

case $multimedia in
0)
echo ‘+ %0.png%“Multimedia” Function ToggleMount /mnt/multimedia’ >> $HOME/.fvwm/MenuMount
;;
1)
echo ‘+ %1.png%“Multimedia” Function ToggleMount /mnt/multimedia’ >> $HOME/.fvwm/MenuMount
;;
esac

case $sounds in
0)
echo ‘+ %0.png%“Sounds” Function ToggleMount /mnt/sounds’ >> $HOME/.fvwm/MenuMount
;;
1)
echo ‘+ %1.png%“Sounds” Function ToggleMount /mnt/sounds’ >> $HOME/.fvwm/MenuMount
;;
esac
[/code]

of course, the images have to be in your ImagePath!

HTH and let me know if you succeed.

Brice

Yes! It works perfectly :smiley:

Thank you very much!

Cheers

I’ve been meaning to reply to this for ages, and have only just gotten around
to doing so.

This last line in the function above, should read:

+ I Test (f $[FVWM_USERDIR]/MenuMount) Read $[FVWM_USERDIR]/MenuMount

I see more and more people doing this a lot – “shelling out” when actually, FVWM
provides the inherent functionality itself.

DestroyFunc UpdateMenuMount
AddToFunc UpdateMenuMount
+ I Test (f $[FVWM_USERDIR]/MenuMount) Exec rm -f $[FVWM_USERDIR]/MenuMount
+ I Exec exec $[fvwm_scripts]/mount.sh

Useful though.

– Thomas Adam.

Thanks bricem13 for the excellent config.
I did some minor editing to match Arch Linux general fstab configure. No icons, less echo, and adjusted the scripts for a package in ArchWD-FVWM. Works well.
bbs.archlinux.org/viewtopic.php?t=17702

ArchWD-FVWM User Packages
user-contributions.org/projects/ … chwd-fvwm/

Thanks rasat!

I am glad o read your post as I recently switch from debian to arch that I enjoy a lot more!!!

Best regards

Brice