-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirefox.sh
29 lines (25 loc) · 1.14 KB
/
firefox.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#Firefox Linux amd64 TR stable için:
wget -O /tmp/firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=tr"
#Firefox Linux amd64 TR Beta için kodu aktif ediniz!!!:
#wget -O /tmp/firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-beta-latest-ssl&os=linux64&lang=tr"
mkdir ~/.local/share/applications
cat >> $HOME/.local/share/applications/Firefox.desktop << EOF
[Desktop Entry]
Version=1.0
Name=Firefox
Comment=İnternet'te Gezinin
GenericName=Web Tarayıcı
Keywords=Internet;WWW;Browser;Web;Explorer
Exec=firefox
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=$HOME/.local/firefox/browser/chrome/icons/default/default128.png
Categories=GNOME;GTK;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/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;application/x-xpinstall;
StartupNotify=true
EOF
tar -xvf /tmp/firefox.tar.bz2 -C ~/.local
sudo apt install libdbus-glib-1-2
sudo ln -s $HOME/.local/firefox/firefox /usr/bin/firefox