Como posso facilitar o redimensionamento do Windows no Xfce?

24

Estou usando o Xfce 4.10 com xfwm4 como meu gerenciador de janelas. Eu estou achando difícil para redimensionar o Windows, agarrando a fronteira. A região onde o cursor do mouse muda para o cursor "redimensionar janela" parece ter apenas 1 ou 2 pixels de largura, e eu continuo avançando por ele.

Como posso tornar essa região um pouco mais ampla? Eu não quero mudar a aparência das bordas das janelas, apenas faça o alvo de sucesso um pouco mais largo. (Eu sei sobre a opção Redimensionar no menu da janela, mas isso não permite redimensionar uma janela em apenas uma dimensão.) Eu olhei nas configurações do gerenciador de janelas & ajustes, mas não vejo nenhuma configuração que parece ser aplicada.

    
por cjm 19.09.2014 / 17:46

2 respostas

22

É muito fácil, você pode usar Alt + clicar com o botão direito + arrastar.

    
por 14.11.2015 / 02:32
10

Aparentemente, esse problema existe há anos e um relatório de erros foi fechado "won ' t fix ". O problema foi reaberto com Bug 11808 - Xfwm: Aumentar a borda de redimensionamento da janela .

A largura da área de captura é controlada pelo tema. Outra evasão é tentar temas diferentes até encontrar um com o qual você possa viver. Um desenvolvedor tem comentado :

That is coded in the theme itself AFAIK, at least that's what we found out during MX-15 development. If you are using greybird (or bluebird) and a Debian-based distro, then you can take a look at our mx-greybird-themes package, where we expanded the border to 3 pixels after much tester feedback about how annoying it was to try to grab it. (We are about to update that BTW to include a Stretch version that fixes other appearance problems.)

Aqui está uma entrada de blog sobre como os temas definem as fronteiras .

Outra postagem sugere que algo mude na definição do tema (e, na verdade, esse arquivo não é parte de uma definição, mas o gerenciador de janelas), ~/.gtkrc-2.0

style "default-style"
{
        GtkWindow::resize-grip-height = 4
        GtkWindow::resize-grip-width = 4
}
class "GtkWidget" style "default-style"

gives me a smaller grip area. Increasing that number should give you a larger grip area. You will need to reload the theme for the setting to take effect.

Eu pessoalmente não tentei alterar a definição do tema, mas isso parece ser um bom ponto de partida.

Editado para adicionar:

Outra abordagem envolve a instalação e configuração do Compiz (o pacote básico pode já estar presente nos últimos distribuições). Repito isso como parte de um relatório de bug e pode ser excluído como "não relevante" pelo gerenciador de bugs.

 tm.selsingen 2017-02-11 19:40:45 CET 


This may be a rough solution not suited for those needing xfwm4 because 
of limited system resources. But you can change the default window 
manager to compiz. This solved the issue for me and I can now enjoy the 
xcfe simplicity combined with generous grabbing areas. 

https://wiki.ubuntuusers.de/Compiz/ 

Enter in terminal: 

"sudo apt-get install compiz compiz-gnome compiz-plugins-extra" 

"sudo apt-get install compizconfig-settings-manager" 

"ccsm" _______________________ 

In CCSM you need to enable OpenGL, Composite, GNOME Compatibility in 
'General' Tab. Within the 'General Options' menu, you can set the focus 
steal prevention to zero, so that new windows are placed always on top, 
and choose your workplaces 

In 'Effects', enable Fading Windows, Window decorations, and if you like 
Animations 

In 'Other', you can enable Window previews (may need png) 

In Tools enable Compiz Library Toolbox, D-Bus, Mousepolling (gets 
activated if you choose Window previews), Session Management and 
Workarounds 

Now in 'Window Management', you need to choose Application Switcher, 
Move Windows, Place Windows, Scale Windows Put and Window Rules. 

Ring, Static & Shift Switcher are more advanced Application Switchers 
you can configure as you like. 

In the CCSM Settings you need to enable Gsettings Configuration Backend. 

________________________ 

Now Compiz is configured, make a Backup of 
"/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml" 
and enter 

"xfconf-query -c xfce4-session -p /sessions/Failsafe/Client0_Command -t 
string -sa compiz" 

in terminal to configure xcfe to use compiz as the default window 
manager. ________________________ 

To spare you from needing GNOME Tweak to set your theme now, you can use 

"gsettings set org.gnome.metacity theme insertyourthemehere" to change 
the window decoration theme 

and the default xcfe theme settings to change the rest of the UI. 

I experienced that my minimize/maximize Buttons were gone after that. 

you can use "gsettings set org.gnome.desktop.wm.preferences 
button-layout ':minimize,maximize,close,'" to restore them. 

And that's it. 

Comment 15 tm.selsingen 2017-02-12 09:11:22 CET 

I don't know how to edit posts, but I realized the desktop icon texts 
get displaced if you follow the steps. This is the fix: 

xfconf-query -c xfce4-desktop -p /desktop-icons/center-text -n -t bool 
-s false 
    
por 12.05.2017 / 01:50