Author Topic: AT VIEW on linux  (Read 2041 times)

Offline Turambar90

  • Planewalker
  • *****
  • Posts: 32
  • Gender: Male
AT VIEW on linux
« on: November 18, 2011, 09:54:52 AM »
Whenever a mod tries to display the readme or any html file, it fails, because I don't have firefox. BTW, firefox is not the custom browser on most KDE-based distributions.

I had a look in git and noticed, inside /src/arch_linux, at line #20,
Code: [Select]
(* how to view a text (or HTML) file on 90% of linuxes *)
let view_command = "firefox ./"

I've googled around and read that, apparently, a good way to open files would be
let view_command = "xdg-open ./"
I've also found xdg-open on the freedesktop website: http://portland.freedesktop.org/xdg-utils-1.0/xdg-open.html .
Is it possible to substitute that? It should make the readme appear correctly on most linux systems.
TIA

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: AT VIEW on linux
« Reply #1 on: November 18, 2011, 12:24:45 PM »
Sure. Does that work for KDE, Gnome and other deskop environments?
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: AT VIEW on linux
« Reply #2 on: November 18, 2011, 04:25:54 PM »
Some random blog says all desktop environments of note will have it.
The stated goal of the thing is to provide a consistent interface across desktops.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: AT VIEW on linux
« Reply #3 on: November 18, 2011, 04:32:14 PM »
Some random blog says all desktop environments of note will have it.
The stated goal of the thing is to provide a consistent interface across desktops.
goals != reality.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

i30817

  • Guest
Re: AT VIEW on linux
« Reply #4 on: November 19, 2011, 03:26:47 AM »
Works on ubuntu 11.04

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: AT VIEW on linux
« Reply #5 on: November 19, 2011, 06:42:19 AM »
goals != reality.
Yeah, I know.
Debian, Fedora, openSUSE, Gentoo, Arch Linux and Slackware all have packages for it. but whether they install it by default is anyone's guess.

Offline Miloch

  • Barbarian
  • Planewalker
  • *****
  • Posts: 1032
  • Gender: Male
Re: AT VIEW on linux
« Reply #6 on: November 20, 2011, 08:14:50 PM »
Debian, Fedora, openSUSE, Gentoo, Arch Linux and Slackware all have packages for it. but whether they install it by default is anyone's guess.
I don't think it's a package. When I type xdg-open on Ubuntu I get this:
Quote
xdg-open - opens a file or URL in the user's preferred application
Presumably that means it would launch a URL in Epiphany or Opera on my system (I forget which one is "preferred").

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: