お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2009-02-14 10:16:49

soujiro0725
メンバ
登録日: 2009-02-05

ウィンドウの最大化を解除

こんにちわ。
ubuntu最新版
Dell mini 12 + ubuntu Dell バージョン

アプリケーションを起動すると、ウィンドウが勝手に最大化してしまいます。
すべてのアプリケーションに当てはまるようです。実際Emacsを起動し、セッションを保存して、次の起動時にアプリケーション自体は立ち上がりますが、画面サイズだけは最大化です。

どう設定を変えればいいでしょうか?

オフライン

 

#2 2009-02-14 10:51:11

koisan1949
メンバ
From: Hyogo, Japan
登録日: 2007-11-11

Re: ウィンドウの最大化を解除

soujiro0725さん 言われている意味が把握できないのですが、違っていたらごめんなさい。
私なりにかってに推察するに、立ち上げたアブリの表示Windowが画面いっぱいに広がってしまう症状ですか。。。

アプリの最上端のバーの両端を除く箇所をマウスで右クリックしてください。そうすればメニューがでますので、
サイズの変更をすれば補正できると思います。
画面からはみ出して、目的の始点に移動できないときは、Altキーを押しながらマウスでドラッグすればOKです。

オフライン

 

#3 2009-02-14 11:12:51

soujiro0725
メンバ
登録日: 2009-02-05

Re: ウィンドウの最大化を解除

すみません。確認する前に投稿してしまいました。

つまり起動時に画面いっぱいにならないように設定したいのです。

オフライン

 

#4 2009-02-14 11:24:04

mizuno
管理者
From: Kyoto
登録日: 2007-02-28

Re: ウィンドウの最大化を解除

devilspieが有効になっていたりしませんか?
http://gihyo.jp/admin/serial/01/ubuntu-recipe/0037

オフライン

 

#5 2009-02-14 11:40:21

soujiro0725
メンバ
登録日: 2009-02-05

Re: ウィンドウの最大化を解除

ご返事有難うございます。
devilspieはパッケージマネージャで検索してみると、インストールはされていないようです。

ご指摘の記事とは違って、一応タイトルは表示されます。この記事の「最大化」とは右上の時間や日付なども表示されない状態のことでしょうか?自分の場合は一応パネルや時計は表示されます。

オフライン

 

#6 2009-02-14 11:47:22

knxg9001
メンバ
From: Gifu
登録日: 2008-02-27

Re: ウィンドウの最大化を解除

第54回 Dell Inspiron mini 9でDell版Ubuntuを活用する(1)
上記サイトには「Maximus」となっていますが、正解は??(実機持っていないので判りません。)

オフライン

 

#7 2009-02-14 12:20:03

soujiro0725
メンバ
登録日: 2009-02-05

Re: ウィンドウの最大化を解除

一応Maximus のチェックを外したんですが、変わりません(涙)
そもそも、このセッションのBluetoothをチェックを外して、起動しないように設定しているのに、Bluetoothはちゃんと起動してしまうんです。

なぜだか分かりますか?

オフライン

 

#8 2009-02-14 14:04:41

hir0
メンバ
登録日: 2008-09-28

Re: ウィンドウの最大化を解除

ウィンドウの右上のアイコン?はどうでしょうか。
もしかしたら最大化は解除されていて、前回表示時の大きさが再現されているだけかも。。。

もしそうなら、「Maximus」の他にもumpc用のソフトが有りセッションが設定が適用された後Bluetoothを起動させているのかも。ネットブック用Ubuntuのリリース時に最大化とランチャーの他4〜5種類の紹介がありましたけど忘れてしまいました。

はずしていたらゴメンなさい。

オフライン

 

#9 2009-02-14 15:52:05

hito
管理者
登録日: 2007-03-18

Re: ウィンドウの最大化を解除

自動最大化処理については、

・Ubuntu 8.04/8.10のMID/Netbook版ではDevilspie
・8.04のDell版(Mini 9用?)ではMaximus
・9.04でも(いまのところ)Maximus

という混乱した状態になっています。普通ならめんどくさいのでDell版ではなく、素のUbuntu入れた方がいいですとかいう話になるのですが、Mini12は割とクセがあるので普通の8.04・8.10だと画面が出せない罠があります(VESAすら動かない。9.04では直っていて、今の時点でもVESAなら動きます)。

原始的ですが、ログイン直後に端末で
$ ps -fe
あたりを実行して、結果を見せて頂くとなにか分かるかもしれません。

オフライン

 

#10 2009-02-14 17:32:43

soujiro0725
メンバ
登録日: 2009-02-05

Re: ウィンドウの最大化を解除

みなさん、ご返事ありがとうございます。
hitoさん、Linux OS自体色々あるので、これくらいの混乱は驚きません(笑)
processをコピペしました。もちろん長いです(汗)
自分のユーザー名はxxxxに変えてあります。


UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 16:48 ?        00:00:00 /sbin/init
root         2     0  0 16:48 ?        00:00:00 [kthreadd]
root         3     2  0 16:48 ?        00:00:00 [migration/0]
root         4     2  0 16:48 ?        00:00:00 [ksoftirqd/0]
root         5     2  0 16:48 ?        00:00:00 [watchdog/0]
root         6     2  0 16:48 ?        00:00:00 [migration/1]
root         7     2  0 16:48 ?        00:00:00 [ksoftirqd/1]
root         8     2  0 16:48 ?        00:00:00 [watchdog/1]
root         9     2  0 16:48 ?        00:00:00 [events/0]
root        10     2  0 16:48 ?        00:00:00 [events/1]
root        11     2  0 16:48 ?        00:00:00 [khelper]
root        70     2  0 16:48 ?        00:00:00 [kblockd/0]
root        71     2  0 16:48 ?        00:00:00 [kblockd/1]
root        74     2  0 16:48 ?        00:00:00 [kacpid]
root        75     2  0 16:48 ?        00:00:00 [kacpi_notify]
root       145     2  0 16:48 ?        00:00:00 [ata/0]
root       146     2  0 16:48 ?        00:00:00 [ata/1]
root       147     2  0 16:48 ?        00:00:00 [ata_aux]
root       150     2  0 16:48 ?        00:00:00 [ksuspend_usbd]
root       155     2  0 16:48 ?        00:00:00 [khubd]
root       158     2  0 16:48 ?        00:00:00 [kseriod]
root       165     2  0 16:48 ?        00:00:00 [kmmcd]
root       185     2  0 16:48 ?        00:00:00 [kondemand/0]
root       186     2  0 16:48 ?        00:00:00 [kondemand/1]
root       209     2  0 16:48 ?        00:00:00 [pdflush]
root       210     2  0 16:48 ?        00:00:00 [pdflush]
root       211     2  0 16:48 ?        00:00:00 [kswapd0]
root       253     2  0 16:48 ?        00:00:00 [aio/0]
root       254     2  0 16:48 ?        00:00:00 [aio/1]
root       926     2  0 16:48 ?        00:00:00 [scsi_eh_0]
root       928     2  0 16:48 ?        00:00:00 [scsi_eh_1]
root      1026     2  0 16:48 ?        00:00:00 [kmemstick]
root      1030     2  0 16:48 ?        00:00:00 [kxd_card]
root      1500     2  0 16:48 ?        00:00:00 [unionfs_siod/0]
root      1501     2  0 16:48 ?        00:00:00 [unionfs_siod/1]
root      2129     2  0 16:48 ?        00:00:00 [scsi_eh_2]
root      2131     2  0 16:48 ?        00:00:00 [usb-storage]
root      2585     2  0 16:48 ?        00:00:00 [kjournald]
root      2728     1  1 16:48 ?        00:00:01 /sbin/udevd --daemon
root      3198     2  0 16:48 ?        00:00:00 [kpsmoused]
root      4033     1  0 16:48 tty2     00:00:00 /sbin/getty 38400 tty2
root      4240     1  0 16:48 ?        00:00:00 /usr/sbin/acpid -c /etc/acpi/eve
syslog    4325     1  0 16:48 ?        00:00:00 /sbin/syslogd -u syslog
root      4363     1  0 16:48 ?        00:00:00 /bin/dd bs 1 if /proc/kmsg of /v
klog      4366     1  0 16:48 ?        00:00:00 /sbin/klogd -P /var/run/klogd/km
root      4378     1  0 16:48 ?        00:00:00 /usr/sbin/gdm
root      4381  4378  0 16:48 ?        00:00:00 /usr/sbin/gdm
root      4386  4381 12 16:48 tty7     00:00:09 /usr/bin/X :0 -br -audit 0 -auth
109       4391     1  0 16:48 ?        00:00:00 /usr/bin/dbus-daemon --system
avahi     4407     1  0 16:48 ?        00:00:00 avahi-daemon: running [xxxx.lo
avahi     4408  4407  0 16:48 ?        00:00:00 avahi-daemon: chroot helper
canna     4418     1  0 16:48 ?        00:00:00 /usr/sbin/cannaserver -u canna
root      4484     1  0 16:48 ?        00:00:00 /usr/sbin/dhcdbd --system
112       4499     1  1 16:48 ?        00:00:01 /usr/sbin/hald
root      4510     1  0 16:48 ?        00:00:00 /usr/sbin/console-kit-daemon
root      4511  4499  0 16:48 ?        00:00:00 hald-runner
root      4591  4511  0 16:48 ?        00:00:00 hald-addon-input: Listening on /
root      4599  4511  0 16:48 ?        00:00:00 /usr/lib/hal/hald-addon-cpufreq
112       4600  4511  0 16:48 ?        00:00:00 hald-addon-acpi: listening on ac
root      4618  4511  0 16:48 ?        00:00:00 hald-addon-storage: polling /dev
root      4673     1  0 16:48 tty1     00:00:00 /sbin/getty 38400 tty1
xxxx    4685  4381  0 16:48 ?        00:00:00 x-session-manager
xxxx    4754  4685  0 16:48 ?        00:00:00 [scim] <defunct>
xxxx    4757  4685  0 16:48 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/seah
xxxx    4759     1  0 16:48 ?        00:00:00 /usr/lib/scim-1.0/scim-launcher
xxxx    4763     1  2 16:48 ?        00:00:01 /usr/lib/libgconf2-4/gconfd-2 13
xxxx    4765     1  0 16:48 ?        00:00:00 /usr/lib/scim-1.0/scim-helper-ma
xxxx    4766     1  0 16:48 ?        00:00:00 /usr/lib/scim-1.0/scim-panel-gtk
xxxx    4768     1  0 16:48 ?        00:00:00 /usr/lib/scim-1.0/scim-launcher
xxxx    4774  4685  0 16:48 ?        00:00:00 /usr/bin/seahorse-agent --execut
xxxx    4777     1  0 16:48 ?        00:00:00 /usr/bin/gnome-keyring-daemon
xxxx    4780     1  0 16:48 ?        00:00:00 dbus-daemon --fork --print-addre
xxxx    4781  4685  2 16:48 ?        00:00:01 gnome-settings-daemon
xxxx    4789  4781  0 16:48 ?        00:00:00 /usr/bin/pulseaudio --log-target
xxxx    4792  4789  0 16:48 ?        00:00:00 /usr/lib/pulseaudio/pulse/gconf-
xxxx    4805  4685  3 16:48 ?        00:00:01 metacity --sm-client-id 117f0000
xxxx    4806  4685  2 16:48 ?        00:00:01 nautilus --sm-config-prefix /nau
xxxx    4807  4685  5 16:48 ?        00:00:02 gnome-panel --sm-config-prefix /
xxxx    4808     1  0 16:48 ?        00:00:00 gnome-screensaver
xxxx    4810     1  1 16:48 ?        00:00:00 /usr/lib/bonobo-activation/bonob
xxxx    4812  4685  0 16:48 ?        00:00:00 update-notifier --sm-config-pref
xxxx    4815  4685  0 16:49 ?        00:00:00 /usr/lib/evolution/2.22/evolutio
xxxx    4816  4685  3 16:49 ?        00:00:01 gnome-terminal --sm-config-prefi
xxxx    4817  4685  0 16:49 ?        00:00:00 maximus --sm-config-prefix /maxi
xxxx    4818  4685  9 16:49 ?        00:00:04 /usr/bin/emacs-snapshot-gtk --sm
xxxx    4819  4685  0 16:49 ?        00:00:00 bluetooth-applet --singleton
xxxx    4823     1  0 16:49 ?        00:00:00 /usr/lib/gvfs/gvfsd
xxxx    4827     1  0 16:49 ?        00:00:00 /usr/lib/gnome-volume-manager/gn
xxxx    4829  4685  1 16:49 ?        00:00:00 python /usr/share/system-config-
xxxx    4830  4685  2 16:49 ?        00:00:01 nm-applet --sm-disable
xxxx    4831     1  1 16:49 ?        00:00:00 gnome-power-manager --sm-config-
xxxx    4852     1  0 16:49 ?        00:00:00 /usr/lib/gvfs//gvfs-fuse-daemon
root      4918     2  0 16:49 ?        00:00:00 [btaddconn]
root      4919     2  0 16:49 ?        00:00:00 [btdelconn]
root      4938     1  0 16:49 ?        00:00:00 /usr/sbin/hcid -x -s
root      4947  4938  0 16:49 ?        00:00:00 /usr/lib/bluetooth/bluetoothd-se
root      4952     2  0 16:49 ?        00:00:00 [krfcommd]
root      4954  4938  0 16:49 ?        00:00:00 /usr/lib/bluetooth/bluetoothd-se
root      4967  4511  0 16:49 ?        00:00:00 /usr/lib/hal/hald-addon-dell-bac
root      4997     1  0 16:49 ?        00:00:00 /usr/sbin/NetworkManager --pid-f
root      5004     1  0 16:49 ?        00:00:00 /usr/sbin/NetworkManagerDispatch
root      5016     1  0 16:49 ?        00:00:00 /usr/bin/system-tools-backends
xxxx    5033     1  0 16:49 ?        00:00:00 /usr/lib/gvfs/gvfsd-burn --spawn
xxxx    5042     1  1 16:49 ?        00:00:00 /usr/lib/gnome-applets/trashappl
xxxx    5059     1  0 16:49 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spaw
root      5083     1  0 16:49 ?        00:00:00 /usr/sbin/cupsd
xxxx    5133     1  2 16:49 ?        00:00:00 /usr/lib/gnome-applets/mixer_app
xxxx    5136     1  2 16:49 ?        00:00:00 /usr/lib/fast-user-switch-applet
xxxx    5137  4816  0 16:49 ?        00:00:00 gnome-pty-helper
xxxx    5138  4816  0 16:49 pts/0    00:00:00 bash
xxxx    5150     1  0 16:49 ?        00:00:00 scim-bridge
root      5171     1  0 16:49 ?        00:00:00 /sbin/wpa_supplicant -g /var/run
dhcp      5200  4484  0 16:49 ?        00:00:00 /sbin/dhclient -1 -lf /var/lib/d
xxxx    5246     1  9 16:49 ?        00:00:00 /usr/lib/notification-daemon/not
ntp       5322     1  0 16:49 ?        00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.
xxxx    5324  5138  4 16:49 pts/0    00:00:00 ps -fe

オフライン

 

#11 2009-02-14 21:07:15

hito
管理者
登録日: 2007-03-18

Re: ウィンドウの最大化を解除

なんかしっかりmaximusが起動していますね……。

root      4378     1  0 16:48 ?        00:00:00 /usr/sbin/gdm
root      4381  4378  0 16:48 ?        00:00:00 /usr/sbin/gdm
xxxx    4685  4381  0 16:48 ?        00:00:00 x-session-manager
xxxx    4817  4685  0 16:49 ?        00:00:00 maximus --sm-config-prefix /maxi

しかもgnome-sessionの代わりにx-session-manager。
Dell版独自になんか挙動が違うっぽいですね。

そもそも、このセッションのBluetoothをチェックを外して、起動しないように設定しているのに、Bluetoothはちゃんと起動してしまうんです。

ということですので、
・autostart設定が無視されている。
・そもそもautostart設定がgnome-session-managerから反映されていない。
が可能性として考えられそうです。以下を見せて頂いていいでしょうか?

$ ls ~/.config/autostart/*.desktop
$ cat ~/.config/autostart/*.desktop  | egrep 'false|Name='

# と書いていて気づきましたが、もしかしてセッション管理がgnome-session-managerではなくx-session-managerなので、X-GNOME-Autostart-enabledではフラグとして機能しないのではなかろうかorz

オフライン

 

#12 2009-02-14 21:25:28

einundzwanzighundertsechs
メンバ
登録日: 2008-12-28

Re: ウィンドウの最大化を解除

hito による投稿:

なんかしっかりmaximusが起動していますね……。

root      4378     1  0 16:48 ?        00:00:00 /usr/sbin/gdm
root      4381  4378  0 16:48 ?        00:00:00 /usr/sbin/gdm
xxxx    4685  4381  0 16:48 ?        00:00:00 x-session-manager
xxxx    4817  4685  0 16:49 ?        00:00:00 maximus --sm-config-prefix /maxi

しかもgnome-sessionの代わりにx-session-manager。
Dell版独自になんか挙動が違うっぽいですね。

# と書いていて気づきましたが、もしかしてセッション管理がgnome-session-managerではなくx-session-managerなので、X-GNOME-Autostart-enabledではフラグとして機能しないのではなかろうかorz

当方 ubuntu-eee(eeePC900)です.
x-session-manager は alternatives を経由して gnome-session になってます.
ps では x-session-manager と表示されます.
Dell版でもそうではないでしょうか?

$ ls -l /usr/bin/x-session-manager
lrwxrwxrwx 1 root root 35 2008-12-24 01:01 /usr/bin/x-session-manager -> /etc/alternatives/x-session-manager
$ ls -l /etc/alternatives/x-session-manager
lrwxrwxrwx 1 root root 22 2008-12-24 01:01 /etc/alternatives/x-session-manager -> /usr/bin/gnome-session

当方では bluetooth-applet の起動停止は出来てます.

最後の編集者: einundzwanzighundertsechs (2009-02-14 21:45:20)

オフライン

 

#13 2009-02-15 05:08:21

soujiro0725
メンバ
登録日: 2009-02-05

Re: ウィンドウの最大化を解除

hitoさん、以下のとおりです

.config/autostart/bluetooth-applet.desktop
.config/autostart/dell-launcher.desktop
.config/autostart/gnome-at-session.desktop
.config/autostart/maximus-autostart.desktop

Name=Bluetooth Manager
Terminal=false
X-GNOME-Autostart-enabled=false
Name=Dell Desktop Launcher
Terminal=false
NoDisplay=false
X-GNOME-Autostart-enabled=false
Hidden=false
Name=Visual Assistance
Terminal=false
X-GNOME-Autostart-enabled=false
Name=Maximus Window Management
Terminal=false
NoDisplay=false
X-GNOME-Autostart-enabled=false

オフライン

 

#14 2009-03-03 08:55:18

masayuki
メンバ
登録日: 2009-02-16

Re: ウィンドウの最大化を解除

こんにちは、
私に場合、下記サイトの方法で直りました。
http://gihyo.jp/admin/serial/01/ubuntu-recipe/0054?page=2
引用:
Dell版Ubuntuは,一部の例外を除くほとんどのウィンドウを起動したら,即座に最大化します。これは,Maximusというアプリケーションによって行われています。
個人的には必要な機能だと思うものの,これをやめたいという場合もあるでしょう。その方法は,実は次の項で触れる2009年1月上旬のアップグレードによって若干挙動が変わったので,そちらの方法で紹介します。
まず,geditなどのエディタで/etc/xdg/autostart/maximus-autostart.desktopを開いてください。
一番下の行に NoDisplay=true
と書かれているので,これをfalseにします。NoDisplay=false
完了後保存してログアウトし,再ログインしてください。
「システム-設定」の「セッション」を起動すると,「Maximus Window Management」という項目が増えているので,これのチェックを外すと次回ログイン時から最大化しなくなります。

オフライン

 

#15 2009-03-03 10:47:43

hito
管理者
登録日: 2007-03-18

Re: ウィンドウの最大化を解除

masayuki による投稿:

私に場合、下記サイトの方法で直りました。
http://gihyo.jp/admin/serial/01/ubuntu-recipe/0054?page=2

いや、それをしてあるハズ(そういう設定がすでに適用されてる)なのに反映されてないのですよねー。

非常に気は進まないのですが、/etc/xdg/autostart/maximus-autostart.desktopを直接開いてautostartをdisableするとどうなるでしょう?

オフライン

 

#16 2009-03-03 11:58:00

einundzwanzighundertsechs
メンバ
登録日: 2008-12-28

Re: ウィンドウの最大化を解除

体験談です.gnome-panel が自動起動しなくなったことがあり,
gnome-session に --debug オプションを与えて ~/.xsession-errors に詳細なログを吐かせて分析し解決しました.

具体的には,/etc/X11/Xsession.d/99x11-common_start に手を入れました.

コード:

# $Id: 99x11-common_start 305 2005-07-03 18:51:43Z dnusinow $

# This file is sourced by Xsession(5), not executed.

exec $STARTUP

# vim:set ai et sts=2 sw=2 tw=80:

変数STARTUP に x-session-manager (gnome-session へのシンボリックリンク)が埋め込まれます.
ただ,単純に --debug を後ろに付けただけだと,X が起動しなくなります.
/etc/X11/Xsession.d/60seahorse-plugins の処理で,x-session-manager が,
seahorse-agent の --excute オプションの引数として扱われるためでした.
一旦 99x11-common_start で,echo $STARTUP >&2 して,STARTUP の内容を .xsession-errors に記録し,
編集して STARTUP に代入しました.

コード:

# $Id: 99x11-common_start 305 2005-07-03 18:51:43Z dnusinow $

# This file is sourced by Xsession(5), not executed.
STARTUP="編集した起動コマンド"
exec $STARTUP

# vim:set ai et sts=2 sw=2 tw=80:

といった具合です.単純に STARTUP="gnome-session --debug" でも良かったかもと思っています.
/etc/X11/Xsession.d のスクリプトが Dell 版ではどうなっているのかは???

オフライン

 

#17 2010-03-08 20:12:34

daydreamer
新しいメンバ
登録日: 2010-02-11

Re: ウィンドウの最大化を解除

DELL Dimension9150にUbuntu9.10をインストールしています。私もウィンドウ強制最大化(自動最大化?)に悩まされました。
masayukiさんが紹介なさっている方法で治りました。ただ、メニュー名がちょっと違っていました。

9.10の場合、
「システム-設定」の「セッション」ではなく

「システム-設定」の「自動起動するアプリ」を起動します。そして「Maximus Window Management」という項目のチェックを外します。

 ログアウトして再起動すると、ウィンドウは自動最大化されなくなっていました。

 以上です。

 以上です。お試しください。

オフライン

 

Board footer

Powered by FluxBB