Giter Site home page Giter Site logo

Comments (6)

Tetralet avatar Tetralet commented on June 27, 2024

I'll check it. Thanks for reporting this bug!

from lilyterm.

m13253 avatar m13253 commented on June 27, 2024

I suggest using xdg-open http://xxxxxx to open URL instead of firefox http://xxxxxx. Because xdg-open will automatically select the default browser you have set in DE settings.

from lilyterm.

Tetralet avatar Tetralet commented on June 27, 2024

It's not a bad idea, but not everyone intalled the xdg-utils package in his system...

from lilyterm.

m13253 avatar m13253 commented on June 27, 2024

Tetralet wrote:

It's not a bad idea, but not everyone intalled the xdg-utils package in his system...

Yeah it is. Maybe you can try xdg-open first, if failed then fall back to other methods.

from lilyterm.

Tetralet avatar Tetralet commented on June 27, 2024

I think it will make the program too complicated. I like to keep it simple... (although LilyTerm is complicated enough XD)

from lilyterm.

m13253 avatar m13253 commented on June 27, 2024

Perhaps it is not having something to do with the code.
Just change the default conf file:

# The web browser using for http(s)://
web_browser = xdg-open
web_method = 1
web_VTE_CJK_WIDTH = 0
web_environ = 
web_locale = 

# The ftp client using for ftp(s)://
ftp_client = xdg-open
ftp_method = 1
ftp_VTE_CJK_WIDTH = 0
ftp_environ = 
ftp_locale = 

# The file manager using for file:// and [Open current directory with file manager]
file_manager = xdg-open
file_method = 1
file_VTE_CJK_WIDTH = 0
file_environ = 
file_locale = 

# The email client using for user@host
email_client = xdg-open
email_method = 1
email_VTE_CJK_WIDTH = 0
email_environ = 
email_locale = 

If the user does not have xdg-utils installed, he/she can edit the conf file, right?


(BTW, If you are interested in, you may want to have a look at my conf file which is good for those who have just switched from GNOME terminal.)

from lilyterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.