x-www-browser bash command doesnt work in puppy
x-www-browser bash command doesnt work in puppy
Using this command in the console you can display a url in the current browser (firefox or google)
This works fine on ubuntu - the syntax i use in a bash script is
x-www-browser $url
On puppy however I get "# bash: x-www-browser: command not found"
I'm using Wary 5.3
Any suggestions?
This works fine on ubuntu - the syntax i use in a bash script is
x-www-browser $url
On puppy however I get "# bash: x-www-browser: command not found"
I'm using Wary 5.3
Any suggestions?
install Lynx (the text browser) then make a symlink in /usr/bin to it and name it www-browser
you can install Lynx with the Puppy Package Manager ...........that might do it.
you can install Lynx with the Puppy Package Manager ...........that might do it.
Lynx doesn't display images, so isnt suitable
I'm using Palemoon
xdg-open will display a jpg file in a url but that is about all it does (and it goes into Seamonkey)
It wont display images like this https://tinyurl.com/yc9uwg6u
I'm using Palemoon
xdg-open will display a jpg file in a url but that is about all it does (and it goes into Seamonkey)
It wont display images like this https://tinyurl.com/yc9uwg6u
Hello schober.
This is the line that I have in my /root/.Xdefaults file:
It launches the full browser I have defined in /usr/local/bin/defaultbrowser when I
click, in console, on a URL.
Had I wanted a less cumbersome and quicker browser such as lynks or links2,
I could have specified
This is my file /usr/local/bin/defaulthtmlviewer:
IHTH
This is the line that I have in my /root/.Xdefaults file:
Code: Select all
urxvt.url-launcher: defaultbrowser
click, in console, on a URL.
Had I wanted a less cumbersome and quicker browser such as lynks or links2,
I could have specified
Code: Select all
urxvt.url-launcher: defaulthtmlviewer
Code: Select all
#!/bin/sh
# defaulthtmlviewer
####
exec links2 -g "$@" 2>/dev/null
# xlinks2, in some packages or compilations
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Adding "urxvt.url-launcher: defaultbrowser" didn't change anything
This command "xdg-open http://www.murga-linux.com/puppy/index.php" works but fails with the url https://tinyurl.com/yc9uwg6u points to
Wheras " x-www-browser http://www.murga-linux.com/puppy/index.php" doesn't work (bash: x-www-browser: command not found)
This command is in ubuntu but not available in the standard version of wary as far as I cansee
This command "xdg-open http://www.murga-linux.com/puppy/index.php" works but fails with the url https://tinyurl.com/yc9uwg6u points to
Wheras " x-www-browser http://www.murga-linux.com/puppy/index.php" doesn't work (bash: x-www-browser: command not found)
This command is in ubuntu but not available in the standard version of wary as far as I cansee
Try:
Code: Select all
defaultbrowser $url
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Have you tried just creating a symlink in /usr/bin to whatever browser you want it to trigger and renaming it x-www-browser (or www-browser, try both).rockedge wrote:install Lynx (the text browser) then make a symlink in /usr/bin to it and name it www-browser
you can install Lynx with the Puppy Package Manager ...........that might do it.
Also, in Debian, both of those links are in /etc/alternatives and then the x-www-browser is linked to /usr/bin from there. You might look there and see if there is anything.
If you don't figure it out, I'll fire up a more recent puppy and see how it is set up there.
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
That worked just now with his tinyurl.bigpup wrote:Try:Code: Select all
defaultbrowser $url
Musher0's Xenial, Iron browser.
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P
Hi schober.
Replies interspersed.
.Xresources or .Xdefaults, you need to open a terminal and typeor(as the case may be).
Otherwise, you have to recycle X to get your edits to these files recognized.
we have two equivalents: the commands < defaultbrowser > (for a full-blown
browser) or < defaulthtmlviewer > (for smaller browsers, such as dillo, links2,
netsurf, etc.). In Puppy, forget < x-www-browser >; use < defaultbrowser > or
< defaulthtmlviewer >.
do feed on the Ubuntu repos for apps. However, PuppyLinux has invented
a lot of its own solutions. Surprising as that may sound, PuppyLinux is NOT a
carbon copy of any other distro,
IHTH.
Replies interspersed.
My bad. Please forgive me. I forgot to mention that every time you editschober wrote:Adding "urxvt.url-launcher: defaultbrowser" didn't change anything
.Xresources or .Xdefaults, you need to open a terminal and type
Code: Select all
xrdb ~/.Xresources
Code: Select all
xrdb ~/.Xdefaults
Otherwise, you have to recycle X to get your edits to these files recognized.
Not Puppy's fault! If you remember the full URL, use that?schober wrote:This command "xdg-open http://www.murga-linux.com/puppy/index.php" works but fails with the url https://tinyurl.com/yc9uwg6u points to.
No. That command does not exist on Puppy, don't look for it. As I said above,schober wrote:Wheras " x-www-browser http://www.murga-linux.com/puppy/index.php" doesn't work (bash: x-www-browser: command not found)
we have two equivalents: the commands < defaultbrowser > (for a full-blown
browser) or < defaulthtmlviewer > (for smaller browsers, such as dillo, links2,
netsurf, etc.). In Puppy, forget < x-www-browser >; use < defaultbrowser > or
< defaulthtmlviewer >.
The Ubuntu-derived "breeds" of Puppy such as tahrPup, precisePup and xenialPupschober wrote:This command is in ubuntu but not available in the standard version of wary as far as I can see
do feed on the Ubuntu repos for apps. However, PuppyLinux has invented
a lot of its own solutions. Surprising as that may sound, PuppyLinux is NOT a
carbon copy of any other distro,
IHTH.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Well well, the line defaultbrowser https://tinyurl.com/yc9uwg6u worked!
Many thanks to all who took an interest
Changing the default browser from Sea monkey to Palemoon is a big improvement - image loads faster
schober
Many thanks to all who took an interest
Changing the default browser from Sea monkey to Palemoon is a big improvement - image loads faster
schober