2015/11/15

Ubuntu-д Firefox Developer Edition-г Firefox-оос тусад нь суулгах



  1. https://www.mozilla.org/en-US/firefox/developer/ сайтаас татаж авна.Файлаа задална.firefox гэсэн хавтас гарч ирнэ. /Миний хувьд Downloads хавтаст/
  2. sudo mv ~/Downloads/firefox /opt/firefox_dev
  3. Эрх өгнө
    1. sudo chown -R root:sudo /opt/firefox_dev
    2. sudo chmod -R g+rwX /opt/firefox_dev
  4. ~/.local/share/applications/firefox_dev.desktop зам дээр файл үүсгээд дараах текстийг хуулж тавина:

    [Desktop Entry]
    Encoding=UTF-8
    Version=1.0
    Type=Application
    Name=Firefox Developer Edition
    Icon=/opt/firefox_dev/browser/icons/mozicon128.png
    Path=/opt/firefox_dev
    Exec=/opt/firefox_dev/firefox --class="firefox-developer" -P dev-edition-default %u
    StartupNotify=true
    StartupWMClass=firefox-developer
    X-UnityGenerated=false
    Actions=NewWindow;NewPrivateWindow;
    Categories=GNOME;GTK;Network;WebBrowser;
    Terminal=false
    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;

    [Desktop Action NewWindow]
    Name=Open a New Window
    Path=/opt/firefox_dev/firefox
    Exec=/opt/firefox_dev/firefox -new-window --class="firefox-developer" -P dev-edition-default
    OnlyShowIn=Unity;

    [Desktop Action NewPrivateWindow]
    Name=Open a New Private Window
    Path=/opt/firefox_dev/firefox
    Exec=/opt/firefox_dev/firefox -private-window --class="firefox-developer"
    OnlyShowIn=Unity;

No comments:

Post a Comment