0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ubuntu系で、ホームディレクトリ内のフォルダ名を日本語から英語に変更する方法

Last updated at Posted at 2025-03-25

ubuntuとlinuxmint22.1で行いました

これは原則 自分のための記憶メモです

Ubuntu系で、ホームディレクトリ内のフォルダ名(「ドキュメント」「ミュージック」など)を日本語から英語に変更する方法は以下の通りです。

方法1:ターミナルでコマンドを実行する

  1. ターミナルを開くCtrl + Alt + T
  2. 以下のコマンドを実行して、言語パッケージをインストール:
    sudo apt install xdg-user-dirs-gtk
    
  3. 以下のコマンドで言語を英語に設定:
    export LANG=en_US
    
  4. フォルダ名を更新:
    xdg-user-dirs-gtk-update
    
  5. 確認ダイアログが表示されるので、「古い名前を保持」ではなく「新しい名前に変更」を選択。

注意点

  • バックアップを推奨。
  • ターミナルでLANG=en_US.UTF-8を設定しても同様の効果があります。
  • 変更後、ターミナルでls ~を実行し、フォルダ名が英語(Documents, Musicなど)になっているか確認できます。

これでホームディレクトリのフォルダ名が英語表記になります。他のシステム言語は日本語のまま維持することも可能。

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?