0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Proxmox4βにGnome3をインストール

Last updated at Posted at 2015-07-21

itamaeのレシピ

recipe.rb
%w(tig mutt vim screen xdotool xbindkeys).each do |pkg|
  package pkg do
    action :install
  end
end

%w(gnome-session gnome-terminal).each do |pkg|
  package pkg do
    action :install
  end
end

%w(task-japanese-gnome-desktop iceweasel-l10n-ja fonts-takao fcitx-mozc).each
do |pkg|
  package pkg do
    action :install
  end
end

(何分も待っても終わらないことがあったため、sshして手動で入れた。)

Ansibleで書くとこう

localhost.yml
- hosts: 127.0.0.1
  connection: local
  sudo: yes

  tasks:
    - name: Utilities
      apt: pkg={{ item }} state=present
      with_items:
        - curl
        - mutt
        - python-pip
        - screen
        - tig
        - vim

    - name: X
      apt: pkg={{ item }} state=present
      with_items:
        - gnome-session
        - gnome-terminal
        - xbindkeys
        - xdotool

    - name: Japanese
      apt: pkg={{ item }} state=present
      with_items:
        - fcitx-mozc
        - fonts-takao
        - iceweasel-l10n-ja
        - task-japanese-desktop

言語を日本語に設定

  • user -> language -> Japanese
  • fcitx-configtool -> Input MethodにてMozcを追加、それ以外を削除

ハマった点

$ gnome-terminal
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 8

起動しない。

dpkg-reconfigure locales
  • ja_JP.UTF-8 をチェック

これで起動するようになった。

Cinnamonに切り替える

recipe.rb
%w(cinnamon-desktop-environment cinnamon-l10n cinnamon-session).each
do |pkg|
  package pkg do
    action :install
  end
end
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?