web-dev-qa-db-ja.com

Xfceでウィンドウのサイズを簡単に変更するにはどうすればよいですか?

Xfce 4.10をxfwm4をウィンドウマネージャーとして使用しています。境界線をつかんでウィンドウのサイズを変更するのが難しいと思います。マウスカーソルが「ウィンドウのサイズ変更」カーソルに変化する領域は、幅が1ピクセルまたは2ピクセルしかないようです。

その領域を少し広くするにはどうすればよいですか?ウィンドウの境界線の外観を変更するのではなく、ヒットターゲットを少し広くします。 (ウィンドウメニューの[サイズ変更]オプションについては知っていますが、ウィンドウのサイズを1次元でしか変更できません。)ウィンドウマネージャーの設定と微調整を調べましたが、その設定は表示されません。適用するようです。

30
cjm

とても簡単です。Alt+右クリック+ドラッグを使用できます。

27
Joel

どうやらこの問題は何年も前からあり、1つ バグレポート は「修正されません」で解決されました。この問題はBug 11808 -Xfwm:ウィンドウのサイズ変更境界線を拡大して再オープンされました

グラブ領域の幅はテーマによって制御されます。もう1つの回避策は、共存できるテーマが見つかるまで、さまざまなテーマを試すことです。 1人の開発者が コメント を持っています:

これは、AFAIKというテーマ自体にコード化されています。少なくとも、MX-15の開発中にそれが判明しました。グレイバード(またはブルーバード)とDebianベースのディストリビューションを使用している場合は、mx-greybird-themesパッケージを確認できます。このパッケージでは、テストするのがいかに面倒かについてテスターから多くのフィードバックを受けて、境界線を3ピクセルに拡大しています。それをつかむために。 (このBTWを更新して、他の外観の問題を修正するStretchバージョンを含めようとしています。)

これは テーマが境界線を設定する方法 に関するブログエントリです。

別の post は、テーマ定義の変更を提案します(実際、このファイルは定義の一部ではなく、ウィンドウマネージャーです)、~/.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 
13
HiTechHiTouch