LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-09-2015, 01:06 PM   #1
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Rep: Reputation: Disabled
JSON Error in i3wm with Conky (i3bar)


Hi and thanks for reading :-)

I followed these instructions on the offical website to use conky with my i3 Window Manager http://i3wm.org/docs/user-contributed/conky-i3bar.html
I also followed the video https://www.youtube.com/watch?v=fcO7zkK9AGM who directly references this guide with the additional information of #chmod +x my files (.conkyrc and .conky-i3bar)

I used this default setup also so I know I will see something and to start me of but this is the error I am getting:

Error: Could not parse JSON (parse error: unallowed token at the point in JSON text)

I don't know what this error means and I was hoping someone would know so I could resolve it.

Many thanks for reading. Hope you can help.

Sincerely,
Ed.
 
Old 09-09-2015, 03:20 PM   #2
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Original Poster
Rep: Reputation: Disabled
In my .i3/config I changed:
status_command ~/.conky-i3wm
I then made the .conky-i3wm file in that location
echo '{"version":1}'
echo '['
echo '[],'
exec conky -c ~/.conkyrc

I then made the ~/.conkyrc file and typed:
[{ "full_text":"Home 84.0G Free" , "color":"#ffffff" },
{ "full_text":"RAM 32" , "color":"#ffffff" }],

I then made both files executable.
chmod +x *file*

The error that shows now is:
Error: status_command process exited unexpectedly (exit1)

When I used the script from the Youtube video it was as the first message and if I change:
exec conky -c ~/.conkyrc to
exec conky -c ~/.conkyrc &
The error changes to (exit 0)
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] i3wm uk layout; how? itscience Linux - Software 3 07-28-2015 02:20 PM
LXer: How to configure Conky with a GUI-based Conky config tool LXer Syndicated Linux News 0 04-09-2014 11:50 AM
i3status and i3bar mreff555 Linux - Software 21 08-19-2013 08:44 PM
LXer: Conky Manager – Simple GUI for managing Conky config files LXer Syndicated Linux News 0 07-19-2013 11:01 AM
LXer: Conky Colors Makes Your Conky Beautiful In Seconds (Version 3.20 Released) LXer Syndicated Linux News 0 08-01-2010 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration