[opensuse] signature in kmail
One or two years ago I had a signature with the suse version in use, the kernel etc.. Found somewhere the basic signature file but do not seem to get it working. Can somebody help me out? $ #!/bin/bash powered="$(head -n 1 /etc/SuSE-release)" kernel=`uname -r` echo "Powered by $powered Kernel: $kernel" kde=`kde-config -v | grep KDE` echo $kde uptime -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Constant Brouerius van Nidek wrote:
One or two years ago I had a signature with the suse version in use, the kernel etc.. Found somewhere the basic signature file but do not seem to get it working. Can somebody help me out?
$ #!/bin/bash
powered="$(head -n 1 /etc/SuSE-release)"
kernel=`uname -r` echo "Powered by $powered Kernel: $kernel"
kde=`kde-config -v | grep KDE` echo $kde
uptime
It worked fine on my system, here is the output: Powered by openSUSE 10.3 (X86-64) Kernel: 2.6.22.5-31-default KDE: 3.5.7 "release 72" 12:20pm up 37 days 20:27, 31 users, load average: 1.41, 1.19, 1.07 /Per -- Per Jessen, Zürich (17.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 08 October 2009 17:22:09 Per Jessen wrote:
Constant Brouerius van Nidek wrote:
One or two years ago I had a signature with the suse version in use, the kernel etc.. Found somewhere the basic signature file but do not seem to get it working. Can somebody help me out?
$ #!/bin/bash
powered="$(head -n 1 /etc/SuSE-release)"
kernel=`uname -r` echo "Powered by $powered Kernel: $kernel"
kde=`kde-config -v | grep KDE` echo $kde
uptime
It worked fine on my system, here is the output:
Powered by openSUSE 10.3 (X86-64) Kernel: 2.6.22.5-31-default KDE: 3.5.7 "release 72" 12:20pm up 37 days 20:27, 31 users, load average: 1.41, 1.19, 1.07
Per Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Constant Brouerius van Nidek wrote:
It worked fine on my system, here is the output:
Powered by openSUSE 10.3 (X86-64) Kernel: 2.6.22.5-31-default KDE: 3.5.7 "release 72" 12:20pm up 37 days 20:27, 31 users, load average: 1.41, 1.19, 1.07
Per Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result.
Ah, I just copied it into a file, then ran it with 'sh'. I don't use kmail, I don't know where you'd put it. In knode you specify the filename, and tick the box "This file is a program". /Per -- Per Jessen, Zürich (17.8°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result.
I also tried it. I put the code in a file made it executable and executed it. The result: ./test.sh: Zeile 1: $: Kommando nicht gefunden. Powered by openSUSE 11.2 Milestone 8 (i586) Kernel: 2.6.31-10-default KDE: 3.5.10 "release 31" 13:18 1 Tag 3:44 an, 3 Benutzer, Durchschnittslast: 0,81, 0,61, 0,40 The funny thing is, that I'm clearly running KDE4 :-) Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 08 October 2009 04:51:43 pm Karl Sinn wrote:
I also tried it. I put the code in a file made it executable and executed it.
The result: ./test.sh: Zeile 1: $: Kommando nicht gefunden.
there isn't supposed to be a "$" at the beginning of that line; must have slipped in there by quoting.
The funny thing is, that I'm clearly running KDE4 :-)
but you also have KDE 3 settings in your system. you get the KDE 4 config. by replacing "kde=`kde-config -v | grep KDE`" with "kde=`kde4- config -v | grep KDE`" -- phani. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
but you also have KDE 3 settings in your system. you get the KDE 4 config. by replacing "kde=`kde-config -v | grep KDE`" with "kde=`kde4- config -v | grep KDE`"
It's working. I like it, and I use it :-) Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 08 October 2009 18:38:29 phanisvara das wrote:
On Thursday 08 October 2009 04:51:43 pm Karl Sinn wrote:
I also tried it. I put the code in a file made it executable and executed it.
The funny thing is, that I'm clearly running KDE4 :-)
but you also have KDE 3 settings in your system. you get the KDE 4 config. by replacing "kde=`kde-config -v | grep KDE`" with "kde=`kde4- config -v | grep KDE`"
-- phani. Thanks Phani, that makes it really complete ;).
Powered by openSUSE 11.1 (i586) Kernel: 2.6.27.29-0.1-default KDE: 4.3.1 (KDE 4.3.1) "release 163" 8:04pm up 4 days 21:25, 5 users, load average: 1.75, 1.20, 1.49 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 08 October 2009 04:43:47 pm Constant Brouerius van Nidek wrote:
Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result.
using kmail i wrote the commands to a file, specified that file as "output of command," and got the signature you're seeing here below: -- Powered by openSUSE 11.2 Milestone 8 (x86_64) Kernel: 2.6.31-10-desktop KDE: 4.3.2 (KDE 4.3.2) "release 5" 17:03pm up 3:23, 4 users, load average: 0.02, 0.07, 0.10 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
phanisvara das skrev:
On Thursday 08 October 2009 04:43:47 pm Constant Brouerius van Nidek wrote:
Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result.
using kmail i wrote the commands to a file, specified that file as "output of command," and got the signature you're seeing here below:
Looks fine. Eh...I use ThunderBird, how and where would one put it into TB? -- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Open Source Academy +45 56964223 Novell Certified Linux Professional 10035701 Linux Counter no 114954 ------------------------------ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 08 October 2009 05:09:57 pm Verner Kjærsgaard wrote:
I use ThunderBird, how and where would one put it into TB?
sorry, don't have that installed. doesn't it come with help files or a wiki link or something? -- phani. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Verner Kjærsgaard wrote:
phanisvara das skrev:
On Thursday 08 October 2009 04:43:47 pm Constant Brouerius van Nidek wrote:
Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result.
using kmail i wrote the commands to a file, specified that file as "output of command," and got the signature you're seeing here below:
Looks fine. Eh...I use ThunderBird, how and where would one put it into TB?
Look under "Manage identities", but TB doesn't support signature scripts, AFAIK. /Per -- Per Jessen, Zürich (17.8°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 08 October 2009 18:35:06 phanisvara das wrote:
On Thursday 08 October 2009 04:43:47 pm Constant Brouerius van Nidek
wrote:
Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result.
using kmail i wrote the commands to a file, specified that file as "output of command," and got the signature you're seeing here below:
Thanks. Hope that did it. Will have a look. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Donnerstag, 8. Oktober 2009 13:43:40 schrieb Constant Brouerius van Nidek:
On Thursday 08 October 2009 18:35:06 phanisvara das wrote:
On Thursday 08 October 2009 04:43:47 pm Constant Brouerius van Nidek
wrote:
Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result.
using kmail i wrote the commands to a file, specified that file as "output of command," and got the signature you're seeing here below:
Thanks. Hope that did it. Will have a look.
My first tries didn't work, I had to activate "insert signature automatically" in the Kmail settings->E-Mail Editor Karl -- Powered by openSUSE 11.2 Milestone 8 (i586) Kernel: 2.6.31-10-default KDE: 4.3.1 (KDE 4.3.1) "release 3" 14:22 1 Tag 4:49 an, 3 Benutzer, Durchschnittslast: 0,16, 0,21, 0,21 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 08 October 2009 19:23:29 Karl Sinn wrote:
Am Donnerstag, 8. Oktober 2009 13:43:40 schrieb Constant Brouerius van Nidek:
On Thursday 08 October 2009 18:35:06 phanisvara das wrote:
On Thursday 08 October 2009 04:43:47 pm Constant Brouerius van Nidek
wrote:
Where did you put it? I tried out to use it as a file, as an output of command and input field, the three choices of the signature settings. None of them would give me a result.
using kmail i wrote the commands to a file, specified that file as "output of command," and got the signature you're seeing here below:
Thanks. Hope that did it. Will have a look.
My first tries didn't work, I had to activate "insert signature automatically" in the Kmail settings->E-Mail Editor Karl
-- Powered by openSUSE 11.2 Milestone 8 (i586) Kernel: 2.6.31-10-default KDE: 4.3.1 (KDE 4.3.1) "release 3" 14:22 1 Tag 4:49 an, 3 Benutzer, Durchschnittslast: 0,16, 0,21, 0,21
That was the last information ;). Oversaw that input but now it finally works. Thanks all for your help. Powered by openSUSE 11.1 (i586) Kernel: 2.6.27.29-0.1-default KDE: 3.5.10 "release 21.9" 7:56pm up 4 days 21:17, 5 users, load average: 1.18, 1.75, 1.90 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Constant Brouerius van Nidek
-
Karl Sinn
-
Per Jessen
-
phanisvara das
-
Verner Kjærsgaard