1
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 3 years have passed since last update.

【OS】/centos7/ firefox の情報

1
Last updated at Posted at 2021-06-12

※flatpakからインストールして実行した方が動作が安定してそうです。
↓firefoxをインストールして実行する。
https://qiita.com/thi-mo/items/2d00ba9d11beebcad015
バージョンは89.0 で日本語にもなる、素晴らしい

→日本語が打てなかったが

yum install ibus-mozc langpacks-ja

した後 日本語(Mozc)に切り替えて日本語が入力できるようになった。

firefoxの場所

基本的なfirefoxの格納フォルダ

/usr/lib64/firefox

→ここは結構色んな場所が設定されている可能性がある。

コマンドから実行

 cd /usr/lib64/firefox
./firefox

自分の場合は(/usr/bin/)にシンボリックリンクをはっている

sudo ln -s /usr/lib64/firefox /usr/bin/firefox

※特に理由はない

更新作業(非推奨)

最新バージョンを取得した後に解凍
ブラウザからDownloadした後は、~/Downloads に保存されている

この例ではバージョン78.11
tar -jxvf firefox-78.11.0esr.tar.bz2 
古いフォルダは別の場所に置きます(バックアップ)
sudo mv /usr/lib64/firefox /usr/lib64/firefox.old

ダウンロードしたファイルを規定の場所に置き換えます。

sudo mv ~/Downloads/firefox /usr/lib64/firefox

GUIに関して

現状私が利用しているのはGNOMEの環境
・変更するだけだとGNOMEのランチャーから起動しない
→デスクトップエントリを設定してあげる必要があります。

デスクトップエントリ(全ユーザー共通)
/usr/share/applications

/usr/share/applications配下にvim等で新規作成する

firefox.desktop(flatpak)
[Desktop Entry]
Name=Firefox
Exec=/usr/bin/flatpak run org.mozilla.firefox
Terminal=true
X-MultipleArgs=false
Type=Application
Icon=/usr/bin/firefox/browser/chrome/icons/default/default128.png
StartupWMClass=Firefox
StartupNotify=true
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;
Categories=GNOME;GTK;Network;WebBrowser;
firefox.desktop(直接インストールした場合)
[Desktop Entry]
Name=Firefox
Exec=/usr/bin/firefox/firefox
Terminal=true
X-MultipleArgs=false
Type=Application
Icon=/usr/bin/firefox/browser/chrome/icons/default/default128.png
StartupWMClass=Firefox
StartupNotify=true
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;
Categories=GNOME;GTK;Network;WebBrowser;

※アイコンの場所はバージョンによって結構異なる
※ターミナルの表示がうっとうしい場合はTerminal=false

バグに関して

centosに直接インストールした場合
パスワード入力時に点滅して入力ができなくなるバグあり。

確認状況

バグ発生環境
gnome-shell --version
>> GNOME Shell 3.28.3

→flatpakからインストールして実行した場合、このバグは回避できた。
トラブルが発生した場合は、報告して行きます。

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