public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Newsbeuter - Cannot set element colors
@ 2013-11-26 20:32 Alessandro DE LAURENZIS
  2013-12-03 20:21 ` [gentoo-user] " Roman Dobosz
  0 siblings, 1 reply; 3+ messages in thread
From: Alessandro DE LAURENZIS @ 2013-11-26 20:32 UTC (permalink / raw
  To: gentoo-user

Really weird behavior; I'm just following the documentation:

just22@egeo:[~]$ cat ./.newsbeuter/config 
# Browser command
browser "dwb %u"

# Color scheme
color background white black

but when I try to launch the reader, it complains this way:

just22@egeo:[~]$ newsbeuter
XDG: configuration directory '/home/just22/.config/newsbeuter' not
accessible, using '/home/just22/.newsbeuter' instead.
Starting newsbeuter 2.6...
Loading configuration...Error while processing command
`color background white black'
(/home/just22/.newsbeuter/config line 5): too few parameters.

I tried also to add optional attributes:

just22@egeo:[~]$ cat ./.newsbeuter/config 
# Browser command
browser "dwb %u"

# Color scheme
color background white black bold

but no luck:

just22@egeo:[~]$ newsbeuter
XDG: configuration directory '/home/just22/.config/newsbeuter' not
accessible, using '/home/just22/.newsbeuter' instead.
Starting newsbeuter 2.6...
Loading configuration...Error while processing command
`color background white black bold'
(/home/just22/.newsbeuter/config line 5): `bold' is not a valid color

Any hints?

-- 
Alessandro DE LAURENZIS
[mailto:just22.adl@gmail.com]
LinkedIn: http://it.linkedin.com/in/delaurenzis


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: Newsbeuter - Cannot set element colors
  2013-11-26 20:32 [gentoo-user] Newsbeuter - Cannot set element colors Alessandro DE LAURENZIS
@ 2013-12-03 20:21 ` Roman Dobosz
  2013-12-06  5:21   ` Alessandro DE LAURENZIS
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Dobosz @ 2013-12-03 20:21 UTC (permalink / raw
  To: gentoo-user

On Tue, 26 Nov 2013 21:32:57 +0100
Alessandro DE LAURENZIS <just22.adl@gmail.com> wrote:

> Really weird behavior; I'm just following the documentation:
[…]
> just22@egeo:[~]$ newsbeuter
> XDG: configuration directory '/home/just22/.config/newsbeuter' not
> accessible, using '/home/just22/.newsbeuter' instead.
> Starting newsbeuter 2.6...
> Loading configuration...Error while processing command
> `color background white black bold'
> (/home/just22/.newsbeuter/config line 5): `bold' is not a valid color
> 
> Any hints?

You have something different from space between "background" and
"white" (you can check it editing that file in vim, placing the
cursor on that "space" and pressing "g8" in normal mode) - 0xC2 0xA0
instead of 0x20. Looks like you were able to copy "&nbsp;" somehow :)

Just get rid of the "spaces" and replace them with real one (changing
encoding to pure ascii may help).

cheers.
gryf


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Re: Newsbeuter - Cannot set element colors
  2013-12-03 20:21 ` [gentoo-user] " Roman Dobosz
@ 2013-12-06  5:21   ` Alessandro DE LAURENZIS
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro DE LAURENZIS @ 2013-12-06  5:21 UTC (permalink / raw
  To: gentoo-user

On Tue 03/12, Roman Dobosz wrote:
> On Tue, 26 Nov 2013 21:32:57 +0100
> Alessandro DE LAURENZIS <just22.adl@gmail.com> wrote:
> 
> > Really weird behavior; I'm just following the documentation:
> […]
> > just22@egeo:[~]$ newsbeuter
> > XDG: configuration directory '/home/just22/.config/newsbeuter' not
> > accessible, using '/home/just22/.newsbeuter' instead.
> > Starting newsbeuter 2.6...
> > Loading configuration...Error while processing command
> > `color background white black bold'
> > (/home/just22/.newsbeuter/config line 5): `bold' is not a valid color
> > 
> > Any hints?
> 
> You have something different from space between "background" and
> "white" (you can check it editing that file in vim, placing the
> cursor on that "space" and pressing "g8" in normal mode) - 0xC2 0xA0
> instead of 0x20. Looks like you were able to copy "&nbsp;" somehow :)
> 
> Just get rid of the "spaces" and replace them with real one (changing
> encoding to pure ascii may help).
> 
> cheers.
> gryf
> 

My only comment is: GREAT! Thank you very much, this stuff was making me
crazy. I would not be able to solve it without your help.

Cheers

-- 
Alessandro DE LAURENZIS
[mailto:just22.adl@gmail.com]
LinkedIn: http://it.linkedin.com/in/delaurenzis


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-06  5:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 20:32 [gentoo-user] Newsbeuter - Cannot set element colors Alessandro DE LAURENZIS
2013-12-03 20:21 ` [gentoo-user] " Roman Dobosz
2013-12-06  5:21   ` Alessandro DE LAURENZIS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox