{"id":201,"date":"2016-07-04T23:14:45","date_gmt":"2016-07-04T22:14:45","guid":{"rendered":"https:\/\/solidt.eu\/blog\/?p=201"},"modified":"2020-11-14T22:09:17","modified_gmt":"2020-11-14T21:09:17","slug":"linux-default-applications","status":"publish","type":"post","link":"https:\/\/solidt.eu\/site\/linux-default-applications\/","title":{"rendered":"Linux Default Applications"},"content":{"rendered":"\n<p>Proxy: This config below works for most programs:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http_proxy=http:\/\/10.203.0.1:5187\/\nhttps_proxy=http:\/\/10.203.0.1:5187\/\nftp_proxy=http:\/\/10.203.0.1:5187\/\nrsync_proxy=http:\/\/10.203.0.1:5187\/\nno_proxy=\"localhost,127.0.0.1,localaddress,.localdomain.com\"\nHTTP_PROXY=http:\/\/10.203.0.1:5187\/\nHTTPS_PROXY=http:\/\/10.203.0.1:5187\/\nFTP_PROXY=http:\/\/10.203.0.1:5187\/\nRSYNC_PROXY=http:\/\/10.203.0.1:5187\/\nNO_PROXY=\"localhost,127.0.0.1,localaddress,.localdomain.com\"\n<\/pre>\n\n\n\n<p>For NTLM proxy and more see: <a href=\"https:\/\/wiki.archlinux.org\/index.php\/proxy_settings\">https:\/\/wiki.archlinux.org\/index.php\/proxy_settings<\/a><\/p>\n\n\n\n<p>Environment Variables:<br>~\/.bashrc<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># default terminal\nexport TERM=\"xterm\"\n# default terminal supporting colors\nexport COLORTERM=\"xterm\"\n# default (command line) editor\nexport EDITOR=\"nano\"\n# default (command line) visual editor\nexport VISUAL=\/usr\/bin\/vim\n# default browser\nexport BROWSER=\"firefox\"<br><br># open file in default editor: ${VISUAL-${EDITOR-nano}}<br>alias open=${VISUAL-${EDITOR-nano}}<br>\n<\/pre>\n\n\n\n<p>xdg-open is a desktop-independent tool for configuring the default applications of a user. Many applications invoke the xdg-open command internally.<\/p>\n\n\n\n<p><a href=\"https:\/\/wiki.archlinux.org\/index.php\/xdg-open\">https:\/\/wiki.archlinux.org\/index.php\/xdg-open<\/a><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Available mime-types (with extensions)\n\/etc\/mime.types\n<code>xdg-mime default APPLICATION MIMETYPE(S)<\/code><\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/etc\/bash.bashrc # This file is read when ever an interactive shell is started (normal terminal) and all the commands specified in here are executed one by one.\n\/etc\/profile # This file is read every time a user logs in, Thus all the commands executed in here will execute only once at the time of user logging in.\n\n# Files that affect behaviour for only a specific user:\n~\/.bashrc # This file behaves the same way \/etc\/bash.bashrc file works just that it is executed only for a specific user. If you want to create an environment for yourself go ahead modify or create this file in your home directory.\n~\/.profile # This file is same as \/etc\/profile difference comes the way it is executed, This file is executed only when a user in whose home directory this file exists, logs in.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Proxy: This config below works for most programs: http_proxy=http:\/\/10.203.0.1:5187\/ https_proxy=http:\/\/10.203.0.1:5187\/ ftp_proxy=http:\/\/10.203.0.1:5187\/ rsync_proxy=http:\/\/10.203.0.1:5187\/ no_proxy=&#8221;localhost,127.0.0.1,localaddress,.localdomain.com&#8221; HTTP_PROXY=http:\/\/10.203.0.1:5187\/ HTTPS_PROXY=http:\/\/10.203.0.1:5187\/ FTP_PROXY=http:\/\/10.203.0.1:5187\/ RSYNC_PROXY=http:\/\/10.203.0.1:5187\/ NO_PROXY=&#8221;localhost,127.0.0.1,localaddress,.localdomain.com&#8221; For NTLM proxy and more see: https:\/\/wiki.archlinux.org\/index.php\/proxy_settings Environment Variables:~\/.bashrc # default terminal export TERM=&#8221;xterm&#8221; # default terminal supporting colors export COLORTERM=&#8221;xterm&#8221; # default (command line) editor export EDITOR=&#8221;nano&#8221; # default (command line) visual editor export VISUAL=\/usr\/bin\/vim # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-201","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":12,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":4276,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/201\/revisions\/4276"}],"wp:attachment":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}