
Desktop Integration plugin for aMSN
Source (link to git-repo or to original if based on someone elses unmodified work):
It makes it possible to find better the file you're looking for... and it's pretty much nicer.
KNOWN ISSUE: Only a dialog can be opened at a time.
TO INSTALL:
Extract the content of the tarball into your $AMSNDIR/plugins, and use the Plugin Selector to enable it.
**
Thanks to Juan Araya, for the gnome part, slubman for his patch & Sander (tjikkun) for the non-freezing code
v0.8b: fixed a silly bad error (mea culpa)
v0.8a: fixed a typo
v0.8: improved desktop integration
-> sets filemanager and openfile defaults (just click on incoming file or folder and open it)
v0.7: FIXED freezing bug. Now you can still talking while opening (thanx to tjikkun)
v0.6.4: fixed a bug when variable DESKTOP_SESSION was not present
v0.6.3: fixed a silly coding mistake
v0.6.2: re-improved desktop choosing -> paths not hardcoded (thanx to slubman)
v0.6.1: improved desktop choosing (thanx to Juan)
v0.6: support for GNOME and KDE
automatic desktop choosing
Ratings & Comments
12 Comments
Thanks very much for the plugin, it's very very good, works very well with me, thank you:)
Muy buen plugin. Felicitaciones!
Hello I run amsn with your plugin under xfce (I was testing it) but amsn crashes. It seems that this happens because you only compare your variable using 'gnome' or 'kde' values, Could you solve this?
mmm, it's strange that amsn crashes.. can you give me a bit more information? The plugin choose the desktop doing the following: 1st- if you only have zenity or kdialog its obvious what to do... (so I supose you have both) 2nd- look for the DESKTOP_SESSION environment var, but it doesn't help to much, only in a few cases (like mine) 3rd- it counts the processes containing the words "kde" and "gnome" and then choose the one with most ocurrencies. For xfce.. * which program should it use? zenity (like in gnome) or kdialog (like in kde), I guess zenity? maybe xdialog? * how could I know that xfce is in use? (only by the environment var?) Sorry, as I haven't use it, I don't know those questions.. If you could answer them, I will try to make it work for your case. Thanks!
This is the error: Error in startup script: can't read "env(DESKTOP_SESSION)": no such variable while executing "if {$env(DESKTOP_SESSION) == "gnome" || $env(DESKTOP_SESSION) == "kde"} { return $env(DESKTOP_SESSION) } " (procedure "WhichDesktop" line 23) invoked from within "WhichDesktop" (procedure "::desktopdialogs::Init" line 7) invoked from within "::${namespace}::${init_proc} [file dirname $file]" (procedure "LoadPlugin" line 20) invoked from within "LoadPlugin $name $required_version $file $plugin_namespace $init_proc" (procedure "::plugins::LoadPlugins" line 14) invoked from within "::plugins::LoadPlugins" (procedure "load_config" line 124) invoked from within "load_config " invoked from within "if { $initialize_amsn == 1 } { ############################################################### create_dir $HOME create_dir $HOME/plugins create_di..." (file "config.tcl" line 1408) invoked from within "source config.tcl " (procedure "reload_files" line 26) invoked from within "reload_files" (file "bin/msn/amsn" line 229) I am using Suse 9.3 and it only happens if I do not use any display manager (gdm or kdm) and I start xfce. If I use a display manager and start xfce, amsn and desktopdialog runs fine (desktopdialogs shows the dialogs using zenity) I hope that this can help you. Congratulations for your work in this plugin.
Yes, of course that helped! I think it's fixed in latest version. Thanks!
i just installed it. the send file and the save one works. i find it much easier to use since the default amsn one shows all my hidden files and doesnt go back to the folder i was in. very hard to send multiple files. i also cant get onto sourceforge. but maybe you could send it to the people at amsn.sf.net? thanks.
Thanks, yeap, I sended it too but it's on a place, not very easy to found. Answering to the other comment too, it's true that amsn gets freeze until you've choose the file. Is a bad behaviour that at the moment I find it too difficult to solve, but some amsn developers will help me in a near future. I will advertise it on the description. But at the moment, I prefer the "bad" solution to noone. This is one of the reasons because the plugin is not on main amsn plugins page. Greets!
Hey, It seems you didn't like too much this plugin. Please, tell me what's wrong with it.. maybe it doesn't work or something. Maybe a bad name to it (I'm not good with marketing, I suppose..) But please, tell why are you voting bad this, so I (or we) can improve it. As I'm not a gnome guy I cannot test it deeply, but I was mailed, and suggested to add gnome support to this plugin, and I think it was a good idea. So please, make your suggestions, disappointments... not just voting bad.
First off; There is a gnome apps site, just like there is a kde apps site. The url is http://gnome-apps.org and works almost exactly the same way kde-apps.org does. Secondly, I would suspect some of the most fundamental problems with your "program" here, is that A. It serves little to no purpose, and changes very little for the user. B. It's an aMSN "extension" so to speak, and therefor has no real place on this website and C. It aims to make Gnome or KDE function/appear the same way Windows XP does, and very few to none of the people registered, and therefor voting, has a desire to make Gnome, KDE, aMSN or Linux look, feel or smell like Windows XP.
Ok, Maybe I'm posting it in a wrong place. But the same thing for kde is at kde-apps.org since a long time ago and has been good accepted by people who uses aMSN (ignored by people who doesn't). One gnome user saw the plugin on that site, made same changes to use it with gnome and told me to join that on the plugin. I'm posting here just to make it available to people using gnome because they, I suppose, will not look on kde-apps.org. And the second thing.. it's only one screenshot of my desktop (and yes, it's a kde desktop, looking maybe similar to a winXP, just my only choose). The aim of the plugin has nothing to do with this. It only uses zenity (for gnome) instead of some tcl/tk dialogs. I'll ask somebody to give me a better screenshot. Anyway, thanks for your opinion. It's nice at least to know what people think, not just "good" or "bad".
It's great but it freezes amsn when dialog is open so im not voting either good or bad...