[unix] Xfce에서 창 크기를 쉽게 조정할 수있는 방법은 무엇입니까?

xfwm4창 관리자로 Xfce 4.10을 사용하고 있습니다. 테두리를 잡고 창 크기를 조정하는 것이 어렵다는 것을 알게되었습니다. 마우스 커서가 “크기 조정 창”커서로 바뀌는 영역은 너비가 1 또는 2 픽셀 인 것처럼 보이며 계속 오른쪽으로 이동합니다.

해당 지역을 좀 더 넓게 만들려면 어떻게해야합니까? 창 테두리의 모양을 바꾸고 싶지 않고 적중 대상을 조금 더 넓게 만듭니다. (창 메뉴의 크기 조정 옵션에 대해 알고 있지만 1 차원에서만 창 크기를 조정할 수는 없습니다.) 창 관리자 설정 및 조정을 보았지만 설정이 보이지 않습니다. 적용되는 것 같습니다.



답변

Alt + 오른쪽 클릭 + 드래그를 사용하면 매우 쉽습니다.


답변

분명히이 문제는 몇 년 전부터 있었으며 하나의 버그 보고서 가 “수정되지 않음”으로 마감되었습니다. 버그 11808 -Xfwm : 창의 크기 조정 테두리를 늘려서 문제가 다시 열립니다 .

횡령 영역의 너비는 테마에 의해 제어됩니다. 또 다른 우회는 당신이 살 수있는 테마를 찾을 때까지 다른 테마를 시도하는 것입니다. 한 개발자가 다음같이 댓글을 달았습니다 .

그것은 테마 자체 AFAIK에 코딩되어 있습니다. 최소한 MX-15 개발 과정에서 알게 된 것입니다. 그레이 버드 (또는 블루 버드)와 데비안 기반 배포판을 사용하는 경우, mx-greybird-themes 패키지를 살펴볼 수 있습니다. 여기서 mx-greybird-themes 패키지를 사용하면 얼마나 귀찮은 지에 대한 테스터 피드백을 많이받은 후 테두리를 3 픽셀로 확장했습니다. 그것을 잡아. 다른 모양 문제를 해결하는 Stretch 버전을 포함하도록 BTW를 업데이트하려고합니다.

다음은 테마가 하숙인을 설정하는 방법 에 대한 블로그 항목 입니다.

또 다른 게시물 은 테마 정의에서 변경할 사항을 제안합니다 (실제로이 파일은 정의의 일부가 아니라 창 관리자입니다). ~/.gtkrc-2.0

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

더 작은 그립 영역을 제공합니다. 이 숫자를 늘리면 그립 영역이 더 커집니다. 설정을 적용하려면 테마를 다시로드해야합니다.

나는 개인적으로 테마 정의를 변경하려고 시도하지 않았지만 이것은 좋은 출발점처럼 보입니다.


추가하기 위해 편집 :

또 다른 방법 은 Compiz 설치 및 구성과 관련이 있습니다 (기본 패키지는 이미 최신 배포판에있을 수 있음). 버그 보고서의 일부이므로 반복하고 버그 관리자에 의해 “관련되지 않은”것으로 삭제 될 수 있습니다.

 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


답변