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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-05-2014, 09:11 PM
|
#1
|
Member
Registered: Oct 2013
Posts: 37
Rep:
|
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.
|
|
|
06-06-2014, 09:27 AM
|
#2
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Windowism: "taskbar"
Linux: panel
That being said. What Desktop environment?
|
|
|
06-06-2014, 11:26 AM
|
#4
|
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,255
|
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.
|
|
|
06-06-2014, 09:39 PM
|
#5
|
Member
Registered: Oct 2013
Posts: 37
Original Poster
Rep:
|
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.
|
|
|
06-06-2014, 10:13 PM
|
#6
|
Senior Member
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
|
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?
|
|
|
06-06-2014, 11:16 PM
|
#7
|
Member
Registered: Oct 2013
Posts: 37
Original Poster
Rep:
|
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.
|
|
|
06-06-2014, 11:25 PM
|
#8
|
Senior Member
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
|
Set
Code:
own_window_argb_value
to a high number; 500 or greater.
|
|
|
06-07-2014, 10:54 AM
|
#9
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by robgeek
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.
|
|
|
All times are GMT -5. The time now is 05:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|