Re: Switching Konqueror between proxy and non-proxy locations

2005-03-13 Thread Tobias Kraus
Am Freitag, 11. März 2005 19:19 schrieb Kevin Krammer:
 On Friday 11 March 2005 16:07, Marc Haber wrote:
  On Fri, Mar 11, 2005 at 02:39:34PM +, David Goodenough wrote:
   I have two laptops which I need to configure so that they can easily be
   switched between a location where they require a proxy to reach the
   outside world from Konqueror and one where they do not.  I will have
   a set of scripts which handle the change of IP addresses (one is static
   the other dhcp) and I would like to update Konqueror as well to reflect
   the proxy requirement.  The one with the proxy is the one with static
   IP addresses.
  
   Anyone got any ideas?
 
  I have konquereor configured to use the http_proxy environment
  variable, and source /etc/use-proxy in my shell startup scripts and
  the Xsession. /etc/use-proxy is generated by the network startup
  scripts to contain the appropriate code to set the environment.

 An alternative for configuration items where the application itself cannot
 be persuaded to use a shell environment, is this:
 http://www.kde.org/areas/sysadmin/config_file.php#shell_expansion

Actually a good idea, but IIRC Konqueror starts the named program everytime it 
downloads a _file_. Say, you want to see a html-page with 10 images,  the 
program is executed _11_ times! May be ok for a dial up (modem) link, but not 
for a high speed connection!

I tried to change proxy via DCOP, but couldn't manage that all open konquerors 
use the changed setting.

Tobias


 Cheers,
 Kevin

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!



changing font size when printing html

2004-10-21 Thread Tobias Kraus
Hi ML,
can anyone tell me how I can change the font size when printing a html 
page in Konqueror (KDE 3.2, sarge). I have tried several settings in 
kcontrol and konqueror, without any success. Google didn't give me an 
answer :-( (maybe I didn't ask the right question ;-) ).

TIA
Tobias

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: changing font size when printing html

2004-10-21 Thread Tobias Kraus
Am Donnerstag, 21. Oktober 2004 13:35 schrieb Nyitrai Tamas:
 On Thu, 21 Oct 2004, Tobias Kraus wrote:
  can anyone tell me how I can change the font size when printing a
  html page in Konqueror (KDE 3.2, sarge). I have tried several
  settings in kcontrol and konqueror, without any success. Google
  didn't give me an answer :-( (maybe I didn't ask the right
  question ;-) ).

 I guess you get an oversized text while trying to print from
 Konqueror.

You've got it ;-)


 I think this problem was introduced near to the 3.1 series KDE
 and it is still unresolved. At least I can not find any solutions.

 But Mozilla does the same for me, so it might not be KDE specific.

 It probably has something to do with screen resolution,
 but I have not had time yet to play with it.

 Try bugs.kde.org, maybe you find some hints there.
 I do not know what happens if you force X to start with
 different DPIs.

I've searched the open bugs without any hints. Maybe if I have a look 
at the archived...


 And I agree: it would be a good idea to include a panel
 somewhere in KDE for printing font size settings.
 (Wishlist :-)).

 Regards:
 Tamas

Tobias

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: changing font size when printing html

2004-10-21 Thread Tobias Kraus
Am Donnerstag, 21. Oktober 2004 18:21 schrieb Matej Cepl:
 Nyitrai Tamas wrote:
  can anyone tell me how I can change the font size when printing
  a html page in Konqueror (KDE 3.2, sarge). I have tried several
  settings in kcontrol and konqueror, without any success. Google
  didn't give me an answer :-( (maybe I didn't ask the right
  question ;-) ).
 
  I guess you get an oversized text while trying to print from
  Konqueror.

 Couldn't it be worked around with user CSS style sheet and @media
 command? Something like

 @media print {
  BODY {
   font-size: 80%;
  }
 }


Good idea! I'll check this out some time in a week or so when I have 
some spare time.

Thanks,
Tobias

 Matej

 --
 Matej Cepl, http://www.ceplovi.cz/matej
 GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

 A GOOD name is rather to be chosen than great riches.
-- Proverbs 22:1

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




kooka and 3pass scanners

2004-07-26 Thread Tobias Kraus
Hi all,
I'm using kooka 0.42 (official Debian testing package) and scanning 
over the network (using the sane net dll) works fine - except the 
fact that kooka only saves the red part of the image (I'm using the 
mustek 6000cx _3pass_ scanner - it's not state of the art, but it's 
ok for me). I cannot verify if this is a problem of scanning over the 
network because I don't have a SCSI-Controller on my laptop. 
Single-pass scanners work fine, so does xscanimage.

Can anyone verify this problem? I searched bugs.kde.org and could not 
find a bug-report.

Thanks in advance,

Tobias

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: kooka and 3pass scanners

2004-07-26 Thread Tobias Kraus
Am Montag, 26. Juli 2004 14:43 schrieb David P James:
 On Mon 26 July 2004 06:33, Tobias Kraus wrote:
  Hi all,
  I'm using kooka 0.42 (official Debian testing package) and
  scanning over the network (using the sane net dll) works fine -
  except the fact that kooka only saves the red part of the image
  (I'm using the mustek 6000cx _3pass_ scanner - it's not state of
  the art, but it's ok for me). I cannot verify if this is a
  problem of scanning over the network because I don't have a
  SCSI-Controller on my laptop. Single-pass scanners work fine, so
  does xscanimage.
 
  Can anyone verify this problem? I searched bugs.kde.org and could
  not find a bug-report.

 Yes, I have a Microtek 35t 3-pass film and slide scanner and it too
 does not work with kooka - kooka simply locks up after the first
 pass (red I think). xscanimage works fine however.

On my box, kooka does not lock up. After scanning the first colour, I 
can enter the file type (jpg, bmp, ...) the image should be saved as. 
The same behaviour as when scanning grayscale or colour with a 
single-pass scanner.


 I've not found a bug report on it either but now that we know it's
 not a one-user problem one of should probably file a bug on it.

Would you be so kind to do that as you seem to be a native speaker. 
Otherwise I will do that.

Thank you,

Tobias

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: Could someone confirm this bug?

2004-05-21 Thread Tobias Kraus
Am Freitag, 21. Mai 2004 08:37 schrieb Nikita V. Youshchenko:
 Seems that when konqueror 3.2.2 opens URLs with labels,
 such as http://doc.trolltech.com/3.3/qaction.html#QAction
 it does not automatically scroll to the label.

 This make e.g. Qt documentation browsing very inconvinient.

 I can reproduce this on two computers, both with file:/ abd http:/
 URLs.

Same problem with swat (samba) help (HTML-Files of samba are correct).

Tobias


 This bug was not there in previous packages.

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: kmail and multiple smtp profiles

2004-05-20 Thread Tobias Kraus
Am Donnerstag, 20. Mai 2004 17:13 schrieb Kevin Krammer:
 On Wednesday 19 May 2004 21:06, Tobias Kraus wrote:
  Am Dienstag, 18. Mai 2004 18:33 schrieb Tobias Kraus:
  [...]
 
My suggestion would not switch the transport, but alter the
transport configuration itself.
   
So the active transport would always be the same, but point
to a different SMTP server.
 
  Works perfectly! Thanks
 
  For the archive: I've set the following line in my kmailrc:
 
  [Transport 1]
  host[$ie]=$(/home/ford/bin/test-kmail-smtp)
  [...]
 
  where test-kmail-smtp returns the smtp-server on stdout according
  to the network I'm connected to. This works even without
  restarting kmail (1.6.2, kde 3.2.2)

 Cool, didn't think it would work to change it during application
 runtime.
Me neither, but:

Does it work?
Of course it works, it's Linux (well, KDE)

:-)

Tobias


 Cheers,
 Kevin

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: kmail and multiple smtp profiles

2004-05-19 Thread Tobias Kraus
Am Dienstag, 18. Mai 2004 18:33 schrieb Tobias Kraus:
[...]
  My suggestion would not switch the transport, but alter the
  transport configuration itself.
 
  So the active transport would always be the same, but point to a
  different SMTP server.


Works perfectly! Thanks

For the archive: I've set the following line in my kmailrc:

[Transport 1]
host[$ie]=$(/home/ford/bin/test-kmail-smtp)
[...]

where test-kmail-smtp returns the smtp-server on stdout according to 
the network I'm connected to. This works even without restarting 
kmail (1.6.2, kde 3.2.2)

Tobias

  Cheers,
  Kevin

 --
 Diese Email-Adresse dient nur als Spam-Ziel.
 Nachrichten an diese Adresse werden nicht gelesen!

 This email address is a spam-tarpit.
 Mails sent to this address are not read!

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: kmail and multiple smtp profiles

2004-05-18 Thread Tobias Kraus
Am Dienstag, 18. Mai 2004 18:16 schrieb Kevin Krammer:
 On Monday 17 May 2004 23:41, Tobias Kraus wrote:
  Am Montag, 17. Mai 2004 17:44 schrieb Kevin Krammer:
   On Monday 17 May 2004 12:59, Tobias Kraus wrote:
Hi all,
in kmail, I have to use different smtp profiles depending on
the network I'm connected to. Is it possible that kmail
automatically tries to use the secondary smtp-server if the
primary isn't available? If the current primary server is not
accessible (due to firewall settings) I have to define the
secondary as primary server manually.
  
   You can generate the value for a KDE application's config entry
   with an application.
   http://www.kde.org/areas/sysadmin/config_file.php#shell_expansi
  on
 
  Hi Kevin,
  it didn't work, as the order of the smtp-server are coded in the
  headers of the configuration entries ([Transport 1] and
  [Transport 2]) Only the [Transport 1] setting is used for sending
  emails. To use the [Transport 2], you have to change the order in
  the settings dialog box - and it seems that it is not possible to
  use the output of a program to change the name of the group
  header. sorry for my bad english - I hope everyone understand
  what I mean

 My suggestion would not switch the transport, but alter the
 transport configuration itself.

 So the active transport would always be the same, but point to a
 different SMTP server.

Good idea. I'll try this out!

Tobias


 Cheers,
 Kevin

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




kmail and multiple smtp profiles

2004-05-17 Thread Tobias Kraus
Hi all,
in kmail, I have to use different smtp profiles depending on the 
network I'm connected to. Is it possible that kmail automatically 
tries to use the secondary smtp-server if the primary isn't 
available? If the current primary server is not accessible (due to 
firewall settings) I have to define the secondary as primary server 
manually.

Thanks,
Tobias

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: kmail and multiple smtp profiles

2004-05-17 Thread Tobias Kraus
Am Montag, 17. Mai 2004 17:44 schrieb Kevin Krammer:
 On Monday 17 May 2004 12:59, Tobias Kraus wrote:
  Hi all,
  in kmail, I have to use different smtp profiles depending on the
  network I'm connected to. Is it possible that kmail automatically
  tries to use the secondary smtp-server if the primary isn't
  available? If the current primary server is not accessible (due
  to firewall settings) I have to define the secondary as primary
  server manually.

 You can generate the value for a KDE application's config entry
 with an application.
 http://www.kde.org/areas/sysadmin/config_file.php#shell_expansion

Hi Kevin,
it didn't work, as the order of the smtp-server are coded in the 
headers of the configuration entries ([Transport 1] and [Transport 
2]) Only the [Transport 1] setting is used for sending emails. To use 
the [Transport 2], you have to change the order in the settings 
dialog box - and it seems that it is not possible to use the output 
of a program to change the name of the group header. sorry for my 
bad english - I hope everyone understand what I mean 

Thank you anyway - maybe its useful in future time,
Tobias


 Maybe you can use this.

 Cheers,
 Kevin

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




changing proxy settings of konqueror in a shell script

2004-05-13 Thread Tobias Kraus
Hi all,
does anyone know how to change the proxy settings of konqueror 
(kde3.2) from within a shell script. Actually, I need to change from 
direct internet connection to using a proxy (defined in a 
autoconfiguration script downloaded from a webserver - this url does 
not change). This can be achieved by changing the ProxyType setting 
(from 0 to 2 and vice versa) in ~/.kde/share/config/kioslaverc:

---8x---

  [Proxy Settings]
  ProxyType=0

---8x---

I have to tell konqueror to re-read kioslaverc. For this, I wanted to 
use dcop, but I couldn't find the correct function to call in kdcop - 
if there is one.

Can anyone help?

Thanks in advance,

Tobias

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: changing proxy settings of konqueror in a shell script

2004-05-13 Thread Tobias Kraus
Am Donnerstag, 13. Mai 2004 15:26 schrieb Adeodato Simó:
 * Tobias Kraus [Thu, 13 May 2004 14:49:20 +0200]:
  not change). This can be achieved by changing the ProxyType
  setting (from 0 to 2 and vice versa) in
  ~/.kde/share/config/kioslaverc:

   Just in case:

 $ sed -ie 's/ProxyType=0/ProxyType=2/'
 ~/.kde/share/config/kioslaverc

I didn't care about this yet - but I knew it wouldn't be difficult ;-) 
Thanks


  I have to tell konqueror to re-read kioslaverc. For this, I
  wanted to use dcop, but I couldn't find the correct function to
  call in kdcop - if there is one.

   I know pretty little about KDE internals but:

 1. Have you tried what happens if you edit the file by hand? I
 know KDE monitors changes in files under ~/.kde, so perhaps it
 would detect the changes automagically. If not, what happens if you
 restart konqueror?

I wanted the changes to take effect immediately - I use laptop-net to 
configure my network interface automatically when my laptop is 
plugged in. After reconfiguring my interface, the proxy settings 
should be changed automatically without any user interaction...


 2. If the above doesn't work, you can try `dcop kded
 kbuildsycoca recreate`. I'm not sure what this does exactly, but
 kbuildsycoca is KDE's cache or sth. like that, so it may be worth
 trying.

no, didn't work, but thank you!

Tobias


   hth someway.

 --
 Adeodato Simó
 EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621

 # nobody is perfect
 $ su - nobody

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: changing proxy settings of konqueror in a shell script

2004-05-13 Thread Tobias Kraus
Am Donnerstag, 13. Mai 2004 16:13 schrieb Ben Burton:
  I have to tell konqueror to re-read kioslaverc. For this, I
  wanted to use dcop, but I couldn't find the correct function to
  call in kdcop - if there is one.

 dcop konqueror-pid KonquerorIface reparseConfiguration

 Does this do what you want?

I have already tried this one, but it didn't work. Maybe it makes 
konqueror to reread konquerorrc.

Thank you anyway,
Tobias


 b.

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!




Re: kdm: authentication failure

2004-03-11 Thread Tobias Kraus
Am Mittwoch, 10. März 2004 15:53 schrieb Jeff Elkins:
 Since upgrading to KDE3.2, kdm will no longer allow autologin,
 giving me an authentication failure.  Is there a workaround for
 this?
This worked for me:

  cp /etc/pam.d/kdm /etc/pam.d/kdm-np

and removed the following line from kdm-np:

  auth   required pam_unix.so shadow nullok

I don't know if this opens any security holes. I don't know that much 
of PAM.

Tobias

 Thanks,

 Jeff Elkins

-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: Upgrade problem 3.1.4 - 3.2 on Woody

2004-02-03 Thread Tobias Kraus
Am Dienstag, 3. Februar 2004 21:08 schrieb Isildur:
[...]
 Preparing to replace kdelibs-data 4:3.1.4-0woody1 (using
 .../kdelibs-data_4%3a3.2.0-0woody1_all.deb) ...
 Unpacking replacement kdelibs-data ...
 dpkg: error processing
 /var/cache/apt/archives/kdelibs-data_4%3a3.2.0-0woody1_all.deb
 (--unpack): trying to overwrite
 `/usr/share/mimelnk/application/x-kudesigner.desktop', which is
 also in package kugar
 dpkg-deb: subprocess paste killed by signal (Broken pipe)

Try to remove kugar. I had a similar problem with k3b. After removing 
it, kdelibs-data installed without any problems.

BTW, I love the Lord of the Rings, too. But in a mailing list your 
real name is appreciated. In fact, some people do not answer mails 
without real names.

cheers, Tobias
[...]
-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: forgot password in Kmail

2003-12-05 Thread Tobias Kraus
Am Freitag, 5. Dezember 2003 10:50 schrieb Mauro Darida:
 How to retrieve the password which kmail holds obfuscated in
 .kmailrc ? I use kde 3.1.2 on woody.
 Saluti, Mauro.

Hi Mauro,
disable any encryption and use ethereal to log the communication with 
the mail server. The password will be in plain text.

Tobias

 --
 On this laptop no Windows system survives and LINUX POWER reigns
 UNLIMITED. GnuPG key ID: 28A61681

-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




kmail and .cshrc

2003-11-19 Thread Tobias Kraus
Hi ML,
since a 2 weeks or so, kmail shows the following error message at 
startup:

Cannot create file .cshrc:
File exists.

But I cannot find the file (at least not in my home directory).
Google gave me no answer (maybe I've asked the wrong question :-( ), 
but maybe you can...
I'm using woody and kde 3.1.4 from kde.org

Thanks alot,
Tobias
-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




kdm-autologin and PATH

2003-10-02 Thread Tobias Kraus
Hello everybody,
I'm using the autologin function of kdm. But when I want to start a 
program that I have compiled locally I have to supply the full path 
(e.g. in K|Run command (I'm using the german l18n so I'm not sure 
what's the english name of the K-Menu entry where I can enter command 
names)). It seems that the /usr/local/kde (where these programs are 
insalled) is not in the path. When I launch it from the bash (where I 
have added /usr/local/kde/bin to the path) everything works fine. 
Also when I login manually.
I have checked different files where I have added /usr/local/kde/bin 
to PATH variables (/etc/kde3/kdm/*, /etc/X11/*, kdm initscript), but 
nothing worked.

Can anyone tell me which file I have to modify to have 
/usr/local/kde/bin in the PATH?

I'm using Woody and KDE 3.1.4 (official).

Thanks,
Tobias

-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: acrobat reader hotkeys dont work in kde

2003-09-11 Thread Tobias Kraus
 Luckily now I have my numlock off all the time, since I remapped my
 number pad keys to ALWAYS generate digits.

Great idea, I will do this in my spare time!

Tobias


 --
 Furrfu!   r a k k o  at  c h a r t e r  dot  n e t

-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: acrobat reader hotkeys dont work in kde

2003-09-09 Thread Tobias Kraus
Am Dienstag, 9. September 2003 20:06 schrieb Miguel Lobo:
  the hotkeys of the Acrobat Reader doesn't work in KDE (in a
  failsafe = xterm-only X11 session they do). Google and
  bugs.kde.org didn't give me any hint how to solve this problem.
  Is there anyone here who can?

 Make sure that NumLock is off.
Thank you, Miguel. But ... is it a bug or a feature? ;-)

Tobias


 --
 Miguel

-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




acrobat reader hotkeys dont work in kde

2003-09-07 Thread Tobias Kraus
Hello ML,
the hotkeys of the Acrobat Reader doesn't work in KDE (in a failsafe = 
xterm-only X11 session they do). Google and bugs.kde.org didn't give 
me any hint how to solve this problem. Is there anyone here who can?

Thank you,
Tobias
-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: kdeeject - unmouting media patch

2003-06-11 Thread Tobias Kraus
Am Mittwoch, 11. Juni 2003 20:10 schrieb Christian Hubinger:
 Hi!

 sorry for the cross-posting but i think this should go to both
 lists.

Fine, have a look at what I wrote below and forward it to the other 
list.


 On Wednesday 11 June 2003 11:42, Volker Krause wrote:
  On Tuesday 10 June 2003 13:27, Christian Hubinger wrote:
   not really :-(
   here on my woody ejectt unmounts the device when i type eject
   /cdrom BUT if i'm using the device name eject /dev/cdrom (which
   is a symbolic link) eject does not umount and throws an error.
   i don't know if thats special to the debian version of eject
   but here it definately does not work with the real device names
   (as used in /etc/fstab)
  
   [EMAIL PROTECTED]:~$ mount /dev/cdrom
   [EMAIL PROTECTED]:~$ eject /dev/cdrom - does not work
   eject: unable to eject, last error: Invalid argument
   
   ^^^ [EMAIL PROTECTED]:~$ umount /dev/cdrom
   [EMAIL PROTECTED]:~$ eject /dev/cdrom - works
  
   [EMAIL PROTECTED]:~$ mount /dev/cdrom
   [EMAIL PROTECTED]:~$ eject /cdrom - works
  
   so this seems to be a bug in eject. But i think for a quick
   workaround of that situation the patch i sent should be ok.
  
   Please let me know if this behaviour is special to the debian
   version of eject, so that i can fill a bugreport about it.
 
  seems to work here with eject from SuSE 8.2:
  vkpc3:/home/vkrause # eject -V
  eject version 2.0.13 by Jeff Tranter ([EMAIL PROTECTED])

 can anyone else reproduce this strange eject behaviour with woody?
 If yes i will send a bugreport.


I did investigate this problem lately. man eject told me:

... Eject may not always be able to determine if the device is mounted 
(e.g. if it has several names). If the device name is a symbolic 
link, eject will follow the link and use the device that it points 
to. ...

So, it's not a bug, it's a feature :- If you put the real device 
file (not a symlink) in /etc/fstab, eject works fine with mounted 
devices!

Actually, this should be discussed in the debian-user* or some other 
lists rather than debian-kde. On this list, you should discuss why 
kdeeject does not work (which uses eject to do its job) :-)


 greetings,
 chris


Tobias

-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: kdeeject - unmouting media patch

2003-06-11 Thread Tobias Kraus
Hi all interested users,
I sat down and patched eject 2.0.13 which comes with debian woody. 
Now, eject does not follow any symlinks to device files, but uses the 
original command line argument to look up the mount point and tries 
to unmount the device. You have to use the same device file name 
(either a real file or a symlink) to eject as to mount the media. 
This is quite a quick'n'dirty patch, but both eject and kdeeject 
works for me now :-)

Tobias

Am Mittwoch, 11. Juni 2003 23:17 schrieb David Pye:
 Hmm - here's a thought perhaps?

 the piece of main page you quoted says:
  ... Eject may not always be able to determine if the device is
  mounted (e.g. if it has several names). If the device name is a
  symbolic link, eject will follow the link and use the device that
  it points to. ...

 Could we not work around this?

 If I read that right, eject behaves by following the link and
 trying to umount the link destination as a device rather than a
 mount point if it was passed a symbolic link.

 Couldn't we make kdeeject simply dereference the symbolic link and
 call eject with the parameter of the link DESTINATION?

 So if you tried to eject /mnt/cdrom via kdeeject and it's a symlink
 to /cdrom, couldn't kdeeject run eject /mnt/cdrom?

 Assuming kdeeject works on mount points not devices, then is there
 a downside to this I haven't yet seen? :)

 David

-- 
/\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344
31a32,54
 /
  *
  *  You Are Using An Quick'n'Dirty-Patch !!!
  *
  
  *
  * With this patch it _should_ be possible to use symlinks on device
  * files in /etc/fstab and using this version of eject (with the 
  * symlink as parameter) to unmount the device and eject the 
  * respective media. In the original version eject followed the
  * symlinks and used the 'real' files to look up the mount point.
  * The result was (where /dev/cdrom - sr1 - scd1):
  *
  * # eject /dev/cdrom
  * eject: unable to eject, last error: Invalid argument
  *
  * as eject tried to unmount /dev/scd1 while /dev/cdrom is used
  * in /etc/fstab.
  *
  * No other file (esp. man-page 'eject.1') has been updated!
  *
  */
  
114a138
 With quick'n'dirty patch to use symlinks on device files of mounted devices\n
813a838
 	char *fullName2;
866c891
 		free(fullName);
---
 		fullName2=fullName;
879c904
 	mounted = MountedDevice(fullName, mountName, deviceName);
---
 	mounted = MountedDevice(fullName2, mountName, deviceName);
892c917
 		mountable = MountableDevice(fullName, mountName, deviceName);
---
 		mountable = MountableDevice(fullName2, mountName, deviceName);
897c922
 printf(_(%s: `%s' is not a mount point\n), programName, fullName);
---
 printf(_(%s: `%s' is not a mount point\n), programName, fullName2);


Re: Lisa SMB Browsing

2003-02-18 Thread Tobias Kraus
Hi,
I've posted this some weeks ago... - still available on 
http://lists.debian.org/search.html searching for SMB in ML kde!


Hi,
it's me again...

I found this at http://bugs.kde.org/show_bug.cgi?id=53202

--- Additional Comment #2 From Thiago Macieira 2003-01-28 00:13 
--- 
While the problem isn't fixed by default, you can work around it by 
using 
this. 
 
 Open your $KDEHOME/share/config/kdeglobals. Add these lines at the 
end: 
 [KDE URL Restrictions] 
 rule_count=1 
 rule_1=redirect,lan,,true 
 
 Save the file then run the following: 
 dcop kded kbuildsycoca recreate 
 
 You should be set to go and be able to browse any redirection from 
lan:/ 
 
 Please report if the solution doesn't work.


This works for me...

Tobias




Am Dienstag, 18. Februar 2003 11:39 schrieb Waldram, Andrew:
 Hi,

 I am using the latest Oficial kde 3.1 and lisa 3.1.0-1 (ver .23 I
 believe) everything seems to work

 I have never used Lisa before having used komba2 but decided to get
 it working as I think it'll be some time before I can use Komba
 again (if ever).

 I can browse my network in konqueror using lan:/ and see my fish
 ftp and smb shares
 however when I select an SMB share It opens blank
 starting konqueror from konsole shows the following error

 kio (KioJob) :WARNING:ListJob Redirection from
 lan://localhost/tarl.home.200/SMB to smb://tarl.home.2000 REJECTED!

 entering the smb url in konqueror works correctly list available
 shares. I've looked and tried everything I can think of but I'm a
 fish out of water

 Any sugestions ??
 Thanks in advance

-- 
/\ ASCII Ribbon Campaign
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




SOLVED: strange k3b behaviour

2003-02-06 Thread Tobias Kraus
After removing 
~/.kde/share/config/k3brc
~/.kde/share/apps/k3b
k3b seems to work normally.
Thanks to the anonymous hint-giver!

Tobias

 Hi ML,
 I'm using Ralf's KDE3.1 (thanks Ralf!) and k3b. I did k3bsetup and
 the user can burn CD images with cdrecord. As root, k3b behaves
 just normal, but in the user account, the IDE does not 'work'
 properly. The file selector (sub-)window is displayed in an extra
 window and the 'main' window with menu bar, toolbar, etc. is empty
 (except menu, toolbar, statusbar). After creating a new project, as
 I can add files to the session and burn the image under k3b, but
 there is no project window.

-- 
/\ ASCII Ribbon Campaign
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: kio problems

2003-01-29 Thread Tobias Kraus
Am Mittwoch, 29. Januar 2003 17:41 schrieb Arnout Boelens:
 hello,
Hi,


 kio (KIOJob): WARNING: ListJob: Redirection from
 lan://localhost/arnout.vvier.xs4all.nl/SMB to
 smb://arnout.vvier.xs4all.nl REJECTED!
[...]
 The problem occured when I upgraded from kde 3.0.3 to 3.1. Does anyone
 knows a solution for this?

I have the same problem (at least with SMB - I don't need FISH). I have traced 
the error message to job.cpp 
(file:/usr/share/doc/kde/HTML/en/kdelibs-apidocs/kio/html/job_8cpp-source.html).
 
If the problem persists and I have the time I might patch the code and 
recompile it. But until now I don't know how to do that in the Debian way... 
Probably, a bug report on bugs.kde.org is an option...


 Best regards,

 Arnout

Tobias

-- 
/\ ASCII Ribbon Campaign
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: kio problems

2003-01-29 Thread Tobias Kraus
Hi,
it's me again...

I found this at http://bugs.kde.org/show_bug.cgi?id=53202

--- Additional Comment #2 From Thiago Macieira 2003-01-28 00:13 --- 
While the problem isn't fixed by default, you can work around it by using 
this. 
 
 Open your $KDEHOME/share/config/kdeglobals. Add these lines at the end: 
 [KDE URL Restrictions] 
 rule_count=1 
 rule_1=redirect,lan,,true 
 
 Save the file then run the following: 
 dcop kded kbuildsycoca recreate 
 
 You should be set to go and be able to browse any redirection from lan:/ 
 
 Please report if the solution doesn't work.


This works for me...

Tobias




Am Mittwoch, 29. Januar 2003 17:41 schrieb Arnout Boelens:
 hello,

 when I select the kio service FISH or SMB in the konqueror navigation
 panel I get the following error in .xsession-errors

 kio (KIOJob): WARNING: ListJob: Redirection from
 lan://localhost/arnout.vvier.xs4all.nl/FISH to
 fish://arnout.vvier.xs4all.nl REJECTED!

 kio (KIOJob): WARNING: ListJob: Redirection from
 lan://localhost/arnout.vvier.xs4all.nl/SMB to
 smb://arnout.vvier.xs4all.nl REJECTED!

 It doesn't matter whether I run konqueror as user or as root.
 When I type the complete addres in the location toolbar the protocols work.

 The problem occured when I upgraded from kde 3.0.3 to 3.1. Does anyone
 knows a solution for this?

 Best regards,

 Arnout

-- 
/\ ASCII Ribbon Campaign
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: final binaries of 3.1 up

2003-01-17 Thread Tobias Kraus
 the final binaries of the RC 7 are now uploaded including a new kdeutils

Thanks Ralf for your great piece of work!!!

Unfortunately, I have a problem accessing SMB-shares in a Windows network. The 
lisa daemon works. Entering lan://localhost/host, konqueror shows the 
available services (e.g. SMB, HTTP, ...). When I select SMB, the address is 
lan://localhost/host/SMB, not being redirected to smb://host. This is 
accompanied with the following error message on the console:

kio (KIOJob): WARNING: ListJob: Redirection from lan://localhost/host/SMB to 
smb://host REJECTED!

In KDE 3.0.5, it showed me the SMB resources. I get this list if I enter 
smb://host/ directly. smb://host produces the kio (KIOJob): WARNING: 
ListJob: Redirection from smb://r1168.ga1.swh.mhn.de/Restricted to 
smb://r1168.ga1.swh.mhn.de/Restricted/ REJECTED!following error: kio 
(KIOJob): WARNING: ListJob: Redirection from smb://host to smb://hst/ 
REJECTED!) Double-clicking on the share gives the following error:

kio (KIOJob): WARNING: ListJob: Redirection from smb://host/share to 
smb://host/share/ REJECTED!

no matter if I enter smb://host/share/ or smb://host/share

Can anyone give me a hint how to solve this problem? Are there any config 
files for this KIOJob?

BTW, double-clicking on lan://localhost/host - HTTP changes the URL to 
http://host! I can access the shares via smbclient!

Thanks a lot,

Tobias

-- 
/\ ASCII Ribbon Campaign
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Karolina KDE 3.1 - missing packages

2003-01-07 Thread Tobias Kraus
Hi all,
I wanted to update from KDE3.0.5a to Karolina 3.1 but the following packages 
are not available:

libvorbisenc2
libpng12-0
libvorbisfile3

my sources.list:

deb ftp://ftp.uni-erlangen.de/pub/Linux/debian/ stable contrib main non-free
deb http://wh9.tu-dresden.de/kde3/karolina ./

Might it be an option to use 

deb-src http://wh9.tu-dresden.de/kde3/karolina ./

and compile it? I'm quite new to Debian and don't know (yet) how to the 
deb-src (though I've compiled a bunch of *.tgz's). Any RTFM/STFW hints?


-- 
/\ ASCII Ribbon Campaign
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: Karolina KDE 3.1 - missing packages

2003-01-07 Thread Tobias Kraus
Hi all,
thanks for all your postings!
Actually, while writing, I accidently hit a key and I thought I canceled the 
mail - but it was sent. While re-writing the message, I found out that these 
packages are in the unstable tree and gave up (for now) :-( 
Sorry, ML!

Tobias

Am Dienstag, 7. Januar 2003 16:15 schrieb Tobias Kraus:
 Hi all,
 I wanted to update from KDE3.0.5a to Karolina 3.1 but the following
 packages are not available:

 libvorbisenc2
 libpng12-0
 libvorbisfile3

 my sources.list:

 deb ftp://ftp.uni-erlangen.de/pub/Linux/debian/ stable contrib main
 non-free deb http://wh9.tu-dresden.de/kde3/karolina ./

 Might it be an option to use

 deb-src http://wh9.tu-dresden.de/kde3/karolina ./

 and compile it? I'm quite new to Debian and don't know (yet) how to the
 deb-src (though I've compiled a bunch of *.tgz's). Any RTFM/STFW hints?

-- 
/\ ASCII Ribbon Campaign
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344




Re: Karolina KDE 3.1 - missing packages

2003-01-07 Thread Tobias Kraus
Am Mittwoch, 8. Januar 2003 00:37 schrieb Ralf Nolden:
 Why don't you use the woody debs then if you have woody ? My packages are
 build on woody and have all dependencies resolved to a debootstrapped woody
 system.

 deb http://ktown.kde.org/~nolden/kde/woody/i386 ./

 Ralf
Thanks, Ralf,
put it in my sources.list. Will try tomorrow.

Tobias
-- 
/\ ASCII Ribbon Campaign
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
http://www.fsf.org/philosophy/no-word-attachments.html
http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344