You are not logged in.

#1 2016-07-13 14:20:06

Taur0
New Member
Registered: 2016-07-13
Posts: 3

Conky help for Linux Nuub

Hi guys,

I'm a Linux Nuub. Can anyone help me with installing new conky themes? I've read up on the fonts that have to be installed and I've done so in order to get the theme to work. However after installing various ttf fonts from Synaptic, the theme in question (Helix by Figman) still does not want to install.
I've extracted, saved as .conkyrc files in the directory, but still nothing works.
Hydrogen is not the first linux distro I've tried but I want to stick with it because right now my primary machine is an HP 620 single core celeron 4gb ram.

Thanks

Offline

#2 2016-07-13 14:34:42

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky help for Linux Nuub

Have you updated your icon cache, or logged out/in?

Which command are you using to start the conky?

Where did you install the conkyrc? Please give filepaths.

It might be an idea to post the conky code here (using [ code ] tags)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-07-13 14:59:25

Taur0
New Member
Registered: 2016-07-13
Posts: 3

Re: Conky help for Linux Nuub

Okay so the default conky session suns at startup. I want to add the Helix theme. I'm not using any commands as yet because the default conky runs automatically.
I've downloaded the Helix file from Deviantart. After following the read-me, I tried to install the font. I couldn't get it so I went to Synaptic and installed other ttf fonts hoping it will work.
I then renamed the Helix file to .conkyrc and moved it to /home/.fonts/,conky. In addition I also moved the entire unziped file to the home directory. Hope I supplied all you've asked. As I said I'm new to Linux so I'm not as familiar with all the processes and lingo.
Thank you

#!/usr/bin/conky -d -c
##	.conkyrc configuration
alignment middle_left
background yes
border_margin 5
border_width 5
color0 555555			#
color1 FCAF3E			# zolty
color2 2a2a2a			# braz
color3 a82553			# rozowy f71f84
color4 5e1014			# bordowy
color5 64574e			# braz
color6 2a2a2a			# szary
color7 8888CC			#  (COOL)
color8 9d9c61			# zolto-szary
color9 525276			# niebiesko-szary
cpu_avg_samples 2
default_color ffffff		# szary 5f5f5f
default_outline_color 000000 	# Black
default_shade_color 000000	# Black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 60
gap_y 50
max_specials 1024
max_user_text 10000
maximum_width 900
minimum_size 350
net_avg_samples 2
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_colour 000000	# Black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal 	## normal
pad_percents 2			# to co nizej, miejsc po przecinku
short_units yes			# krotka wersja podawania wielkosci dyskow np. 612.21M/3.80G
stippled_borders 3
text_buffer_size 8000
total_run_times 0
update_interval 2.0
uppercase no
use_spacer right
use_xft yes
xftalpha 1
xftfont Freesans:pixelsize=9

lua_load /home/didisoft/.conky/lua.lua

# ${diskiograph /dev/sda 15,180 a7a7a7 a7a7a7} # wskaznik pracy dysku
# ${image /home/didisoft/.conky/didisoft.jpg -p 0,80 -s 26x28} # obrazki w conky


TEXT
${color white}${font ZegoeLight-U:pixelsize=40}${time %A}${font} 
_________________________
${color white}${font ZegoeLight-U:pixelsize=15}${time %B %d, %Y}${font}	

---Fixed the code tags for you wink ---

Last edited by damo (2016-07-13 15:06:50)

Offline

#4 2016-07-13 15:03:23

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: Conky help for Linux Nuub

Helix by Figman

Where did you get it?
How did you install it?

As damo indicated - update your font cache:

fc-cache -fv

And may I suggest, again as hinted by damo, always include the conky code when asking a question about a specific conky and the command used to start it.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#5 2016-07-13 15:38:48

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky help for Linux Nuub

Taur0 wrote:

Okay so the default conky session suns at startup. I want to add the Helix theme. I'm not using any commands as yet because the default conky runs automatically.
I've downloaded the Helix file from Deviantart. After following the read-me, I tried to install the font. I couldn't get it so I went to Synaptic and installed other ttf fonts hoping it will work.
I then renamed the Helix file to .conkyrc and moved it to /home/.fonts/,conky. In addition I also moved the entire unziped file to the home directory. Hope I supplied all you've asked. As I said I'm new to Linux so I'm not as familiar with all the processes and lingo.
Thank you

'bl-conky-session' will run conkys saved in the sessionfile or the default conky ('~/.conkyrc'). So save your conky as

~/.config/conky/helix.conkyrc

You can then add it to a sessionfile by using the Conky Chooser: "Menu -> Preferences -> Conky -> Conky Chooser".

To test it you can start it with

conky -c ~/.config/conky/helix.conkyrc

or

bl-conky-session

NB Make sure the lua path in the conky is the correct path to the lua file

lua_load /home/didisoft/.conky/lua.lua

You will probably also need to get conky to run the main function in the lua script. Add this after the 'lua_load' line (use the main function name in the script):

lua_draw_hook_pre conky_main

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2016-07-13 18:31:09

Taur0
New Member
Registered: 2016-07-13
Posts: 3

Re: Conky help for Linux Nuub

Thanks Damo, Thanks Sector 11- Your help is much appreciated.

Offline

#7 2016-07-13 18:54:51

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: Conky help for Linux Nuub

Is this the conky?  If so the font comes with it.  Very simple it should work no problem.
2016_07_13_15_44_07_Scrot11.jpg

Each of the 3 conkys have two problems:

1. border_margin is depreciated and now consists of two lines:
Therefore change:

border_margin 5

to:

border_inner_margin 5
border_outer_margin 0

2. Each of the three conkys have a line to load a LUA script just above TEXT:

lua_load /home/didisoft/.conky/lua.lua

The lua script is NOT in the archive and not used nor needed.
Comment out that line or simply delete it

# lua_load /home/didisoft/.conky/lua.lua

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#8 2016-07-13 19:02:07

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky help for Linux Nuub

^ Nice one @S11 (I wasn't prepared to search, d/l and install it wink )

I suspect the OP's problem is where he saved the files to, and how he is starting it hmm


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2016-07-13 20:00:19

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,673

Re: Conky help for Linux Nuub

I tried to install the font. I couldn't get it so I went to Synaptic and installed other ttf fonts hoping it will work.

the font you need is included, copy it to: /home/<your username>/.fonts

the "." in .fonts means the directory is hidden, if you don't see it, you'll need to enable your file manager to view hidden files (View -> Show Hidden Files from the thunar menu).

You will need that font installed to view the conky correctly since the line below TEXT calls for it.

I then renamed the Helix file to .conkyrc and moved it to /home/.fonts/,conky.

The part in bold looks like a typo - where did you actually save the file? It would be easiest to follow damo's instructions and save it to ~/.config/conky

The "~" is shorthand for "/home/<your username>"


You must unlearn what you have learned.
    -- yoda

Offline

#10 2016-07-13 20:05:42

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: Conky help for Linux Nuub

Well, I didn't d/n it, just opened the archive online and checked the code.  The meat of it is just three lines below TEXT with changes in colour.  Super simple conky really.  And since I have the two fonts refereed to I put the lines in my test conky.

2016_07_13_17_01_22_Scrot11.jpg

So I think you are right; a case of where he saved and how he started the conky.

@PackRat - EXCELLENT!  I've been at this so long I forgot the basics.  KUDOS!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#11 2016-07-13 20:18:15

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: Conky help for Linux Nuub

And just as a point of interest:

The Original (grey)
${font Freesans:pixelsize=9}
${color grey}${font ZegoeLight-U:pixelsize=40}${time %A}${font}
_________________________
${color grey}${font ZegoeLight-U:pixelsize=15}${time %B %d, %Y}${font}

I would change the line between the Day and date:
${font Freesans:pixelsize=9}
${color grey}${font ZegoeLight-U:pixelsize=40}${time %A}${font}
${membar 0,170}
${color grey}${font ZegoeLight-U:pixelsize=15}${time %B %d, %Y}${font}

2016_07_13_17_15_50_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB