Konversation/FAQ: Difference between revisions

    From KDE UserBase Wiki
    No edit summary
    No edit summary
    Line 4: Line 4:
    == I've lost my menubar, how do I get it back? ==
    == I've lost my menubar, how do I get it back? ==


    Pressing {{key|txt=CTRL}}+{{key|txt=M}} will make it re-appear.
    Pressing <keycap>CTRL + M</keycap> will make it re-appear.
    It should be noted that most KDE programs follow the same shortcut convention and you should be able to get your menu back this way most of the time.
    It should be noted that most KDE programs follow the same shortcut convention and you should be able to get your menu back this way most of the time.


    == My distro turned off the system tray icon, how do I get it back? ==
    == My distro turned off the system tray icon, how do I get it back? ==


    Settings > Configure Konversation > Behaviour > General > Enable System Tray
    <menuchoice>Settings -> Configure Konversation -> Behaviour -> General -> Enable System Tray</menuchoice>


    == I have NetworkManager disabled and connect manually, but Konversation fails to auto-connect and needs restarting ==
    == I have NetworkManager disabled and connect manually, but Konversation fails to auto-connect and needs restarting ==


    Konversation uses the KDE backend Solid to get network info. To make it reconnect, change the Solid backend to FakeNet.
    '''Konversation''' uses the KDE backend [[Glossary#Solid|Solid]] to get network info. To make it reconnect, change the Solid backend to FakeNet.


    System Settings -> Advanced tab -> Hardware -> Select FakeNet under Network -> Move it to top of the list using the arrows
    <menuchoice>System Settings -> Advanced tab -> Hardware ->Network -> FakeNet</menuchoice>. Move it to top of the list using the arrows


    Apply changes.
    Apply changes.
    Line 21: Line 21:
    == Where can I find the scripts included with Konversation (/media, /weather, etc.)? ==
    == Where can I find the scripts included with Konversation (/media, /weather, etc.)? ==


    KDE applications such as Konversation commonly look for their resources in two places, a global directory structure and one located in the home folder of your user account. Each application looks up a directory matching their own name in both places and uses the data within. While ''~/.kde/share/apps/konversation/scripts'' is always picked up by default, the location of the global ''konversation/scripts'' folder containing the default selection of scripts shipped with Konversation can be harder to establish, because it depends on the file system layout your distribution has chosen to implement.
    KDE applications such as '''Konversation''' commonly look for their resources in two places, a global directory structure and one located in the home folder of your user account. Each application looks up a directory matching their own name in both places and uses the data within. While ''~/.kde/share/apps/konversation/scripts'' is always picked up by default, the location of the global ''konversation/scripts'' folder containing the default selection of scripts shipped with '''Konversation''' can be harder to establish, because it depends on the file system layout your distribution has chosen to implement.


    Generally, KDE can be told about directories it should consider for retrieval of application resources by filling and exporting the ''$KDEDIR'' or ''$KDEDIRS'' environment variables, and consequently, many distributions make use of this facility. Starting the KDE terminal emulator Konsole and using the ''echo'' command can yield the contents of these variables:
    Generally, KDE can be told about directories it should consider for retrieval of application resources by filling and exporting the ''$KDEDIR'' or ''$KDEDIRS'' environment variables, and consequently, many distributions make use of this facility. Starting the KDE terminal emulator Konsole and using the ''echo'' command can yield the contents of these variables:
    <syntaxhighlight lang="bash">
    {{Input|1= echo $KDEDIRS}}
    echo $KDEDIRS
    </syntaxhighlight>


    Which may output something along the lines of:  
    Which may output something along the lines of:  
    <syntaxhighlight lang="bash">
    {{Output|1=/usr}}
    /usr
    </syntaxhighlight>


    In this case, your global Konversation script folder would be ''/usr/share/apps/konversation/scripts''. If any of these environment variables contains multiple directories seperated by a colon (":"), KDE considers all of them, in the order given.  
    In this case, your global '''Konversation''' script folder would be ''/usr/share/apps/konversation/scripts''. If any of these environment variables contains multiple directories seperated by a colon (":"), KDE considers all of them, in the order given.  


    The scripts directory in your home folder - ''~/.kde/share/apps/konversation/scripts'' -, by the way, always has precedence over the global one. So if you want to modify one of the scripts shipped with Konversation for your own purpose, it's good practice to copy it from the global directory to the one local to your user account. This way, an update to Konversation won't overwrite your modifications.
    The scripts directory in your home folder - ''~/.kde/share/apps/konversation/scripts'' -, by the way, always has precedence over the global one. So if you want to modify one of the scripts shipped with '''Konversation''' for your own purpose, it's good practice to copy it from the global directory to the one local to your user account. This way, an update to '''Konversation''' won't overwrite your modifications.


    If the above method to retrieve the path of the global scripts folder fails, you can try the output of:
    If the above method to retrieve the path of the global scripts folder fails, you can try the output of:
    <syntaxhighlight lang="bash">
    {{Input|1= kde4-config --install data}}
      kde4-config --install data
    </syntaxhighlight>


    Here are a few more examples of common paths for the global scripts folder in case all of the above methods to retrieve them fail:
    Here are a few more examples of common paths for the global scripts folder in case all of the above methods to retrieve them fail:
    Line 49: Line 43:
    </syntaxhighlight>
    </syntaxhighlight>


    Post version 1.3.1, another way to find out where the installed scripts are is to run this command in Konversation's input line (using the media script as an example, since it comes with any Konversation installation)
    Post version 1.3.1, another way to find out where the installed scripts are is to run this command in '''Konversation's''' input line (using the media script as an example, since it comes with any '''Konversation''' installation)
    /exec --showpath media
    {{Input|1=/exec --showpath media}}


    == How do I make my text bold/italized/underlined? ==
    == How do I make my text bold/italized/underlined? ==
    Line 70: Line 64:
    == Where is the server list? ==
    == Where is the server list? ==


    Konversation presently doesn't ship with a pre-configured list of known IRC networks and servers. We are planning to provide a place to download and import such lists in the future. In the meantime, on </translate>[[Special:mylanguage/Konversation/Scripts/Import_mIRC_server_list|<translate>this page</translate>]]<translate> you can find a script that will append the contents of mIRC's venerable servers.ini to your Konversation config file.
    '''Konversation''' presently doesn't ship with a pre-configured list of known IRC networks and servers. We are planning to provide a place to download and import such lists in the future. In the meantime, on </translate>[[Special:mylanguage/Konversation/Scripts/Import_mIRC_server_list|<translate>this page</translate>]]<translate> you can find a script that will append the contents of mIRC's venerable servers.ini to your '''Konversation''' config file.


    == What is an IRC URL? ==
    == What is an IRC URL? ==


    Konversation can be started with an URL from the command line.  The following URL should work:
    '''Konversation''' can be started with an URL from the command line.  The following URL should work:


    * irc://host:port/%23channel
    * irc://host:port/%23channel
    Line 80: Line 74:


    Details: ([http://tools.ietf.org/html/draft-butcher-irc-url-04 expired IETF draft])
    Details: ([http://tools.ietf.org/html/draft-butcher-irc-url-04 expired IETF draft])
    [[Category:Internet]]


    </translate>
    </translate>

    Revision as of 11:54, 25 July 2011

    Other languages:

    I've lost my menubar, how do I get it back?

    Pressing CTRL + M will make it re-appear. It should be noted that most KDE programs follow the same shortcut convention and you should be able to get your menu back this way most of the time.

    My distro turned off the system tray icon, how do I get it back?

    Settings -> Configure Konversation -> Behaviour -> General -> Enable System Tray

    I have NetworkManager disabled and connect manually, but Konversation fails to auto-connect and needs restarting

    Konversation uses the KDE backend Solid to get network info. To make it reconnect, change the Solid backend to FakeNet.

    System Settings -> Advanced tab -> Hardware ->Network -> FakeNet. Move it to top of the list using the arrows

    Apply changes.

    Where can I find the scripts included with Konversation (/media, /weather, etc.)?

    KDE applications such as Konversation commonly look for their resources in two places, a global directory structure and one located in the home folder of your user account. Each application looks up a directory matching their own name in both places and uses the data within. While ~/.kde/share/apps/konversation/scripts is always picked up by default, the location of the global konversation/scripts folder containing the default selection of scripts shipped with Konversation can be harder to establish, because it depends on the file system layout your distribution has chosen to implement.

    Generally, KDE can be told about directories it should consider for retrieval of application resources by filling and exporting the $KDEDIR or $KDEDIRS environment variables, and consequently, many distributions make use of this facility. Starting the KDE terminal emulator Konsole and using the echo command can yield the contents of these variables:

    echo $KDEDIRS

    Which may output something along the lines of:

    /usr

    In this case, your global Konversation script folder would be /usr/share/apps/konversation/scripts. If any of these environment variables contains multiple directories seperated by a colon (":"), KDE considers all of them, in the order given.

    The scripts directory in your home folder - ~/.kde/share/apps/konversation/scripts -, by the way, always has precedence over the global one. So if you want to modify one of the scripts shipped with Konversation for your own purpose, it's good practice to copy it from the global directory to the one local to your user account. This way, an update to Konversation won't overwrite your modifications.

    If the above method to retrieve the path of the global scripts folder fails, you can try the output of:

    kde4-config --install data

    Here are a few more examples of common paths for the global scripts folder in case all of the above methods to retrieve them fail:

     /usr/share/apps/konversation/scripts (Gentoo, Kubuntu)
     /usr/share/kde4/apps/konversation/scripts
     /opt/kde3/share/apps/konversation/scripts (SUSE)
    

    Post version 1.3.1, another way to find out where the installed scripts are is to run this command in Konversation's input line (using the media script as an example, since it comes with any Konversation installation)

    /exec --showpath media

    How do I make my text bold/italized/underlined?

    Examples:

    This is my %Bbold%B text.
    
    This is my bold text.
    This is my %Iitalized%I text.
    
    This is my italized text.
    This is my %Uunderlined%U text.
    
    This is my underlined text.
    This is my %Sstruck-out%S text.
    
    This is my struck-out text.

    Where is the server list?

    Konversation presently doesn't ship with a pre-configured list of known IRC networks and servers. We are planning to provide a place to download and import such lists in the future. In the meantime, on this page you can find a script that will append the contents of mIRC's venerable servers.ini to your Konversation config file.

    What is an IRC URL?

    Konversation can be started with an URL from the command line. The following URL should work:

    Details: (expired IETF draft)