Unix Technical Forum

links and a graphical interface

This is a discussion on links and a graphical interface within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I am trying to get links to work with a graphical interface. It works fine with svgalib, but ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 01:48 PM
leech
 
Posts: n/a
Default links and a graphical interface

Hi,

I am trying to get links to work with a graphical interface. It works
fine with svgalib, but I also want to use it in X. According to links I
should start it like so:

$ links -driver x slashdot.org

However, instead of nice pictures I get:

Unknown graphics driver x.
The following graphics drivers are supported:
fb, svgalib


that the only available drivers are framebuffers nd svgalib. I have no
clue what lib to use for X. I have of course installed a minimal X
environment with fluxbox.

Has any of you got a clue what I should be looking for?

Thanks for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 01:48 PM
Steve Youngs
 
Posts: n/a
Default Re: links and a graphical interface

* leech <I@nothere.com> writes:

> I am trying to get links to work with a graphical interface. It works
> fine with svgalib, but I also want to use it in X. According to links
> I should start it like so:


> $ links -driver x slashdot.org


In X I start links like so:

$ links -g slashdot.org



--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Genius - Is the ability to reduce |
| the complicated to the simple |
|----------------------------------<steve@youngs.au.com>---|
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 01:48 PM
leech
 
Posts: n/a
Default Re: links and a graphical interface

Steve Youngs wrote:
> * leech <I@nothere.com> writes:
>
> > I am trying to get links to work with a graphical interface. It works
> > fine with svgalib, but I also want to use it in X. According to links
> > I should start it like so:

>
> > $ links -driver x slashdot.org

>
> In X I start links like so:
>
> $ links -g slashdot.org
>
>
>


That's what I'd expect to work, but I get the same result.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 01:48 PM
Loki Harfagr
 
Posts: n/a
Default Re: links and a graphical interface

Le Mon, 02 Jan 2006 14:42:29 +0100, leech a écrit*:

> Hi,
>
> I am trying to get links to work with a graphical interface. It works
> fine with svgalib, but I also want to use it in X. According to links I
> should start it like so:
>
> $ links -driver x slashdot.org
>
> However, instead of nice pictures I get:
>
> Unknown graphics driver x.
> The following graphics drivers are supported:
> fb, svgalib
>
>
> that the only available drivers are framebuffers nd svgalib. I have no
> clue what lib to use for X. I have of course installed a minimal X
> environment with fluxbox.
>
> Has any of you got a clue what I should be looking for?


It's not build with X option, Pat being quite logical
in the KISS line he thought that a console browser was to stay
in console mode and that people wanting fries with that would use
a directly X conceived browser, not a genetically zonked twonky ;-)

If you like light browsers have a look at "Dillo".

You'll have to get the source and compile the program,
be sure to configure with X allowed:

./configure --prefix=/usr --enable-graphics --with-x

First check with './configure --help' in case you'd like
to add or sub some options (like --enable-javascript)


(you may grab the slackware source package and tune up the links.Build
file

just change the line:
--without-x
into
--with-x
)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 01:48 PM
leech
 
Posts: n/a
Default Re: links and a graphical interface

Loki Harfagr wrote:
> Le Mon, 02 Jan 2006 14:42:29 +0100, leech a écrit :



Thanks! This is usefull. I know Dillo, but I just love links, that's
why. ;-)

>
>
>>Hi,
>>
>>I am trying to get links to work with a graphical interface. It works
>>fine with svgalib, but I also want to use it in X. According to links I
>>should start it like so:
>>
>>$ links -driver x slashdot.org
>>
>>However, instead of nice pictures I get:
>>
>>Unknown graphics driver x.
>>The following graphics drivers are supported:
>>fb, svgalib
>>
>>
>>that the only available drivers are framebuffers nd svgalib. I have no
>>clue what lib to use for X. I have of course installed a minimal X
>>environment with fluxbox.
>>
>>Has any of you got a clue what I should be looking for?

>
>
> It's not build with X option, Pat being quite logical
> in the KISS line he thought that a console browser was to stay
> in console mode and that people wanting fries with that would use
> a directly X conceived browser, not a genetically zonked twonky ;-)
>
> If you like light browsers have a look at "Dillo".
>
> You'll have to get the source and compile the program,
> be sure to configure with X allowed:
>
> ./configure --prefix=/usr --enable-graphics --with-x
>
> First check with './configure --help' in case you'd like
> to add or sub some options (like --enable-javascript)
>
>
> (you may grab the slackware source package and tune up the links.Build
> file
>
> just change the line:
> --without-x
> into
> --with-x
> )

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 01:48 PM
Martin Lefebvre
 
Posts: n/a
Default Re: links and a graphical interface

leech wrote:
>
> That's what I'd expect to work, but I get the same result.


You have to explicitely enable X support when compiling links... Are you
using the slack version? because the SlackBuild shows:

--enable-graphics \
--without-x \
--without-sdl \

If you remove the '--without-x' line and recompile it from the
SlackBuild, it should work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com