LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-16-2015, 02:44 AM   #1
james.brown
Member
 
Registered: Feb 2015
Posts: 40

Rep: Reputation: Disabled
What is debian sensible browser?


What is debian sensible browser?

I have only one browser (google chrome) in my xubuntu 14.04 system.

Why i see alert with "Debian sensible browser" what is this?
 
Old 02-16-2015, 02:54 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,654

Rep: Reputation: 3162Reputation: 3162Reputation: 3162Reputation: 3162Reputation: 3162Reputation: 3162Reputation: 3162Reputation: 3162Reputation: 3162Reputation: 3162Reputation: 3162
probably this helps: https://lists.debian.org/debian-user.../msg02024.html
 
Old 02-16-2015, 04:14 AM   #3
james.brown
Member
 
Registered: Feb 2015
Posts: 40

Original Poster
Rep: Reputation: Disabled
How i can full remove this "Debian sensible browser"?
 
Old 02-16-2015, 05:09 AM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,625

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Code:
# apt-get remove epiphany-browser
 
Old 02-16-2015, 05:18 AM   #5
james.brown
Member
 
Registered: Feb 2015
Posts: 40

Original Poster
Rep: Reputation: Disabled
widget, Package 'epiphany-browser' is not installed, so not removed
 
Old 02-16-2015, 04:00 PM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,625

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Well that would make it hard to remove.

I think Xubuntu is one of the nicer Ubuntu family members but as a Xfce user I don't think much of it. A lot of different respins that offer Xfce use Xubuntu as a model and it is really too bad. Too many packages from Gnome, particularly Nautilus installed just to run the desktop and some config tools.

This makes the Xfce settings manager appear to not work for some jobs. It actually works fine. The problem is that Gnome applications, not Xfce applications are running the show.

This makes it a bit tough to help with your problem.

How did you install Chrome?

If you installed this outside the normal package management system it could be a problem. Even then I would have thought that if you open it from the menu it would throw up a popup box asking if you wanted to make that your default browser.

This would be the easiest solution if I understand the problem correctly.

Last edited by widget; 02-16-2015 at 04:03 PM.
 
Old 02-16-2015, 09:28 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,332

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
What is debian sensible browser?
the DEFAULT installed "iceweasel" in Debian 7 and 8
 
Old 02-20-2015, 02:22 PM   #8
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,338

Rep: Reputation: 154Reputation: 154
I have two browsers installed (three including lynx), those being Chrome and Firefox. My preference is Firefox, but often Chrome gets defaulted to (to digress: I only installed Chrome because some sites require a later flash, which only Chrome has, but, frankly, I rarely care to look at these awful flash things anyway). So, if you find another browser is sometimes getting defaulted to when you open a website link via some program or another, then check the program itself for its defaults under either "options" or "preferences" and listed often as "external programs". Also, if using xfce, via the "Applications" button (the "Start" button in Windows speak) check Settings/Preferred Applications/Internet/Web Browser, and select the one you wish to use.

If you only have Chrome installed, then the "debian sensible browser" will be Chrome. It may open with different view settings than you're used to, though. Check the menu tab to identify what browser it is. Again, if you've only installed Chrome, then it will be Chrome.

Not that it's particularly relevant, but the "Debian Sensible Browser" is just what is considered the default. The program sensible-browser is actually only a script that calls up an installed browser. It's not a browser itself. See script below:

Code:
mark@mark-OptiPlex-755:~$ cat /usr/bin/sensible-browser
#!/bin/sh

URL="$1"

if test -n "$BROWSER"; then
    OLDIFS="$IFS"
    IFS=:
    for i in $BROWSER; do
	case "$i" in
	    (*sensible-browser*)
	    printf 'Using sensible-browser in $BROWSER makes no sense.\n' >&2
	    exit 1
	    ;;
	    (*%s*)
	    :
	    ;;
	    (*)
	    i="$i %s"
	    ;;
	esac
        IFS="$OLDIFS"
        cmd=$(printf "$i\n" "$URL")
        $cmd && exit 0
    done
    printf 'None of the browsers in $BROWSER worked!\n' >&2
    exit 1
fi

if test -n "$DISPLAY"; then
    if test -n "$GNOME_DESKTOP_SESSION_ID"; then
        if test -x /usr/bin/gnome-www-browser; then
            exec /usr/bin/gnome-www-browser ${URL:+"$URL"}
        elif test -x /usr/bin/x-www-browser; then
            exec /usr/bin/x-www-browser ${URL:+"$URL"}
        elif test -x /usr/bin/gnome-terminal && test -x /usr/bin/www-browser; then
            exec /usr/bin/gnome-terminal -e "/usr/bin/www-browser ${URL:+\"$URL\"}"
        fi
    fi
    if test -x /usr/bin/x-www-browser; then
        exec /usr/bin/x-www-browser ${URL:+"$URL"}
    elif test -x /usr/bin/x-terminal-emulator && test -x /usr/bin/www-browser; then
        exec /usr/bin/x-terminal-emulator -e /usr/bin/www-browser ${URL:+"$URL"}
    fi
elif test -x /usr/bin/www-browser; then
    exec /usr/bin/www-browser ${URL:+"$URL"}
fi

printf "Couldn't find a suitable web browser!\n" >&2
printf "Set the BROWSER environment variable to your desired browser.\n" >&2
exit 1;
mark@mark-OptiPlex-755:~$
And here's another script, the xfce desktop file "debian-sensible-browser.desktop":

Code:
mark@mark-OptiPlex-755:/usr/share/cups/drv$ cat /usr/share/xfce4/helpers/debian-sensible-browser.desktop
[Desktop Entry]
Version=1.0
Icon=debian
Type=X-XFCE-Helper
Name=Debian Sensible Browser
Name[ar]=متصفح ديبيان
Name[ast]=Debian Sensible Browser
Name[be]=Прадвызначаны Гартач у Debian
Name[bg]=Дебиан Sensible браузър
Name[bn]=ডেবিয়ান সংবেদনশীল ব্রাউজার
Name[ca]=Navegador sensible de Debian
Name[cs]=Debian Sensible Browser
Name[da]=Debian Sensible Browser
Name[de]=Debians voreingestellter Webbrowser
Name[el]=Φυλλομετρητής Sensible Debian
Name[en_GB]=Debian Sensible Browser

[snipped]

StartupNotify=false
X-XFCE-Binaries=sensible-browser;
X-XFCE-Category=WebBrowser
X-XFCE-Commands=%B;
X-XFCE-CommandsWithParameter=%B "%s";
mark@mark-OptiPlex-755:/usr/share/cups/drv$
So, the xfce script "debian sensible browser" from the desktop file is calling up the script "sensible-browser" which in turn decides which script it will default to (IE, gnome-www-browser or x-www-browser, etc.) These latter scripts theoretically point to the browser which the user him/herself has expressed a preference for, supposedly. Again, then, it's best to make these preferences known to the system via the ways I described.

Last edited by mark_alfred; 02-21-2015 at 04:25 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I get the Iron Browser installed in Debian? Indy452 Linux - Software 4 08-13-2012 08:47 AM
How to change the default browser in debian? vineet7kumar Linux - Newbie 2 03-03-2009 11:05 AM
Browser Plugins Debian Etch AMD 64 richinsc Debian 13 04-28-2007 10:30 AM
Mozilla 1.7.5 on Debian - Browser freezing s1l3ntbob Linux - Software 1 04-07-2005 12:01 PM
Readhat has hardware-browser, what does debian have? joffa Debian 4 02-24-2005 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration