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 9
用Xterm執行,一直出現這錯誤但看了locale也沒什麼問題
/etc/default/locale – on Ubuntu/Debian
/etc/locale.conf – on CentOS/RHEL
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
看起來應該是沒什麼問題...吧弄了一個下午...放棄,
趁這個機會,換個terminal用用也不錯
查了一下,選了terminator
因為這個可以像vim亂切視窗也可以開tab XD
Mint
先把原來的ctrl+alt+t開啟gnome-termianl換成開啟terminator
ment -> system setting -> Hardware -> keyboard
Shortcuts -> Launchers -> "Launch terminal"
下方有個keyboard bindings -> 將 ctrl+alt+t 用 backspace 來關閉
再下方有個Add custom shortcut -> 分別壓下 ctrl+alt+t 熱鍵如果有重覆的會不能用
Ubuntu
sudo update-alternatives --config x-terminal-emulator
terminator 設定:
# 字型:
Global -> Font -> Jamrul Normal 12
# 關閉red bar:
edit ~/.config/terminator/config
[profiles]
[[default]]
show_titlebar = false
terminator熱鍵:
# 開新的視窗
Ctrl + Shift + t 開新的 Tab
# 水平切割
Ctrl + Shift + o 水平開 Tab
# 垂直切割
Ctrl + Shift + e 垂直開 Tab
# next_tab
Ctrl+Page Down/Up
# switch window
Alt + direction
Copy from Solarized terminator colors
[global_config]
title_use_system_font = False
title_font = Jamrul Medium Semi-Expanded 12
[keybindings]
[profiles]
[[default]]
cursor_color = "#aaaaaa"
show_titlebar = False
scrollback_lines = 5000
copy_on_selection = True
[[solarized-dark]]
background_color = "#002b36"
cursor_color = "#eee8d5"
foreground_color = "#eee8d5"
show_titlebar = False
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#586e75:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
copy_on_selection = True
[[solarized-light]]
background_color = "#eee8d5"
cursor_color = "#002b36"
foreground_color = "#002b36"
show_titlebar = False
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
copy_on_selection = True
[layouts]
[[default]]
[[[child1]]]
parent = window0
profile = solarized-dark
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
沒有留言:
張貼留言