Konversation/Tips and Tricks: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
== Using Built-in Scripts == | == Using Built-in Scripts == | ||
* Konversation has many built-in scripts to make Konversation more fun to use. | |||
* '''Konversation''' has many built-in scripts to make '''Konversation''' more fun to use. The following scripts come bundled with '''Konversation''': | |||
; [[Special:mylanguage/Konversation/Scripts/Media|/media]] | |||
: shows what you play in your media player (several players are supported) | |||
; /weather | |||
: displays weather information if you have KWeather installed and running | |||
; /cmd | |||
: runs a command and prints the output - try <code>/cmd uname -a</code> | |||
; /uptime | |||
: prints the current uptime information of your machine | |||
; /sayclip | |||
: prints the top entry saved in klipper | |||
; /sysinfo | |||
: Shows information about your system. | |||
; /fortune | |||
: Shows a random fortune from scripts/fortune.dat | |||
== DCC Tricks == | == DCC Tricks == | ||
* You can dcc any link supported by KDE in Konversation. <br>Try | |||
* You can dcc any link supported by KDE in Konversation. <br>Try <code> /dcc send <nickname> http://www.slashdot.org </code> | |||
== Kontact Integration == | == Kontact Integration == | ||
* You can associate nicks with addressbook entries and track their online status from Kontact. To do so right click a nick, use | |||
* If you install ''' kuick ''' plugin from | * You can associate nicks with addressbook entries and track their online status from '''Kontact'''. To do so right click a nick, use <menuchoice>Addressbook Associations -> Choose Contact</menuchoice> and select the addressbook entry you want to associate. And that's it. Now you can see their online status from '''Kontact'''. | ||
* If you install '''kuick''' plugin from ''kdeaddons/konq-plugins'' you can right click a filename choose <menuchoice>Copy To -> Contact</menuchoice>', select one of your online contacts and '''Konversation''' will dcc the file to that contact. | |||
== Nick Completion == | == Nick Completion == | ||
*If you chose a nick using tab-completion, the next time you press Tab key Konversation will insert last completed nick automatically. | *If you chose a nick using tab-completion, the next time you press Tab key Konversation will insert last completed nick automatically. | ||
* You can skip some part of nicks while using nick completion. For example if your bouncer adds ~ prefix to nicks you can add following to your ~/.kde/share/config/konversationrc : | * You can skip some part of nicks while using nick completion. For example if your bouncer adds ~ prefix to nicks you can add following to your ~/.kde/share/config/konversationrc : | ||
{{Input|1=[Nick Completion] | |||
'''PrefixCharacter=~'''}} | |||
:Then it won't take ~ prefix into account while doing nick completion. So to get ~foo you just do fo<tab> and it will complete it to ~foo.You can use any valid string for PrefixCharacter like ~,~d,~df,etc. | :Then it won't take ~ prefix into account while doing nick completion. So to get ~foo you just do fo<tab> and it will complete it to ~foo.You can use any valid string for PrefixCharacter like ~,~d,~df,etc. | ||
== Sound Notifications == | == Sound Notifications == | ||
You can have Konversation notify you with a sound event whenever your name appears in a channel. | |||
*Go to | You can have '''Konversation''' notify you with a sound event whenever your name appears in a channel. | ||
*Select | |||
*Click the checkbox which says | *Go to <menuchoice>Settings -> Configure Notifications</menuchoice> in the menubar. | ||
You can also choose other types of notifications for other events from this dialog. | *Select <menuchoice>Someone wrote your nick in a message</menuchoice>. | ||
*Click the checkbox which says <menuchoice>[ ] Play a sound:</menuchoice> and then use the folder icon to the right of it to select a sound to play. | |||
You can also choose other types of notifications for other events from this dialog. {{Smiley}} | |||
== Enabling Graphical Emoticons == | == Enabling Graphical Emoticons == | ||
Stop | |||
Stop '''Konversation''', add the following to your ~/.kde/share/config/konversationrc and restart '''Konversation''': | |||
{{Input|1=[Themes] | |||
EmotIconTheme=Default | EmotIconTheme=Default | ||
EnableEmotIcons=true | EnableEmotIcons=true}} | ||
Please note that graphical emoticons are formally unsupported and the code is unmaintained. | Please note that graphical emoticons are formally unsupported and the code is unmaintained. | ||
== Creating an SSH tunnel before connecting == | == Creating an SSH tunnel before connecting == | ||
Open <menuchoice>Settings -> Identities</menuchoice>. Select your identity and goto <menuchoice>Advanced tab/menuchoice> and enter at <menuchoice>Pre-shell command</menuchoice> <code>~/ssh-tunnel.sh</code> | |||
<syntaxhighlight lang=" | |||
Then create an ''~/ssh-tunnel.sh'' file with something like: | |||
{{Input|<syntaxhighlight lang="php" line> | |||
# Enter your own ssh-tunnel command | # Enter your own ssh-tunnel command | ||
ssh -C -N -L 6667:irc.efnet.org:6667 [email protected]& | ssh -C -N -L 6667:irc.efnet.org:6667 [email protected]& | ||
# wait some seconds to establish the tunnel before continuing | # wait some seconds to establish the tunnel before continuing | ||
sleep 5 | sleep 5 | ||
</syntaxhighlight> | </syntaxhighlight>}} | ||
Then | Then <code>chmod +x ~/ssh-tunnel.sh</code> and any network using this identity will set up an ssh tunnel before it connects! | ||
You have to use | You have to use ''localhost'' as server and the login-process for the tunnel-server should be automated by ssh-agent and the port only works once so you have to use a different script for each connect. All-in-all maybe its easier to set up the tunnel(s) in '''konsole''' or use a SSL-capable server. [[User:Nobs|nobs]] 11:11, 15 February 2006 (EST) | ||
== Importing the mIRC Server List == | == Importing the mIRC Server List == | ||
Line 62: | Line 76: | ||
== Turn on Auto Spell Check == | == Turn on Auto Spell Check == | ||
Right click the text input line and select Auto Spell Check. | Right click the text input line and select <menuchoice>Auto Spell Check</menuchoice>. | ||
== On-Demand Ghosting == | == On-Demand Ghosting == | ||
Use </translate>[[Special:mylanguage/Konversation/Scripts/Ghosttrick|<translate>this</translate>]]<translate> method to regain ("ghost") your nick upon reconnection to freenode. | Use </translate>[[Special:mylanguage/Konversation/Scripts/Ghosttrick|<translate>this</translate>]]<translate> method to regain ("ghost") your nick upon reconnection to freenode. | ||
[[Category:Internet]] | |||
</translate> | </translate> |
Revision as of 12:44, 25 July 2011
Using Built-in Scripts
- Konversation has many built-in scripts to make Konversation more fun to use. The following scripts come bundled with Konversation:
- /media
- shows what you play in your media player (several players are supported)
- /weather
- displays weather information if you have KWeather installed and running
- /cmd
- runs a command and prints the output - try
/cmd uname -a
- /uptime
- prints the current uptime information of your machine
- /sayclip
- prints the top entry saved in klipper
- /sysinfo
- Shows information about your system.
- /fortune
- Shows a random fortune from scripts/fortune.dat
DCC Tricks
- You can dcc any link supported by KDE in Konversation.
Try/dcc send <nickname> http://www.slashdot.org
Kontact Integration
- You can associate nicks with addressbook entries and track their online status from Kontact. To do so right click a nick, use and select the addressbook entry you want to associate. And that's it. Now you can see their online status from Kontact.
- If you install kuick plugin from kdeaddons/konq-plugins you can right click a filename choose ', select one of your online contacts and Konversation will dcc the file to that contact.
Nick Completion
- If you chose a nick using tab-completion, the next time you press Tab key Konversation will insert last completed nick automatically.
- You can skip some part of nicks while using nick completion. For example if your bouncer adds ~ prefix to nicks you can add following to your ~/.kde/share/config/konversationrc :
[Nick Completion] PrefixCharacter=~
- Then it won't take ~ prefix into account while doing nick completion. So to get ~foo you just do fo<tab> and it will complete it to ~foo.You can use any valid string for PrefixCharacter like ~,~d,~df,etc.
Sound Notifications
You can have Konversation notify you with a sound event whenever your name appears in a channel.
- Go to in the menubar.
- Select .
- Click the checkbox which says and then use the folder icon to the right of it to select a sound to play.
You can also choose other types of notifications for other events from this dialog.
Enabling Graphical Emoticons
Stop Konversation, add the following to your ~/.kde/share/config/konversationrc and restart Konversation:
[Themes] EmotIconTheme=Default EnableEmotIcons=true
Please note that graphical emoticons are formally unsupported and the code is unmaintained.
Creating an SSH tunnel before connecting
Open ~/ssh-tunnel.sh
Then create an ~/ssh-tunnel.sh file with something like:
# Enter your own ssh-tunnel command ssh -C -N -L 6667:irc.efnet.org:6667 cartman@southpark.com& # wait some seconds to establish the tunnel before continuing sleep 5
Then chmod +x ~/ssh-tunnel.sh
and any network using this identity will set up an ssh tunnel before it connects!
You have to use localhost as server and the login-process for the tunnel-server should be automated by ssh-agent and the port only works once so you have to use a different script for each connect. All-in-all maybe its easier to set up the tunnel(s) in konsole or use a SSL-capable server. nobs 11:11, 15 February 2006 (EST)
Importing the mIRC Server List
On this page you can find a script that will append the contents of mIRC's venerable servers.ini to your Konversation config file.
Turn on Auto Spell Check
Right click the text input line and select
.On-Demand Ghosting
Use this method to regain ("ghost") your nick upon reconnection to freenode.