Truques do Ambiente de Trabalho
Anterior
Próximo

Truques do Ambiente de Trabalho

This section details some tips for using and customizing the desktop. They are mostly tips involving the desktop environment (called KDE), and the file manager (called Konqueror).

Run programs automatically when KDE starts

  1. The easiest way to run programs automatically when KDE starts is to use the Session Management feature of KDE. You can setup KDE exactly the way you'd like it to start every time you login.

  2. Choose K-Menu->System Settings->User Account from the Desktop Menu System. Click the Session Manager button on the left. Ensure that the Restore manually saved session checkbox is enabled.

  3. Launch all the applications you want running everytime you log in. Once you have everything set to your satisfaction, click choose K-Menu->Save Session. Every time you start KDE, you will return to this configuration.

  4. Another method to do this is to copy the desktop entry of the application you want to autostart from /usr/share/applications to the ~/.kde/Autostart directory.

Login automatically to KDE when the computer starts

It is possible to login a user automatically when the computer boots. This is not recommended for most computers, as it is not secure and may allow other users access to your information.

  1. K-Menu->System Setting->Login Manager

  2. Click on the Administrator Mode... and enter your user password to gain administrator privileges.

  3. Select the Convenience tab. Check the Enable Autologin and select the user to autologin from the drop down menu and select an appropriate time delay.

Restart KDE without rebooting the computer

  1. Grave e feche todas as aplicações abertas.

  2. Use the Ctrl-Alt-Backspace shortcut keys to restart KDE.

  3. If Ctrl-Alt-Backspace is disabled, type

    sudo /etc/init.d/kdm restart

    (Veja “Prevenir que as teclas de atalho Ctrl-Alt-Backspace reiniciem o X” para desactivar Ctrl-Alt-Backspace.)

Prevenir que as teclas de atalho Ctrl-Alt-Backspace reiniciem o X

  1. Make a backup copy of your existing /etc/X11/xorg.conf file.

    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

  2. Open /etc/X11/xorg.conf for editing.

    kdesu kate /etc/X11/xorg.conf

  3. Adicione as linhas seguintes ao fim do ficheiro:

    Section	"ServerFlags"
    Option	"DontZap"	"yes"
    EndSection
    
  4. Save the edited file. (an example)

  5. The change will take effect the next time you log in to KDE. If you want the change to take effect immediately, restart KDE manually. (See “Restart KDE without rebooting the computer”.)

Iniciar um Programa Manualmente

Sometimes it can be useful to start a program manually, for example when the program does not have an entry in the menu. This is easy to do with the Run Command dialog.

  1. Open the Run Command dialog by typing: Alt-F2

  2. Introduza o nome do programa que deseja executar, e pressione Enter.

Automatically turn on Num Lock when KDE starts

  1. K-Menu->System Setting->Keyboard

  2. Under the NumLock on KDE Startup, enable the Turn On checkbox. Click on Apply to save your settings.

The change will take effect the next time you log in to KDE. If you want to test it right away, turn off NumLock and restart KDE (see “Restart KDE without rebooting the computer”).

Handle help:// links in Firefox

You may want to be able to open the help:// protocol from within Firefox.

  1. Start Firefox by choosing K-Menu->Internet->Firefox

  2. Type about:config in the address bar.

  3. Right click on the list, select New->Boolean Type network.protocol-handler.external.help as Preference Name and true as Value

  4. Right click again on the list, select New->String Type network.protocol-handler.app.help as Preference Name and khelpcenter as Value

Edit K-Menu

Kubuntu comes with the KDE Menu Editor, so you can customize your menus and add entries for applications that don't automatically appear after they are installed.

Para adicionar uma nova entrada de menu:

  1. Open KDE Menu Editor by right-clicking on K-menu and choosing Menu Editor.

  2. In KDE Menu Editor's left-hand pane, choose the submenu the new entry should appear in.

  3. Choose File->New Item. In the New Item window, choose a Name. Then add the Description, Comment, and Command. Select the icon by clicking on Icon. The Command will usually be the package name, Name is what will appear on the menu, and the Comment will appear in the tooltip that appears near the menu entry. Icons are chosen from /usr/share/pixmaps directory by default, or can be chosen from anywhere in your files.

To change the order of menu entries, click and drag the entry in the KDE Menu Editor window.

Applets Avançadas de Ambiente de Trabalho

Superkaramba is a system for bringing mini programs (desklets) such as weather forecasts, news tickers, system information displays, or music player controls onto your desktop, where they are sitting there in a symbiotic relationship of eye candy and usefulness.

  1. Install the superkaramba package from the Universe repository (see “Managing Repositories”).

  2. Choose: K-Menu->Utilities->Superkaramba

  3. Visit the SuperKaramba website for downloading applets.

Instalar Fontes Extra

This section describes how to install extra fonts from the Kubuntu archives.

  1. Para Fontes internacionais, instale os pacotes seguintes a partir do repositório Universe (veja Capítulo 3, Adicionar, Remover e Actualizar Aplicações):


    xfonts-intl-arabic
    xfonts-intl-asian
    xfonts-intl-chinese
    xfonts-intl-chinese-big
    xfonts-intl-european
    xfonts-intl-japanese 
    xfonts-intl-japanese-big
    xfonts-intl-phonetic
                            

  2. Para fontes Microsoft TrueType, instale o pacote msttcorefonts a partir do repositório Multiverse (veja Capítulo 3, Adicionar, Remover e Actualizar Aplicações).

  3. Para fontes Ghostscript, instale o pacote gsfonts-x11 (veja Capítulo 3, Adicionar, Remover e Actualizar Aplicações).

  4. Depois de instalar qualquer fonte nova, reconstrua os ficheiros de informação de fontes introduzindo o seguinte num prompt da consola:

    sudo fc-cache -f -v

If you prefer to download individual fonts by hand, you can install them easily by opening Konqueror and typing fonts:/// into the location bar. Then you can install the font, either system-wide or for personal use by dragging and dropping into the respective folders.

Anterior
Próximo
Início