LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-05-2014, 09:11 PM   #1
robgeek
Member
 
Registered: Oct 2013
Posts: 37

Rep: Reputation: Disabled
Conky like a taskbar : configuring.


Hello!
I have Conky 1.9 in my system(Debian Wheezy 7.5 with OpenBox) and i would like he would not be overlaped by other apps like Firefox and others. I would like to make him like a taskbar in the top of my screen to shows me infos about my pc. So, in my conkrc i set "own_window_hints" to "above" and "own_window_type" to "normal", but take a look in the following picture. As you can see, besides my texts are not centralized i cannot see my the tabs of my Firefox!
http://postimg.org/image/isg58zpn3/

If i set "own_window_type" to "dock" or "panel" my screen is like this:
http://postimg.org/image/das1nuuub/

Here my conkyrc file:
Code:
own_window yes
own_window_colour 000000
own_window_transparent no
own_window_type normal 
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,above
double_buffer yes
use_spacer right 
use_xft yes
#font snap-7
xftfont Droid Sans Mono:size=9
xftalpha 1
text_buffer_size 2048 
alignment bottom
gap_x 5
gap_y 756

# --- Colours, Sizes, Fonts & Margins --- #
update_interval 1.0
stippled_borders 0
minimum_size 1366 3
maximum_width 1366 2
border_margin 3
border_width 0 
default_color 5e7175
# --- Text --- #
draw_outline no
draw_borders no
#font -*-profont-*-*-*-11-*-*-*-*-*-*-* 
uppercase no
draw_shades no 

TEXT
${alignc}${color 739FCF}${color }Debian${color f92672}Linux${color} | ${color beed5f} Machine: ${color d3d3d3}$nodename ${color} | ${color fd971f} Uptime: ${color d3d3d3}$uptime ${color} | ${color ff669d} Kernel: ${color d3d3d3}$kernel ${color} | ${color 9e6ffe} Cpu: ${color d3d3d3}${cpu}% ${color} | ${color 00CBEE} Ram: ${color d3d3d3}${mem} ${color} | ${color 8AE234} Home: ${color e0e0e0}${font}${fs_free /home} ${color} | ${color F4CB16} Down: ${color e0e0e0} ${downspeed wlp2s0} Kb/s ${color} | ${color F74936} Up: ${color} ${color e0e0e0} ${upspeed wlp2s0} Kb/s
How can i do what i want?

Last edited by robgeek; 06-07-2014 at 09:59 PM.
 
Old 06-06-2014, 09:27 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Windowism: "taskbar"
Linux: panel

That being said. What Desktop environment?
 
Old 06-06-2014, 10:55 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
what's wrong with the 2nd pic? looks ok to me.

conky is a strange beast, and trial and error seem to be a necessary part of customizing it.
check out the documentation:
http://conky.sourceforge.net/documentation.html
and particularly here:
http://conky.sourceforge.net/config_settings.html
 
1 members found this post helpful.
Old 06-06-2014, 11:26 AM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,255
Blog Entries: 21

Rep: Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499
Quote:
As you can see, besides my texts are not centralized i cannot see my the tabs of my Firefox!
Like ondoho says. Nothing wrong with resizing Firefox window also. What matters a few MM missing in top of browser window?
http://postmyimage.com/img2/207_screenshot2.jpg

http://postmyimage.com/img2/217_screenshot.jpg

Last edited by rokytnji; 06-06-2014 at 11:39 AM.
 
Old 06-06-2014, 09:39 PM   #5
robgeek
Member
 
Registered: Oct 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
Guys, thank you for your answers. I "solved" my problem. Here what i did.
1- Changed my margins settings ~/.config/openbox/rc.xml to <top>20</top>
2- I deleted all these lines from ~/.conkyrc
Code:
own_window yes
own_window_colour 000000
own_window_transparent no
own_window_type normal 
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,above
I deleted these lines because i read this in http://openbox.org/wiki/Help:Configuration
Quote:
Each tag specifies the amount of pixels to reserve at the respective edge of the screen. New windows will not be placed in those areas, and maximized windows will not cover them.
After that my Conky became transparent, i would like make his background black, but i don't know how so, until now, i let him transparent.

Now he is like this:
http://postimg.org/image/c1j4rltfn/

My ~/.conkyrc modified:
http://pastebin.com/5LmXDG14

Last edited by robgeek; 06-06-2014 at 09:44 PM.
 
Old 06-06-2014, 10:13 PM   #6
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Interesting. Windows have no difficulty covering my conky. Your solution might point to the problem.
Quote:
I deleted all these lines from ~/.conkyrc
Code:
own_window yes
own_window_colour 000000
own_window_transparent no
own_window_type normal 
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,above
After that my Conky became transparent
What happens if you set it to
Code:
own_window_transparent yes
?
With Wheezy I had to add two lines to my conky.conf to achieve transparency.
Code:
own_window_argb_visual yes
own_window_argb_value 0
own_window_colour 000000 is not needed. In fact, I have never seen such a set-up. I am sure some people use it, but I have not seen it. Removing that line was a good idea. Which raises the question; where did you get your Conky? From Debian's repositories?
 
Old 06-06-2014, 11:16 PM   #7
robgeek
Member
 
Registered: Oct 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
What happens if you set it to
Code:
own_window_transparent yes
?
In my case, nothing. I'm not sure, but i believe all these "own_window..." settings become "avaliable" only if you set "own_window yes" first.


Quote:
where did you get your Conky? From Debian's repositories?
Yes. To install i entered with this command in terminal
Code:
aptitude install conky
Now, i would like to make his background black. If you know how to do it, please, tell me.

Last edited by robgeek; 06-06-2014 at 11:18 PM.
 
Old 06-06-2014, 11:25 PM   #8
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Set
Code:
own_window_argb_value
to a high number; 500 or greater.
 
Old 06-07-2014, 10:54 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by robgeek View Post
Now, i would like to make his background black. If you know how to do it, please, tell me.
depends a lot on your setup, mostly whether you use compositing or not.
since you're using openbox on debian, it's not exactly out of the box.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Help configuring conky in Ubuntu 10.10 daniel.p Linux - Desktop 5 10-16-2011 04:58 AM
[SOLVED] Configuring Conky to read log file entries - apache + fail2ban djsmiley2k Linux - Desktop 1 04-26-2010 04:29 AM
LXer: No-nonsense Guide to Configuring Conky LXer Syndicated Linux News 0 01-08-2009 05:30 AM
LXer: Expert's guide to configuring Conky LXer Syndicated Linux News 0 06-02-2008 08:11 PM
configuring taskbar in mandrake 9.2 krome Mandriva 3 09-07-2004 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:42 PM.

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