KWin/pt-br: Difference between revisions

From KDE UserBase Wiki
No edit summary
(Updating to match new version of source page)
Line 11: Line 11:
:* Eficiência melhorada
:* Eficiência melhorada


<span class="mw-translate-fuzzy">
'''KWin''' (pronounced "kwin" in one word) is the window manager for the '''KDE Plasma Desktop'''. It gives you complete control over your windows, making sure they're not in the way but aid you in your task. It paints the window decoration, the bar on top of every window with (configurable) buttons like close, maximize and minimize. It also handles placing of windows and switching between them.
'''KWin''' (pronunciado "kwin") é o gestor de janelas do '''KDE Plasma Desktop'''. Dá a você um completo controle sobre suas janelas, assegurando-se de que não estão no meio de suas tarefas, senão ajudando você com elas. Imprime a decoração das janelas, a barra superior da cada janela com botões (configuráveis) como fechar, maximizar e minimizar. Também se encarrega da colocação das janelas e das mudanças entre elas.
</span>


'''KWin''' é compatível com ''composição'', que consiste em utilizar efeitos 3D para manejar suas janelas. Isto pode fazer que o gerenciamento de janelas seja mais suave, fácil, eficiente e natural. Os requisitos de hardware são muito modestos e praticamente todos os sistemas modernos desde 2002 são compatíveis. Ainda há alguns problemas com certos hardware, poderá encontrar mais informação sobre isto no [http://techbase.kde.org/projects/kwin techbase]
'''KWin''' é compatível com ''composição'', que consiste em utilizar efeitos 3D para manejar suas janelas. Isto pode fazer que o gerenciamento de janelas seja mais suave, fácil, eficiente e natural. Os requisitos de hardware são muito modestos e praticamente todos os sistemas modernos desde 2002 são compatíveis. Ainda há alguns problemas com certos hardware, poderá encontrar mais informação sobre isto no [http://techbase.kde.org/projects/kwin techbase]
Line 21: Line 19:
Clique com o botão direito na decoração de uma janela ou use [[Special:myLanguage/System Settings|Preferências do Sistema]] para acessar à nova e mais singela configuração do '''KWin'''. Aqui você pode ativar efeitos para gerenciar suas janelas de forma mais eficiente. Por exemplo, pode usar '''Apresenta as janelas''' como efeito para a mudança de janelas. Em lugar de mostrar ícones ou pré-visualizações muito pequenas de suas aplicações, organiza-as em uma rede de forma que possa eleger e adequada rapidamente. Só tem que usar as teclas <keycap>Alt-Tab</keycap> e manter pressionada a tecla <keycap>Alt</keycap>. Agora pode usar a tabulação para mudar entre as janelas ou ativar usando o mouse. Ao pressionar as teclas <keycap>Alt-Tab</keycap> rapidamente se mostrará a janela seguinte na fila, igual anteriormente.
Clique com o botão direito na decoração de uma janela ou use [[Special:myLanguage/System Settings|Preferências do Sistema]] para acessar à nova e mais singela configuração do '''KWin'''. Aqui você pode ativar efeitos para gerenciar suas janelas de forma mais eficiente. Por exemplo, pode usar '''Apresenta as janelas''' como efeito para a mudança de janelas. Em lugar de mostrar ícones ou pré-visualizações muito pequenas de suas aplicações, organiza-as em uma rede de forma que possa eleger e adequada rapidamente. Só tem que usar as teclas <keycap>Alt-Tab</keycap> e manter pressionada a tecla <keycap>Alt</keycap>. Agora pode usar a tabulação para mudar entre as janelas ou ativar usando o mouse. Ao pressionar as teclas <keycap>Alt-Tab</keycap> rapidamente se mostrará a janela seguinte na fila, igual anteriormente.


<span class="mw-translate-fuzzy">
If your X server already supports compositing, switching it on is as easy as opening System Settings, opening the <menuchoice>Worskpace Appearance and Behaviour</menuchoice> module, choosing <menuchoice>Desktop Effects</menuchoice> and enabling the checkbox <menuchoice>Enable desktop effects at startup</menuchoice>. More advanced compositing settings (such as ''Use VSync'', ''Scale method'', ''Compositing type'') are available through the <menuchoice>Advanced</menuchoice> dialog. Customising the behaviour of the KWin effects means opening the <menuchoice>All effects</menuchoice> tab, and choosing the plugins you want to use. Please note that only a subset of the plugins works with ''XRender''-based compositing. For the full experience, you need to use OpenGL mode.  
Se o seu servidor X é compatível com o compositing, ativá-lo é tão simples como abrir a Preferências do sistema, Abra o módulo <menuchoice>Desktop</menuchoice>, e habilite<menuchoice>Efeitos de desktop</menuchoice> e marque a lacuna <menuchoice>Habilitar os efeitos de desktop<menuchoice>. Configurações mais avançadas do composite (como ''Usar VSync'', ''Representação direta'', ''tipo de composição'') estão disponíveis no diálogo <menuchoice>Avançado</menuchoice>. Para personalizar o comportamento dos efeitos do KWin abre os dialogos <menuchoice>Todos os efeitos</menuchoice>, e escolha o plugin que queira utilizar. Por favor, tenha em conta que só um subconjunto de plugins funciona com a composição ''XRender''. Para uma experiência completa é necessário utilizar o modo OpenGL.
</span>


Employing motion physics, '''KWin''' provides your windows with a more natural feel. New desktop effects like the '''Cube''' desktop switcher and '''Magic Lamp''' minimize animation have been added. Improvements in the existing effects make window management smoother than ever. KWin has seen many performance improvements to enable these effects even on low-end hardware. Elaborate checks have been build in to ensure users with low-end hardware are not presented with an unusable setup. KWin detects the capabilities of the hardware and if needed gracefully scales its effects down. You can take control and disable these checks or change settings like the global animation speed to fine-tune your experience. When your computer is under heavy load, '''KWin''' will automatically disable the compositing temporarily to keep things running smoothly. It will notify you if it does so, and you can re-enable compositing by pressing <keycap>Shift+Alt+F12</keycap>. Finally, support for multiple screen handling has been improved in '''KWin''' using the new '''Kephal''' library. You can move maximized windows between '''Xinerama''' screens and the addition of external screens is handled correctly.
Employing motion physics, '''KWin''' provides your windows with a more natural feel. New desktop effects like the '''Cube''' desktop switcher and '''Magic Lamp''' minimize animation have been added. Improvements in the existing effects make window management smoother than ever. KWin has seen many performance improvements to enable these effects even on low-end hardware. Elaborate checks have been build in to ensure users with low-end hardware are not presented with an unusable setup. KWin detects the capabilities of the hardware and if needed gracefully scales its effects down. You can take control and disable these checks or change settings like the global animation speed to fine-tune your experience. When your computer is under heavy load, '''KWin''' will automatically disable the compositing temporarily to keep things running smoothly. It will notify you if it does so, and you can re-enable compositing by pressing <keycap>Shift+Alt+F12</keycap>. Finally, support for multiple screen handling has been improved in '''KWin''' using the new '''Kephal''' library. You can move maximized windows between '''Xinerama''' screens and the addition of external screens is handled correctly.


<span class="mw-translate-fuzzy">
More information about what was introduced in KDE SC 4.9 can be found at the following link:
Maiores informações sobre o que se introduziu no KDE SC 4.2 se encontra no seguinte link:
</span>


<span class="mw-translate-fuzzy">
* [http://blog.martin-graesslin.com/blog/2012/09/performance-improvements-in-kwin-4-9-2-and-4-10 kwin improvements]
: [http://nowwhatthe.blogspot.com/2008/12/kwin-screencast.html Video do kwin]
</span>


== Tutoriais ==
== Tutoriais ==
Line 39: Line 31:
===Quer que uma aplicação se inicie sempre com um tamanho e posição específicos===
===Quer que uma aplicação se inicie sempre com um tamanho e posição específicos===


<span class="mw-translate-fuzzy">
[[Image:KWin_Settings_Geometry.png|thumb|400px|center|Size and Position]]
[[Image:KWin_Settings_Geometry.png|thumb|400px|center|Geometry Tab]]
</span>


Às vezes a posição na tela de uma aplicação é vital para sua comodidade, de modo que usa a flexibilidade do '''KWin''' para assegurar você de que sempre esteja onde você queira.
Às vezes a posição na tela de uma aplicação é vital para sua comodidade, de modo que usa a flexibilidade do '''KWin''' para assegurar você de que sempre esteja onde você queira.


<span class="mw-translate-fuzzy">
Position the window where you want it to open, then right-click on the title-bar, choosing <menuchoice>Advanced -> Special Window Settings</menuchoice>.  This will open a settings window, with appropriate entries already made. All you need to do now is select the <menuchoice>Size & Position</menuchoice> tab and check <menuchoice>Position</menuchoice> and <menuchoice>Size</menuchoice>.  OK - you are finished!
Coloque a janela onde queira que se abra, depois clique com o botão direito na barra do título, escolha Avançado -> Preferências especiais da janela</menuchoice>.  Isto abrirá uma janela de configuração, com as entradas necessárias já modificadas. Todo o que precisa fazer agora é selecionar a aba <menuchoice>Geometria</menuchoice> e marcar a <menuchoice>Posição</menuchoice> e o <menuchoice>Tamanho</menuchoice>.  Ok - Você terminou!
</span>


===Script the window manager from the command line===
===Script the window manager from the command line===
Line 57: Line 45:
[[Image:KWin_Configure_Buttons.png|thumb|400px|center|Configurar botões]]
[[Image:KWin_Configure_Buttons.png|thumb|400px|center|Configurar botões]]


Take a look at <menuchoice>System Settings -> Workspace Appearance -> Window Decorations -> Configure Buttons</menuchoice> tab - and enable <menuchoice>Use custom titlebar button positions</menuchoice>. The options open to you may depend on your distribution or theme, and it's clear that there is more to come.
Take a look at <menuchoice>System Settings -> Application Style -> Window Decorations -> Buttons</menuchoice> tab. The options open to you may depend on your distribution or theme, and it's clear that there is more to come.


<span class="mw-translate-fuzzy">
Talvez você queira mais espaço entre o botão de <menuchoice>Fechar</menuchoice> e o par de <menuchoice>Minimizar/Maximizar</menuchoice>?  Você pode acrescentar um <menuchoice>espaçador</menuchoice> - ou dois se desejar.
</span>


Se quiser simplesmente mover as coisas de lugar poderá trabalhar com a barra de títulos - que é a barra azul escuro com um grande KDE escrito nela. Arrasta os ícones e os verá mover na janela de pré-visualização da parte inferior da tela.
Se quiser simplesmente mover as coisas de lugar poderá trabalhar com a barra de títulos - que é a barra azul escuro com um grande KDE escrito nela. Arrasta os ícones e os verá mover na janela de pré-visualização da parte inferior da tela.
Line 89: Line 74:
[[Image:KWin_Small_Decorations.png|thumb|400px|center|Estilos Oxygen e Laptop]]
[[Image:KWin_Small_Decorations.png|thumb|400px|center|Estilos Oxygen e Laptop]]


<menuchoice>System Settings -> Workspace Appearance -> Window Decorations</menuchoice> tab. Two good options there:
<menuchoice>System Settings -> Application Style -> Window Decorations</menuchoice> tab. Two good options there:


[[Image:KWin_Oxygen_Small.png|thumb|300px|center|Configure Oxygen Style]]
[[Image:KWin_Breeze_Small.png|thumb|300px|center|Configure Breeze Style]]


* Using the default style (Oxygen), select <menuchoice>Configure Decoration</menuchoice> and set <menuchoice>Button size</menuchoice> to <menuchoice>Small</menuchoice> and <menuchoice>Border size</menuchoice> to <menuchoice>Tiny</menuchoice>
* Using the default style (Breeze), select <menuchoice>Configure Decoration</menuchoice> and set <menuchoice>Button size</menuchoice> to <menuchoice>Tiny</menuchoice> or <menuchoice>Small</menuchoice>.
* Select the <menuchoice>Laptop</menuchoice>
* Using an other style, with smaller windows decorations.


Both routes will give you slim and functional window titles and borders.
Both routes will give you slim and functional window titles and borders.

Revision as of 14:10, 2 October 2018

Um desktop vazio no KDE 4.5
O gerenciador de janelas seguro e flexível para KDE Plasma, agora com efeitos!.

Descrição das funcionalidades

  • Estável e seguro
  • Composição, efeitos em 3D
  • Configuração fácil
  • Eficiência melhorada

KWin (pronounced "kwin" in one word) is the window manager for the KDE Plasma Desktop. It gives you complete control over your windows, making sure they're not in the way but aid you in your task. It paints the window decoration, the bar on top of every window with (configurable) buttons like close, maximize and minimize. It also handles placing of windows and switching between them.

KWin é compatível com composição, que consiste em utilizar efeitos 3D para manejar suas janelas. Isto pode fazer que o gerenciamento de janelas seja mais suave, fácil, eficiente e natural. Os requisitos de hardware são muito modestos e praticamente todos os sistemas modernos desde 2002 são compatíveis. Ainda há alguns problemas com certos hardware, poderá encontrar mais informação sobre isto no techbase

Características práticas

Clique com o botão direito na decoração de uma janela ou use Preferências do Sistema para acessar à nova e mais singela configuração do KWin. Aqui você pode ativar efeitos para gerenciar suas janelas de forma mais eficiente. Por exemplo, pode usar Apresenta as janelas como efeito para a mudança de janelas. Em lugar de mostrar ícones ou pré-visualizações muito pequenas de suas aplicações, organiza-as em uma rede de forma que possa eleger e adequada rapidamente. Só tem que usar as teclas Alt-Tab e manter pressionada a tecla Alt. Agora pode usar a tabulação para mudar entre as janelas ou ativar usando o mouse. Ao pressionar as teclas Alt-Tab rapidamente se mostrará a janela seguinte na fila, igual anteriormente.

If your X server already supports compositing, switching it on is as easy as opening System Settings, opening the Worskpace Appearance and Behaviour module, choosing Desktop Effects and enabling the checkbox Enable desktop effects at startup. More advanced compositing settings (such as Use VSync, Scale method, Compositing type) are available through the Advanced dialog. Customising the behaviour of the KWin effects means opening the All effects tab, and choosing the plugins you want to use. Please note that only a subset of the plugins works with XRender-based compositing. For the full experience, you need to use OpenGL mode.

Employing motion physics, KWin provides your windows with a more natural feel. New desktop effects like the Cube desktop switcher and Magic Lamp minimize animation have been added. Improvements in the existing effects make window management smoother than ever. KWin has seen many performance improvements to enable these effects even on low-end hardware. Elaborate checks have been build in to ensure users with low-end hardware are not presented with an unusable setup. KWin detects the capabilities of the hardware and if needed gracefully scales its effects down. You can take control and disable these checks or change settings like the global animation speed to fine-tune your experience. When your computer is under heavy load, KWin will automatically disable the compositing temporarily to keep things running smoothly. It will notify you if it does so, and you can re-enable compositing by pressing Shift+Alt+F12. Finally, support for multiple screen handling has been improved in KWin using the new Kephal library. You can move maximized windows between Xinerama screens and the addition of external screens is handled correctly.

More information about what was introduced in KDE SC 4.9 can be found at the following link:

Tutoriais

Quer que uma aplicação se inicie sempre com um tamanho e posição específicos

Size and Position

Às vezes a posição na tela de uma aplicação é vital para sua comodidade, de modo que usa a flexibilidade do KWin para assegurar você de que sempre esteja onde você queira.

Position the window where you want it to open, then right-click on the title-bar, choosing Advanced -> Special Window Settings. This will open a settings window, with appropriate entries already made. All you need to do now is select the Size & Position tab and check Position and Size. OK - you are finished!

Script the window manager from the command line

Use o utilitário WMIface.

Personaliza a posição dos botões da barra de título

Configurar botões

Take a look at System Settings -> Application Style -> Window Decorations -> Buttons tab. The options open to you may depend on your distribution or theme, and it's clear that there is more to come.


Se quiser simplesmente mover as coisas de lugar poderá trabalhar com a barra de títulos - que é a barra azul escuro com um grande KDE escrito nela. Arrasta os ícones e os verá mover na janela de pré-visualização da parte inferior da tela.

You may find that you have other icons available to you. A circle indicates that the button will set that window on all desktops. Another icon that you may find useful is Shade - a toggle between rolled up (titlebar only visible) and normal view. These icons are added by dragging from the text description window onto the speciman title bar - just position them as you want to use them.

Se prefere um desktop clássico, ao estilo do KDE3

Change to traditional desktop

Right-click on your desktop - select Desktop Settings (or Appearance Settings, in some distros). Change the Layout: from Desktop to Folder View. The whole desktop is now a folderview, and another right-click on the desktop will allow you to select FolderView Settings. Set the folderview to the directory you want to use as your desktop.

Abrir aplicações diretamente em um desktop diferente

Utiize o comando:

kstart --desktop 4 kate

Uso com telas pequenas (por exemplo, Netbooks)

Faça a decoração das japenas pequena

Estilos Oxygen e Laptop

System Settings -> Application Style -> Window Decorations tab. Two good options there:

Configure Breeze Style
  • Using the default style (Breeze), select Configure Decoration and set Button size to Tiny or Small.
  • Using an other style, with smaller windows decorations.

Both routes will give you slim and functional window titles and borders.

Change the base fonts

On many netbooks the screen is very clear, so that reading fonts much smaller than you expect is feasible. On Acer Aspire One I find that 8 point is a good base settings.

Make Firefox use smaller fonts

Experimentation with about:config did not bring satisfactory results. Do this instead. Download and install gtk-chtheme from this website. Using that tool you can either set a specific font size, or better still, tell it to use your KDE desktop settings. This will work with Firefox as well as any gtk applications that you use.

KMail's Aggregation options take up too much space

See this FAQ to change it.

KMail's Folder-List Tooltips hide too many folder names

See this FAQ to change their behaviour

Gallery

The Gallery holds many screenshots of past and present desktops and effects.

Troubleshoot Graphics Problems

Curing graphics problems depends on knowing the correct drivers for your graphics card. Learn more about this on the Desktop Effects Performance page.

Defining Window Rules

There is a tutorial on defining your own rules for the behaviour of specific windows on the KWin Rules pages.