Konversation/Tips og tricks

From KDE UserBase Wiki
Revision as of 10:10, 6 August 2011 by Claus chr (talk | contribs) (Importing a new version from external source)

Brug af de indbyggede scripts

  • Konversation har mange indbyggede scripts, som kan gøre den sjovere at bruge. Følgende scripts følger med Konversation:
/media
viser, hvad du spiller i din medieafspiller (adskillige afspillere understøttes)
/weather
viser information om vejret hvis KWeather er installeret og kører (KDE 3)
/cmd
kører en kommando og viser outputtet - prøv /cmd uname -a
/uptime
viser den aktuelle uptime-information for din maskine
sayclip
viser det seneste emne gemt i Klipper
/sysinfo
viser information om dit system.
/fortune
Viser et tilfældig visdomsord fra scripts/fortune.dat

DCC tricks =

  • Du kan overføre ethvert link understøttet af KDE som fil i Konversation.
    Prøv med /dcc send <nickname> http://www.slashdot.org

Integration med Kontact

  • Du kan knytte nicks til kontakter i din adressebog og holde øje med deres onlinestatus i Kontact. For at gøre dette skal du klikke på et nick, bruge Adressebogtilknytninger -> Vælg kontakt... og vælge den kontakt, som du vil tilknytte. Nu kan du følge kontaktens onlinestatus i Kontact.
  • Hvis du installerer pluginet kuick fra kdeaddons/konq-plugins, så kan du højreklikke på en fil, vælge Kopiér til -> Kontakt og vælge en af dine onlinekontakter, så vil Konversation overføre filen til kontakten.

Nick-fuldførelse

  • Hvis du fuldfører et nick ved brug af tabulatoren, så vil Konversation indsætte det senest fuldførte nick automatisk næste gang du taster Tab.
  • 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 Settings -> Configure Notifications in the menubar.
  • Select Someone wrote your nick in a message.
  • Click the checkbox which says [ ] Play a sound: 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 Settings -> Identities. Select your identity and goto Advanced tab and enter at Pre-shell command ~/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 Auto Spell Check.

On-Demand Ghosting

Use this method to regain ("ghost") your nick upon reconnection to freenode.