PEM's stuff

Hi Kinne,
These configs start to get a bit old but I must confess that I’m still pleased to use it from time to time. Anyway, as a Gentoo user, I use a lot of different packages. They are so easy to import. Here are some that should help you get on the road:

  • Fvwm (of course)
  • mrxvt (a nice terminal emulator)
  • imlib2 (the fast image processing library)
  • Eterm (this package incorporates a background image manipulator)
  • ImageMagick (for command line image manipulation)
  • xcompmgr (in case you would like to have the shadowing effects)
  • 3ddesktop (for swithching from one desktop to the other)
  • PERL and some CPAN modules discussed in the former posts
  • a theme icon named
  • Rox filer (a dawn fast file manager)
  • The Gnant theme icon (I’ve provided some links on the first post of this thread)
    Threre are plenty other ones as I’m not the kind of folk that keeps always the same tools. I let you discover them when you will start integrating yours in the configuration files :wink:
    Happy customizing :exclamation:

First of all, really nice config :slight_smile:
I’m in the process of fvwm-themeizing it (~50% done).
I like to ask if it’s OK for you to do so?

Re: the close-button: if I remember correctly, you can get it to render properly by setting a Mwm -state hint image for all buttons. Ie. ButtonStyle 2 - Clear . . . AddButtonStyle 2 ToggledInactive (Pixmap orsomething) \ ToggledActive (Pixmap orsomething)
Or, if they’re not used, just drop Mwm-decors.
HTH

Thx for asking. I would really enjoy seeing additional themes to this config.

I will check this out but as far as I remember (I’m at work) removing Mwm-decors should not impact this config.

Happy customizing :wink:

Hi Pem!! Your Screen Rocks!!
I have a little problem with Icons and mini-icons in style.fvwm2rc
for xine and xmms…

Style xmms	 NoTitle,EWMHMiniIconOverride, \
			Icon $[fvwm_icon]/64x64/apps/bmp.png, \
			MiniIcon $[fvwm_icon]/16x16/apps/bmp.png

It works but not with $[fvwm_icon]/64x64/apps/bmp.png !!
I have on the screen the mini-horror 16x16 default xmms icon!

Hi…sorry , but i cant fix the bug:

[FVWM][style_parse_and_set_window_style]: <<ERROR>> Bad style option:  Padding 170 20
Cannot parse color "blach"
[FVWM][style_parse_and_set_window_style]: <<ERROR>> Bad style option:  \ 
[FVWM][__execute_function]: <<ERROR>> No such command 'MiniIcon'
[FVWM][style_parse_and_set_window_style]: <<ERROR>> Bad style option:  \ 
[quote]
TanX
[/quote]

Seems that “blach” should be “black” :question:

Thx Strog. Hey did you see that this thread has been started for a year now! WHOOAAH :smiley:

How do I get the root menu(the one with all the apps in it) to come up with I use my mouse 1 button? I tried switching the 1 and 3 in the config where you have 3 clicking on the root window to bring up the menu, but when I did that, the menu wouldn’t come up at all. Oh, and how would I change the wallpaper script so that it would show thumbnails for png files as well as jpg?

At the end of the ~/.fvvm/config, you should comment the line:

Mouse 1 R A Stroke...

and replace:

Mouse 3 R A Menu...

by:

Mouse 1 R A Menu...

For the wallpaper scrit ~/.fvvm/script/wallpaper.sh, I would simply double the work of jpg and translate it for png. Just one thing, in order to avoid the count of the thumbnails stored as png, I’ve limited the depth search for the find command:

#!/bin/bash [ -d $1/.thumbs ] || mkdir $1/.thumbs for pic in `find $1/* -exec basename {} .jpg \;`; do [ -f $1/.thumbs/$pic.png ] || convert -quality 0 -resize 48 $1/$pic.jpg $1/.thumbs/$pic.png echo "+ %$1/.thumbs/$pic.png%\"$pic\" exec exec \`ln -sf $1/$pic.jpg $1/.current && Esetroot -scale $1/$pic.jpg\`" done for pic in `find $1/* -maxdepth 1 -exec basename {} .png \;`; do [ -f $1/.thumbs/$pic.png ] || convert -quality 0 -resize 48 $1/$pic.png $1/.thumbs/$pic.png echo "+ %$1/.thumbs/$pic.png%\"$pic\" exec exec \`ln -sf $1/$pic.png $1/.current && Esetroot -scale $1/$pic.png\`" done
I’m at work so I can only assume that it’s working… :wink:

thanks! I’ll give it a go!

OK, I tried that config change for the root menu and it didn’t work. I have no clue why. That is correct syntax so it should work, unless it is hard coded somewhere else in your configs. 3 works, 1 gives me nothing

Well, it seems you’re right. There are other entries for the Mouse 1 on the root menu.

fgrep ~/.fvwm/ -Rne Mouse | grep R | grep A

Draw some interesting results. Check at line 316 in the original config and coment out the matching line in yours. You should have it :wink:

pem,

I am trying to use your wallpaper menu script, and its working so far as it displays the imagesin the menu, but I would like to be able to select one of the images from the menu and have it be set as my background.

Is this possible?

Hi linkunderscore,
That’s what this menu is inteded to do. I think that it does not fully work on your box owing to a missing command. Let me expalin it a bit. Suppose that we have stored our wallpapers into ~/.MyPictures. When you choose one of the item in the menu (the little thumbs of wallpapers), FVWM triggers an action that does:

  • create a link name ~/MyPictures/.current to the wallpaper chosen
  • call Esetroot to this link to display the wallpaper

By using a link created on your drive, it allows FVWM to use this link at startup so that it remembers what you have selected. Tricky!

So, in order to make this one-minute script to work, check if the link is created on your box, first. Second, have a look at Esetroot to check why it does not display your image properly.

I kinda like this things and I would have more time I would have done the same for choosing themes…

haha DOH! :blush:

I forgot the change this line in my config:

+ I Exec exec fvwm-root --dither --retain-pixmap ~/.fvwm/images/wp/comet.png

to this:

+ I Exec exec fvwm-root --dither --retain-pixmap ~/.fvwm/images/wp/.current[/code]

Ok I’ve almost given up on using 3ddesktop but here goes…

I have 4 pages(had 2x4) and when I try using 3ddesktop it doesn’t switch
through the pages but I assume through desks… I’ve tried all the possible --wm options in 3ddeskd but none seems to work or some work when I test and don’t when I use…

So can you offer any insight into this? Or any other help… I’m using a vanilla unpatched, almost unconfigured 3ddesktop(other than stuff like showing numbers I like the default look).

are you using transset on every window?
i’m thinking of a function that makes unfocused windows translucent using transset but don’t know where to start… transset come without man
perhaps the solution is forchheimer.se/transset-df/ that lets you pass the window as a parameter

@ruskie:
Sorry buddy for not having replied sooner. Here’s my /etc/3ddesktop.conf. I’ve removed the comments that come with the default file. The goleft and goright are the most interesting setups.

[code]texturesize 512
priority 19
autoacquire 0
compression

view default ## this is the default if no --view specified
zoom on
show_digit on
digit_size 100
digit_color green
use_breathing false

view goright
zoom off
fastest true
mode cylinder
digit_color green
use_breathing true
gotoright on

view goleft
zoom off
fastest true
mode cylinder
digit_color green
use_breathing true
gotoleft on

view slide
zoom off
mode linear
digit_size 100
digit_color gray
linear_spacing 0.0

view nozoom
zoom off
mode viewmaster
digit_size 100
digit_color gray

view linear
mode linear
digit_color yellow
linear_spacing 0.0

view linearzip
mode linear
linear_spacing 19.0
depth 5
digit_size 200
digit_color blue

view bigmoney
mode priceisright
depth 10
digit_color purple
digit_size 150[/code]
I hope that will help you.

@soigres:
I’m only a casual user of transet for screenshot purposes only. For everythong else, xcompmgr provide me with enough features, mostly for fading and shadowing.

Thank you… I’ve since stopped using 3ddesktop… it just werked at random times and not at others…

It seems that something is badly interpreted under ~/.fvwm/conf/menu.fvwm2rc. As I see on your screenshots, you’re using my menu in french. On your system, maybe some characters are making FVWM to behave strangely. Try to modify it by using the translation that I’ve provided in an earlier post.

Concerning the wallpaper issue, the little script .fvwm/script/screenshot.sh only deal with jpg files based on their extensions. I think that there’s also a post out there that does the same with png. Just one last thing, I use convert from ImageMagick for thumbnails creation and Esetroot from Eterm for displaying backgrounds.