Re: [Bug-gnuzilla] Can't get IceCat in $PATH or set as default browser.
OK, let's see if this works out. I have been in digest mode and as no digest arrived, I couldn't reply to your mail. Firstly, thanks for the info. I set the full path in my i3 config and it is working now. However, I have been doing some searching and tweaking, which has given me some interesting results: 1) I still can't get IceCat in my Dmenu. 2) Running icecat from the command line gives me this: $ icecat Could not find the GNU runtime. 3) I found that mimeopen can set defaults for a system. Mine is Devuan, no systemd Debian, so I installed "libfile-mimeinfo-perl". Then I ran mimeopen, which told me that "WARNING: You don't seem to have any mimeinfo.cache files. Try running the update-desktop-database command. If you don't have this command you should install the desktop-file-utils package." 4) With this done, I ran "$ sudo update-desktop-database" 5) Lastly, I ran: "$ mimeopen -d $file.html Please choose a default application for files of type text/html 1) NetSurf Web Browser (netsurf-gtk) 2) Geany (geany) 3) Icecat Web Browser (icecat) 4) Vivaldi (vivaldi-stable) 5) Xfview (xfv) 6) Xfwrite (xfw) 7) LibreOffice Writer (libreoffice-writer) 8) Vim (vim) 9) Leafpad (leafpad) 10) Other... I chose #3. So that works fine as well. Now when I run "icecat" in the terminal, I get: "$ icecat bash: /usr/bin/icecat: No such file or directory" Weird and still no "icecat" in Dmenu either, I don't understand why IceCat drives the system crazy like this... -- http://gnuzilla.gnu.org
Re: [Bug-gnuzilla] Can't get IceCat in $PATH or set as default browser.
off-hand, from what you type, it seems that your keybinding is not working because the program is not actually in your PATH - your PATH has /home/user/bin - i suspect if you `ls /home/user/bin` you do not see an executable named 'icecat' - if you did, that would probably be incorrect anyways, because the icecat program needs access to entire directory tree that it ships with - so you probably have that directory under your /home/user/bin which mean you need to change your keybinding to include the directory name - note that there is no need for icecat to be in the PATH if the only way you will ever launch it is with that keybinding - just set the keybinding to /home/user/bin/icecat-52.1.0.en-US.linux-x86_64/icecat or whatever is the appropriate path - also note the the %U plays no role for a keybinding - that probably came from a .desktop file where it is a placeholder for a URL parameter the 'default' GUI link click-handler is trickier - i am not certain how it works myself - some GUI programs on my system open links in iceweasel and others in netsurf but ive never bothered to investigate why - i suspect some program refer to whatever is in /etc/alternatives/ as with by `update-alternatives` and others may pass the link to `xdg-open` signature.asc Description: OpenPGP digital signature -- http://gnuzilla.gnu.org
[Bug-gnuzilla] Can't get IceCat in $PATH or set as default browser.
I really like IceCat, but I can't seem to get IceCat in $PATH on my system, nor can I get the system to recognize IceCat as default browser. It is as if IceCat doesn't exist. I have IceCat version 52.3.0 in /home/username/bin. My system is a minimal vanilla install Devuan Jessie system with i3wm as the window manager. I have the following line in my config file "bindsym $mod+b exec icecat %u". I have set IceCat as default browser as prompted in the IceCat dialog box. I have run: $ echo $PATH /home/username/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/username/bin I have also tried: # update-alternatives --config gnome-www-browser There is only one alternative in link group gnome-www-browser (providing /usr/bin/gnome-www-browser): /usr/bin/vivaldi-stable Nothing to configure. Any other ideas or advice? -- http://gnuzilla.gnu.org