Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The F? Virtual Window Manager (part 3)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3 ... 22, 23, 24  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20485

PostPosted: Thu May 05, 2005 4:05 pm    Post subject: The F? Virtual Window Manager (part 3) Reply with quote

  1. The F? Virtual Window Manager
  2. The F? Virtual Window Manager (part 2)
  3. You are here

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
shrimp123
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 199
Location: Here!

PostPosted: Fri May 06, 2005 11:03 am    Post subject: PressIcon Reply with quote

I am trying to get a Icon, ActiveIcon and PressIcon. I am using

*FvwmDock: (1x1, Icon $[fvwm_dock_icon]/Top.png, ActiveIcon $[fvwm_dock_icon_Bright]/Top.png, PressIcon $[fvwm_dock_icon_press]/Top.png, ActionOnPress, Action(Mouse 1) `Exec aterm -g 81x49+0+0 -bg black -shading 100 -fg Pink -e top -u $[USER]`)

all in one line
all three .png are defined.

Icon -- > OK
ActiveIcon --> OK
PressIcon --> Not working.

thanks,
Kiran.
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Fri May 06, 2005 3:54 pm    Post subject: Reply with quote

If your .png files exist, I suppose the next thing to check is that the three SetEnvs are correct
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
shrimp123
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 199
Location: Here!

PostPosted: Fri May 06, 2005 7:07 pm    Post subject: Reply with quote

thanks,

the setenv is fine. i swapped it with the ActiveIcon and it works.

However, it does not with the PressIcon :(

also, does the ordering matter?
Back to top
View user's profile Send private message
hollerith
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 204

PostPosted: Fri May 06, 2005 10:20 pm    Post subject: WOW! New modules Reply with quote

Boroshan - Sorry I've been somewhat preoccupied recently. My! how things have moved on in a couple of weeks! (Damn I'm slow) Thumbnail module is definitely something I'll be using mainly as I currently have issues with FvwmEvent (cleaning up the thumbnails) and for some reason can't get a icon/thumbnail composite (just the window smalls).

I haven't had an opportunity to test the new default theme yet. Please don't think I don't appreciate your (and TA's) efforts). Sincere apols for recent shocking lack of productivity. (Sorry for off topic-ish too)
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Sat May 07, 2005 10:44 am    Post subject: Reply with quote

Not a problem: Real Life happens to all of us from time to time ;)

There's a minor clean up issue with the thumbnail module as well, in so much as it doesn't clean up icons on shutdown. I'm thinking about doing a wipe of the thumbnail directory on startup, but I'm a bit worried that someone might mis-configure the path and scrub $HOME by mistake.

I suppose i'd be safe enough looking for */0x*.png and removing them. Maybe making the feature off by default as well :)

It doesn't do composite yet either. Well, it can do them, but you need a bit of perl to make it happen. That's on the TODO list :)
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
LemurFromTheId
n00b
n00b


Joined: 22 Apr 2005
Posts: 64
Location: Finland

PostPosted: Sat May 07, 2005 5:46 pm    Post subject: Reply with quote

boroshan wrote:
There's a minor clean up issue with the thumbnail module as well, in so much as it doesn't clean up icons on shutdown. I'm thinking about doing a wipe of the thumbnail directory on startup, but I'm a bit worried that someone might mis-configure the path and scrub $HOME by mistake.

I suppose i'd be safe enough looking for */0x*.png and removing them. Maybe making the feature off by default as well :)

It might also be a good idea to hard-code $HOME off limits, though some might see even this too restrictive.


Last edited by LemurFromTheId on Sat May 07, 2005 8:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Sat May 07, 2005 7:46 pm    Post subject: Reply with quote

Or even to create the directory under $FVWM_USERDIR. If someone absolutely has have these things living in /tmp or something they can always use a symlink.

Good idea. Thanks.
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
shrimp123
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 199
Location: Here!

PostPosted: Tue May 10, 2005 7:28 am    Post subject: PressIcon Reply with quote

well, if i run fvwm from command promt, it returns no errors. So, now my question is, what am i supposed to be seeing? i want the following:

normal icon, Hover mouse (ActiveIcon)-->brighter, press mouse button (PressIcon) --> smaller.

now i see one effect (brighter), but not the other. fvwm does not return an error either. Is there a means to debug this?

thanks
Kiran.
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Tue May 10, 2005 7:45 am    Post subject: Reply with quote

I have to confess, I've never tried setting all three icons with FvwmButtons.

I might have a play with it tonight and see if anything springs to mind. Certainly what you're trying seems reasonable
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Tue May 10, 2005 6:41 pm    Post subject: Reply with quote

boroshan wrote:

I might have a play with it tonight

And I did. Either we're misreading the manual (and it's hard to see how) or PressIcon doesn't work.

I tried writing a simple config: one button, three icons, no actions. Nothing to go wrong.

Code:
Style Icon3 CenterPlacement, StaysOnTop

DestroyModuleConfig Icon3: *
KillModule FvwmButtons Icon3

*Icon3: (       1x1,                                                    \
                Icon l33t_BRO_firefox.png,                              \
                ActiveIcon l33t_GNO_ximian.png,                         \
                PressIcon l33t_GAM_halflife2.png                        \
)
 
Module FvwmButtons Icon3

I tried changing the order in which the icons were defined, and I tried changing which icons went with which icon type. PressIcon never gets displayed.

Looks like found a bug.

If you fancy debuging it you can compile the module with -g, start it normally and then use gdb to attach to the process.
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
hollerith
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 204

PostPosted: Wed May 11, 2005 8:36 pm    Post subject: Thumbnail cleanup Reply with quote

I'm still using a modified version of taviso's and the restart event is either happening or there's something wrong with the cleanup. Arrgh. I think I've just seen some typo. Anyway, I was going to bang on about them going outside fvwm home like ~/.thumbnails for default. Not really sure what app gave me that - maybe gimp?

I know fvwm's about being able to config everything so you should be able to choose location too. If that's /usr/bin then who's fault's that? Otherwise your cleanup could check for some signature internal to the file . Isn't there a header/comment block r/w via imagemagick?

BTW Incidentally, how would one go about calling a bit of perl - or python :) for that matter? I can't remember how fvwm-themes worked... & how do we get FvwmThumbnail? Is new default theme going to make it into the .fvwm ebuild? Wow, Lazy beggar me! I guess there's a link back in #2...
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu May 12, 2005 8:14 am    Post subject: Re: Thumbnail cleanup Reply with quote

hollerith wrote:
I know fvwm's about being able to config everything so you should be able to choose location too. If that's /usr/bin then who's fault's that? Otherwise your cleanup could check for some signature internal to the file . Isn't there a header/comment block r/w via imagemagick?

There's an interesting idea. I'll have to look into that.

hollerith wrote:

BTW Incidentally, how would one go about calling a bit of perl - or python :) for that matter? I can't remember how fvwm-themes worked... & how do we get FvwmThumbnail? Is new default theme going to make it into the .fvwm ebuild? Wow, Lazy beggar me! I guess there's a link back in #2...

Well for Perl, there's an FvwmPerl module which lets you embed chunks of perl into your conifg. In the case of FvwmThumbnail you just load it up like any other module.

I think I saw a reference to a FvwmPython module somewhere, but I can't remember where.

As for the new default theme, with a bit of luck it's going into the standard fvwm distribution. the trouble is some configs/installs have a slight problem with the new "no-config" defaults affecting pre-existing configurations. I meant to give that some quality time last weekend and wound up writing more module howtos instead...
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Thu May 12, 2005 8:22 am    Post subject: Re: Thumbnail cleanup Reply with quote

boroshan wrote:

I think I saw a reference to a FvwmPython module somewhere, but I can't remember where.


That could have been on the Fvwm forums (for those too lazy to check thread #2 :wink:) or on my site, where I keep a litlle list of interesting modules, the FvwmPy module can be found here, though it seems to be unmaintaned now :(
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
mirko_3
l33t
l33t


Joined: 02 Nov 2003
Posts: 605
Location: Birreria

PostPosted: Sat May 21, 2005 6:41 pm    Post subject: Reply with quote

Could someone please explain how I would use FvwmThumbnail? I mean, I know how to load it, but what commands do I use in my config after that?
_________________
Non fa male! Non fa male!
Back to top
View user's profile Send private message
InfinityX
Guru
Guru


Joined: 31 Jan 2004
Posts: 385

PostPosted: Sat May 21, 2005 7:19 pm    Post subject: Reply with quote

I've just finished a little script, it's along the lines of the Klipper utility of KDE, a preview explains it better:

http://www.imgholder.com/uploads/2005/05/21/20/clipper.png

Basically it reads the contents of the clipboard and writes it to an individual file, another section of the script creates the fvwm menus with the clipboard history from these files, allowing you manipulate the clipboard easier. I find it handy after accidentally selecting a field in Firefox when I wanted to paste something into it.

http://infinityx.pwp.blueyonder.co.uk/linux/clipper.tar.gz

xclip is required (emerge xclip).

Todo:

Stop perl from thinking variables in clipboard history (say you have a clipboard with "print $somevariable") are part of the program, I'm currently getting around this by using cat. Any help would be gratefully appreciated.

Enjoy.
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Sat May 21, 2005 7:21 pm    Post subject: Reply with quote

mirko_3 wrote:
Could someone please explain how I would use FvwmThumbnail? I mean, I know how to load it, but what commands do I use in my config after that?

No problem. I keep meaning to add a default configuration to the manual page.

I use a setup like this:
Code:

*FvwmThumbnail: Mode Auto
*FvwmThumbnail: Refresh 0
*FvwmThumbnail: Directory /home/nick/lab/fvwm_thumbs
*FvwmThumbnail: SkipList Klix FvwmIconMan
#
# Scale icon thumbnails to 1/5th size
#
*FvwmThumbnail: Class Icons, Factor 0.2x0.2
*FvwmThumbnail: Class Icons, Command "WindowId %w WindowStyle IconOverride, Icon  %i"
#
# scale pager icons to fit a square 27 pixels to the side
#
*FvwmThumbnail: Class Pager, ScaleTo 27x27
*FvwmThumbnail: Class Pager, Command "WindowId %w WindowStyle EWMHMiniIconOverride, MiniIcon %i"
#
# 4 desks @ 3x3 pages means scale windows to 1/6th size
#
*FvwmThumbnail: Class BigPager, Factor 0.166666x0.166666
#
# generate new thumbnails on raise events. delete icon files on destroy_window.
# see FvwmEvent for an event list.
#
*FvwmThumbnail: GenerateOn raise_window
*FvwmThumbnail: DeleteOn destroy_window windowshade iconify


If you want to use it in combination with a Big Pager you can do something like this:

Code:
DestroyModuleConfig FvwmPager: FvwmBigPager
*FvwmBigPager: Geometry 1280x800+0+0
*FvwmBigPager: UseSkipList
*FvwmBigPager: Rows 2
*FvwmBigPager: Colorset 0 $[cset_wall_0]
*FvwmBigPager: Colorset 1 $[cset_wall_1]
*FvwmBigPager: Colorset 2 $[cset_wall_2]
*FvwmBigPager: Colorset 3 $[cset_wall_3]
*FvwmBigPager: Font none
*FvwmBigPager: NoSeparators        # turn off the lines separating desks
*FvwmBigPager: MiniIcons

Where the colorsets are pixmaps with your desktop wallpapers and the geometry matches your desktop resolution.

There's full documentation built into the module in perl's POD format. You can get at the man page using

Code:
pod2man FvwmThumbnail | nroff -man | less

or
Code:
pod2html > FvwmThumbnail.html # and then view with the bowser of your choice


Any problems, let me know.
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
Piratero
n00b
n00b


Joined: 22 Sep 2004
Posts: 4
Location: /dev/null

PostPosted: Sun May 22, 2005 7:13 pm    Post subject: Reply with quote

i'd just like to show off my desktop http://mrkotfw.zod.com.mx/root4.png
_________________
http://mrkotfw.ribrdb.com/
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Wed May 25, 2005 12:56 am    Post subject: Reply with quote

Ok i would like to Have Taviso's icons but for some reason i cant do it the way he says on the forum

Code:
$ snarf http://download.qnx.com/d_manager/d_man.php # it's about 185M
$ isoinfo -i d_man.php -J -x '/rep621/qnxinstall_w-2.4-x86-qnx.qpk' | \
tar -zvf - -x 'qnx/qnxinstall_w/core-2.4/x86/usr/share/icons/topics' # isoinfo is from app-cdr/cdrtools
# There's approx 300 icons in gif format, so you will have to convert them to png...eg
$ for i in *.gif
> do
> convert ${i} png:${i/.gif/.png} && rm -f ${i}
> done


This is not working for me ! is there someone with his icons on a package or something , or where can i find them ??
ive searched everywhere and nothing ... :cry:
if someone could give me a hand it would be nice
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Wed May 25, 2005 7:08 am    Post subject: Reply with quote

try mounting the iso over loopback and running find on the filesystem
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Wed May 25, 2005 10:53 am    Post subject: Reply with quote

OK i done it thanks to the Grand master Taviso .
Tanks to you all Specially Taviso ! :wink:
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Fri May 27, 2005 5:14 pm    Post subject: New Module: FvwmRingMenu - An Eyecandy Iconic Popup Menu Reply with quote

Hi Gang!

For those of you who don't read the Fvwm Forum, I've written a new module. It's an icon based popup menu package.

Full details and more screenshots in this thread.

It's brand new and while it works on my laptop, it's still kind of alpha. Anyone who feels like testing it, I'd be appreciative.

[edit] I can't seem to type anything today without typos...
_________________
Don't let THEM immanentize the Eschaton!


Last edited by boroshan on Fri May 27, 2005 5:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
mirko_3
l33t
l33t


Joined: 02 Nov 2003
Posts: 605
Location: Birreria

PostPosted: Fri May 27, 2005 5:51 pm    Post subject: Reply with quote

Now that's cool!
_________________
Non fa male! Non fa male!
Back to top
View user's profile Send private message
Darkael
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1321
Location: France

PostPosted: Fri May 27, 2005 6:21 pm    Post subject: Re: New Module: FvwmRingMenu - An Eyecandy Iconic Popup Menu Reply with quote

boroshan wrote:
Hi Gang!

For those of you who don't read the Fvwm Forum, I've written a new module. It's an icon based popup menu package.

Full details and more screenshots in this thread.

It's brand new and while it works on my laptop, it's still kind of alpha. Anyone who feels like testing it, I'd be appreciative.

[edit] I can't seem to type anything today without typos...


That's very nice. I've always wanted to see pie menus in a WM, I will test it when I will have some time. Keep up the good work.
Back to top
View user's profile Send private message
mirko_3
l33t
l33t


Joined: 02 Nov 2003
Posts: 605
Location: Birreria

PostPosted: Fri May 27, 2005 7:10 pm    Post subject: Reply with quote

Where does it look for the icons?
_________________
Non fa male! Non fa male!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3 ... 22, 23, 24  Next
Page 1 of 24

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum