pawRoot wrote:I can use it fine with dmenu and rofi
Head_on_a_Stick wrote:pawRoot wrote:I can use it fine with dmenu and rofi
Only because your script places the FF binary in /opt then sets the x-terminal-emulator alternative to that.
Setting x-terminal-emulator to ~/bin/firefox is not really sensible, even in a single-user system
#!/usr/bin/env sh
### Latest Firefox 64bit en-US !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# For other operating systems replace 'os=win' with:
# Windows 64bit os=win64
# OS X os=osx
# Linux x86_64 os=linux64
# Linux i686 os=linux
mkdir -p ~/bin/
wget -O firefox.tar.bz2 https://download.mozilla.org/\?product\=firefox-latest\&os\=linux64\&lang\=en-US
tar xvf firefox.tar.bz2
rsync -a firefox ~/bin/
sudo ln -s ~/bin/firefox/firefox /usr/local/bin/
sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser ~/bin/firefox/firefox 200
sudo update-alternatives --set x-www-browser ~/bin/firefox/firefox
rm firefox.tar.bz2
rm -rf firefox
sudo rm -f /usr/share/applications/firefox.desktop
sudo touch /usr/share/applications/firefox.desktop
sudo sh -c "cat >> /usr/share/applications/firefox.desktop" << 'EoT'
[Desktop Entry]
Name=Firefox
Comment=Web Browser
GenericName=Web Browser
X-GNOME-FullName=Firefox
Exec=~/bin/firefox/firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=~/bin/firefox/browser/icons/mozicon128.png
Categories=Network;WebBrowser;
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;
StartupWMClass=Firefox
StartupNotify=true
EoT
chmod +x file.sh
./file.sh
jppattison wrote:I have tried to use every piece of advice that I can understand .... I have downloaded Firefox 5 times, trying each way that a person has suggested, nothing! I guess I should have left well enough alone!I have also tried to remove Firefox ESR, and that's probably where I made my biggest mistake. Now I can no longer launch Firefox, Firefox-ESR from the menus OR from the Application Finder - I get a little red sign instead of the Internet. I was getting "Failed to execute default Web Browser, input/output error", but now that Konqueror has taken over, I don't even get that anymore. The only advice I didn't take (other than bash scripts) was th MX repos, since H-O-A-S linked to "breaking your debian" when I suggested putting 'testing' repos into my sources.list. I figured if it wasn't from a Debian repo, it wasn't a good idea!
I think I've completely screwed up my install, so I'll end up having to re-install. I'll just chalk it up to a learning experience. Like I said, I think that when I tried removing all traces of Firefox ESR, that started me on the fast trip to the bottom.
BTW, Konqueror is Dog-Slow, and I think it is still in the dark ages as far as browsers go, but at least I had a way to get on the net! When I re-install, I'll find a better back-up brewser, that's for sure!![]()
THANKS TO ALL who have tried to help me on this, it was much appreciated. I'll be back when I re-install - either tonite or tomorrow, I think.
pawRoot wrote:Ok, let me know how it went for you
usermod -a -G sudo <my username>
adduser USERNAME sudo
stevepusser wrote:If you want to expand your mind even more, and use another really quick browser that gets better HTML 5 compliance scores than Firefox, get the Qupzilla 2.2.5 AppImage from qupzilla.com, make it executable (another thing to learn to do), and click it to launch it. It will ask to add itself to the menu.
jppattison wrote:I have also tried to remove Firefox ESR
sudo apt purge firefox-esr
Users browsing this forum: No registered users and 5 guests