*gdm の「セッション」で custom を選べるようにしてほしい [#s48607b5]

メッセージ

gdm の「セッション」に表示されるメニューに以前は custom がありましたが,今はインストールされているデスクトップ環境しかありません (xfce4 と gnome のみインストールした場合) (/usr/share/xsessions 以下にあるファイルの分).

ここに custom (~/.xsession があればそれを実行) を追加しませんか? ~/.xsession は ~/.xinitrc へのリンクになっているので,adduser 時に選択した WindowManager で起動します.

custom は &ref(): File not found: "custom.desktop" at page "不具合報告/4.7/4"; を /usr/share/xsessions に置けば,表示されます.

ただし,~/.xsession がない場合,/etc/gdm/Xsession 内で "default" を選択したのと同じになり,

if [ "x$command" = "xdefault" ] ; then
  if [ -x "$HOME/.Xclients" ]; then
    command="$HOME/.Xclients"
  elif [ -x /etc/X11/xinit/Xclients ]; then
    command="/etc/X11/xinit/Xclients"
  elif [ -x /etc/X11/Xclients ]; then
    command="/etc/X11/Xclients"
  else
    if [ -n "$zenity" ] ; then
        disptext=`gettextfunc "System has no Xclients file, so starting a failsafe xterm session. 
                  Windows will have focus only if the mouse pointer is above them. 
                  To get out of this mode type 'exit' in the window."`
     "$zenity" --info --text "$disptext"
    else
      echo "$0: Cannot find Xclients"
    fi
    exec xterm -geometry 80x24+0+0
  fi
fi

辺りを見る限り,Xclients や .Xclients 等のファイルが実行されますが,Plamo ではコレがなさそうなので,"Xclients ファイルがないぜ" と言われて,xterm がポツリと起動するだけになってしまいます.

gnome + KDE 環境をインストールしている場合にどうなるかは未確認です.




トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2021-12-17 (金) 16:35:44