LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-29-2018, 11:00 AM   #1
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
[Solved] Set Midori --private as default browser in XFCE 4.12


I'm a bit strange but I want the things done as I want and not as who programmed the system wants.

I'd want to change the exo default web browser in XFCE 4.12 to start a midori private session but even if I unistalled every browser and installed only midori exo would always open midori without --private flag.

After some hours I found how to accomplish the task fuckin' exo around.

First of all (as root, as usual) remove default /etc/alternatives/x-www-browser which is a symlink to /usr/bin/midori

# rm /etc/alternatives/x-www-browser

Second create a plain ascii file which execute midori --private, let it be executable and generate the symlink to /etc/alternatives as x-www-browser

# echo exec midori --private > /usr/bin/midori-private

# chmod a+x /usr/bin/midori-private

# ln -fs /usr/bin/midori-private /etc/alternatives/x-www-browser

and the job is done!

Hope this could help someone which want the system does what he wants and not the way programmers want we do it.

Walker

Last edited by walker; 04-29-2018 at 11:09 AM.
 
Old 05-04-2018, 04:13 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
As this is solved we do not need it in the ZERO REPLIES LIST.
 
  


Reply



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 to set wlanx as default without maccaddress pedropt Linux - Wireless Networking 1 09-06-2017 04:23 PM
Web browser not set to default even though it is the ONLY browser!?!?! dbc254 Linux Mint 1 12-07-2016 11:59 PM
(SOLVED)Tomboy Notes: How to set URL to default browser? bobww99 Linux - Software 3 10-01-2014 11:15 AM
[WORKED AROUND] Xfce Help not displayed when Opera is default web browser catkin Linux - Desktop 4 09-02-2009 02:47 PM
evolution not honoring XFCE default browser nilleso Linux - Software 3 04-17-2007 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:47 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
Open Source Consulting | Domain Registration