
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is a plugin for aMSN that change some default tcl/tk dialogs to the KDE or GNOME ones. Currently supported dialogs are: Open File, Save As, Info Boxes and Yes-No Questions. It also sets some properties to have direct access to filemanager (nautilus) and open files (gnome-open)
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
15 years ago
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
15 years ago
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
LCTN
12 years ago
Report
nico9julio
14 years ago
Report
finrold
15 years ago
Could you solve this?
Report
isma
15 years ago
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!
Report
finrold
15 years ago
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.
Report
isma
15 years ago
I think it's fixed in latest version.
Thanks!
Report
chibiace
15 years ago
sourceforge. but maybe you could send it to the people at
amsn.sf.net?
thanks.
Report
isma
15 years ago
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!
Report
isma
15 years ago
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.
Report
oipo
15 years ago
Report
toby
15 years ago
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.
Report
isma
15 years ago
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".
Report