[Evolution] HTML Links

2004-04-30 Thread Wise, Jeremey
Still migrating from Windows XP. Still a few glitches. 

1)I get a lot of emails where their are urls included. In Evolution
their seems to be an issues where I can not click on a link and it opens
the url in a web browser. It gives the option to open link in Browser.
When I click on it it just sits their. Poked around in menus and in
~/evolution direcory. I want it to use Mozilla by default vs Konqueror
but one step at a time. I found this article which seems to touch on the
issue but their does not seem to be an equivalency in kde:
http://www.granneman.com/webdev/browsers/mozillanetscape/linuxspecific/evolutionlinksopeninmozill.htm


2) I have created a printer for my sysem (HPLJ 4050 on Jetdirect PS)
Printer works fine in all other applications BUT evolution. Job is
submited and sent to the printer. Printer buffer shows data coming in
but then never prints (buffer flushed). If I cut and paste the messages
into any other application (Ooo or kwrite) they print fine. I have tried
kmail and it works. Any suggestions? I would normaly say KDE or CUPS (in
that it gets to the printer then dies, if it wasn't for the consistancy
of the error.

SuSE 9.0 (2.6.5)
evolution-pilot-1.4.6.0.200404140531-0.snap.ximian.8.1
evolution-1.4.6.0.200404140531-0.snap.ximian.8.1
evolution-devel-1.4.6.0.200404140531-0.snap.ximian.8.1
kde 3.1.4


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution


Re: [Evolution] HTML Links

2004-04-30 Thread guenther

 1)I get a lot of emails where their are urls included. In Evolution
 their seems to be an issues where I can not click on a link and it opens
 the url in a web browser. It gives the option to open link in Browser.
 When I click on it it just sits their. Poked around in menus and in
 ~/evolution direcory. I want it to use Mozilla by default vs Konqueror
 but one step at a time. I found this article which seems to touch on the
 issue but their does not seem to be an equivalency in kde:
 http://www.granneman.com/webdev/browsers/mozillanetscape/linuxspecific/evolutionlinksopeninmozill.htm

Evolution is a Gnome app and will not respect KDE settings. The same
surely applies the other way around, no KDE app will respect Gnome
settings.

Thus you will have to set the proper Gnome settings for the default
browser (see below).

Next note: You will need at least some basic Gnome apps to be installed.
If you don't have the Gnome Control Center installed, you probably
should -- or go the harder way as per the instructions below.


So here we go again with the most-wanted answer... ;-)

...guenther


Setting default browser (Evolution 1.4 / Gnome 2.x)
---

Open the Gnome Control Center  Preferred Applications  Web Browser
or simply run:
$ gnome-default-applications-properties

 check 'Custom Web Browser'
 Command: gnome-moz-remote --newwin %s

This will present you every link (clicked in a Gnome 2 app) in a new
mozilla window. If you prefer tabs (instead of new windows) like me,
change it similar like that:

 Command: mozilla-remote.sh %s

Have the attached script in your path (or change the command to have the
whole path) and make the script executable.


If you want to use another browser rather than Mozilla, you have to
adjust the command (or the script for most of them, to enable tabs).


Setting default browser using *gconftool* (Gnome 2.0/2.2)
-

You will need GConf (and the gconf daemon running) to set this. If you
do *not* have the Gnome Control Center installed, there is a way to set
this using GConf directly:

See, which values are stored in that sub-tree. Save the output to a
file, so you can revert to those settings!

$ gconftool-2 -R /desktop/gnome/url-handlers/unknown
 command = mozilla %s
 need-terminal = false
 enabled = true

Now, this should enter all those values (at least, they work for me):

$ gconftool-2 --set --type=string /desktop/gnome/url-handlers/unknown/command 'mozilla 
%s'
$ gconftool-2 --set --type=bool /desktop/gnome/url-handlers/unknown/need-terminal false
$ gconftool-2 --set --type=bool /desktop/gnome/url-handlers/unknown/enabled true


Setting default browser using *gconftool* (Gnome 2.4)
-

This is basically the as above, just some GConf key change:

The relevant key on Gnome 2.4 has changed, but is pretty much similar.
Simply substitute unknown by http, especially in the commands to set
the values.
 /desktop/gnome/url-handlers/http

Also, the https branch may be useful. However, this is *not* set using
the GUI method mentioned above.


-- 
char *t=[EMAIL PROTECTED];
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
#!/bin/sh

mozilla -remote 'openURL('$1', new-tab)' || mozilla $1