Linux - Member Desktop ScreenshotsThis forum is for the discussion and display of Linux Desktop screenshots. Please remember that many members browse LQ from work, so NSFW screenshots are not appropriate.
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.
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.
I now have most of the details and how to get them sorted.
Next is the Surf report, Brisbane area +-500Km, Australia, which I believe I can do standing on the shoulders of others. :-)
But the surf report will probably need to be in another conky, due to space requirements, atm.
/etc/conky/conky.conf
{snip code}
Please see attached png file
Thanks heaps for your tips and other help, ie being on hand!. Thanks heaps!
Regards Glenn
No problem Glenn, glad to help.
At a loss as to why you are using /etc/conky/conky.conf
That is the "default" conky that comes when you install conky. If you "copy" that to ~/.conkyrc then it's "still" a simple
Code:
conky
to start it. In fact the doc's recommend that.
But if your are going to have multiple conkys best to put them in a folder, ie:
Code:
~/conky/system-conky
~/conky/surf-conky
No need for rsync or permissions, they are in your /home and belong to you
Simple bash start script:
Now the good/bad news ... I can't remember who it is that has a "script" for surfing conditions for Brisbane, but it's in one of forums I hung out in. I'll put out a call for help and get it for you if I can. I believe it's in conjunction with a weather script as well, but not sure.
I only toggle the surf report image on/off because I don't like the white background of the image.
I use this script to toggle a specific conky on/off
It will work with any conky by using as the command /full/path_to/toggle-any-conky /full/path/to/conky-config
toggle-any-conky script...
Code:
#!/bin/bash
## click to start, click to stop
### exec line in .desktop file
# /full/path_to/toggle-any-conky /path/to/conky-config
# "/path/to/conky-config" becomes $1
if pgrep -f "conky -c $1"; then
pkill -xf "conky -c $1"
else
conky -c $1
fi
Eg
For my 7 day surf conky this command will toggle off/on...
I can start them fine individually, but I'm a bit confused as to what to type for a start up...After the advise was a bit out-there(?)bash script would not complete.
And I have to get the transparency working for the simple, system conky window. (been reading a lot, the arch wiki seems the most Human readable, afaik.)
Still working, got a new srceen shot of the system conky...
Cheers, Glenn
Last edited by GlennsPref; 07-12-2013 at 07:48 PM.
Q: Can Conky use 2 different configurations at once?
A: Sure, just start Conky using the -c flag, like so:
$ conky -c config1
...
$ conky -c config2
...
console error message...
Code:
glenn@GamesBox:~ » conky (15-07 12:32)
Conky: /home/glenn/.conkyrc: 1: no such configuration: 'Conky'
Conky: /home/glenn/.conkyrc: 2: no such configuration: 'Conky'
Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_context_free();
With the parameter:
context
being NULL. Please fix your program.
Any other ideas?
Last edited by GlennsPref; 07-14-2013 at 09:47 PM.
Reason: The content of ~/.conkyrc
Q: Can Conky use 2 different configurations at once?
A: Sure, just start Conky using the -c flag, like so:
$ conky -c config1
...
$ conky -c config2
...
console error message...
Code:
glenn@GamesBox:~ » conky (15-07 12:32)
Conky: /home/glenn/.conkyrc: 1: no such configuration: 'Conky'
Conky: /home/glenn/.conkyrc: 2: no such configuration: 'Conky'
Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_context_free();
With the parameter:
context
being NULL. Please fix your program.
Any other ideas?
I think your getting things a bit mixed up here.
The ~/.conkyrc file is the config conky uses when running "conky" in terminal.
If running just one conky you would place your config here.
You have replaced this config with commands to start two separate conkys.
If you want to start 2 or more conkys you need to specify the config path in the start command.
eg for you, running each of these commands in terminal should start your conkys.
Test to make sure.
So now instead of using "conky" as the start command, we use these 2 commands in a bash script to start the 2 conkys.
From Sector11's previous post...
Create a start script...
Something gone wrong ... I'm not getting notified of new posts
@ stinkeye ... hey friend welcome to LQ ... I've been here forever, but mostly right here in the conky-ness thread where post don't count.
You're in good hands GlennsPref, stinkeye is a conky
Now why I'm here:
I'm in the middle of a transition ... changes because ... well it's time ... I can ... why not!
tint2 is gone. I'm using "mouse wheel click" more now anyway and [Alt][F2] so a cleaner desktop. Until I mess it up with conkys.
Switched to an old OpenBox theme I did a while back as well - you and see the style in the bottom left of the screenshot with a mouse-wheel click - works just as well as tint2.
First conky to get revamped was v9000 weather... I used the 's11template.lua' as a base and revamped it for this:
--[[
The latest script is a lua only weather script. aka: v9000
http://crunchbanglinux.org/forums/topic/16100/weather-in-conky/
the file:
http://dl.dropbox.com/u/19008369/v9000.tar.gz
mrppeachys LUA Tutorial
http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-conky/
]]
_G.weather_script = function()--#### DO NOT EDIT THIS LINE ##############
--these tables hold the coordinates for each repeat do not edit #########
top_left_x_coordinate={}--###############################################
top_left_y_coordinate={}--###############################################
--#######################################################################
--SET DEFAULTS ##########################################################
--set defaults do not localise these defaults if you use a seperate display script
-- default_font="CorporateMonoExtraBold"--font must be in quotes
default_font="Monofur"--font must be in quotes
default_font_size=12
default_color=0xffffff--white
default_alpha=1--fully opaque
default_image_width=50
default_image_height=50
-- ## New Options ###
default_face="bold"
-- "normal" for normal/normal
-- "bold" for normal/bold
-- "italic" for italic/normal
-- "bolditalic" for italic/bold
-- END OF DEFAULTS ######################################################
--START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE
out({c=0x778899,a=1,x=10,y=15,txt=now["date"].." "..now["month_short"].." "..now["year"].." | @ "..now["time"]})
image({x=20,y=20,h=50,w=50,file=now["weather_icon"]}) image({x=130,y=260,h=50,w=50,file=moon_icon[1]}) --image({x=20,y=20,h=50,w=50,file="/media/5/Conky/images/red+x.png"})
-- Temp / FeelsLike & CONDITIONS TEXT
out({c=0x00BFFF,a=1,f="WW Digital",fs=25,face="normal",x=80,y=60,txt=now["temp"].."°"})
--out({c=0x00BFFF,a=1,f="WW Digital",fs=25,face="normal",x=80,y=60,txt="102".."°"})
out({c=0x00FFFF,a=1,f="WW Digital",fs=25,face="normal",x=140,y=60,txt=now["feels_like"].."°"})
--out({c=0x00FFFF,a=1,f="WW Digital",fs=25,face="normal",x=140,y=60,txt="-22".."°"})
out({c=0x778899,a=1,x=81,y=72,txt="Temp WC·HI"})
out({c=0x00BFFF,a=1,f="Zekton",fs=18,x=10,y=94,txt=now["conditions"]})
-- data titles
-- data output
datay=110 -- y=datay or
datayy=15 -- y=datay+(datayy*1) use 1 or more
out({c=0xDCDCDC,a=1,x=10,y=datay,txt="Today's High: Low:"})
out({c=0xFF8C00,a=1,x=105,y=datay,txt=high_temp[1].."°"})
out({c=0x00BFFF,a=1,x=170,y=datay,txt=low_temp[1].."°"})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*1),txt="Wind Chill:"})
out({c=0x00BFFF,a=1,x=90,y=datay+(datayy*1),txt=now["wind_chill"].."°"})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*2),txt="Heat Index:"})
out({c=0xFF8C00,a=1,x=90,y=datay+(datayy*2),txt=now["heat_index"].."°"})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*3),txt="Wind:"})
out({c=0x00BFFF,a=1,x=60,y=datay+(datayy*3),txt=now["wind_km"]})
out({c=0x00BFFF,a=1,x=110,y=datay+(datayy*3),txt=now["wind_nesw"]})
out({c=0xDCDCDC,a=1,x=140,y=datay+(datayy*3),txt="@"})
out({c=0x00BFFF,a=1,x=160,y=datay+(datayy*3),txt=now["wind_deg"]})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*4),txt="Hum:"})
out({c=0x00BFFF,a=1,x=60,y=datay+(datayy*4),txt=now["humidity"].."%"})
out({c=0xDCDCDC,a=1,x=110,y=datay+(datayy*4),txt="DP:"})
out({c=0x00BFFF,a=1,x=160,y=datay+(datayy*4),txt=now["dew_point"].."°"})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*5),txt="Bar:"})
out({c=0x00BFFF,a=1,x=60,y=datay+(datayy*5),txt=now["pressure_mb"]})
out({c=0xDCDCDC,a=1,x=110,y=datay+(datayy*5),txt="Vis:"})
out({c=0x00BFFF,a=1,x=160,y=datay+(datayy*5),txt=now["visibility"]})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*6),txt="Precip:"})
out({c=0x00BFFF,a=1,x=60,y=datay+(datayy*6),txt=precipitation[1].."%"})
out({c=0xDCDCDC,a=1,x=110,y=datay+(datayy*6),txt="Cloud:"})
out({c=0x00BFFF,a=1,x=160,y=datay+(datayy*6),txt=cloud_cover[1].."%"})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*7),txt="Ceil:"})
out({c=0x00BFFF,a=1,x=60,y=datay+(datayy*7),txt=now["ceiling"]})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*8),txt="UV:"})
out({c=0x00BFFF,a=1,x=60,y=datay+(datayy*8),txt=uv_index_num[1]})
out({c=0x00BFFF,a=1,x=110,y=datay+(datayy*8),txt=uv_index_txt[1]})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*9),txt="Sun:"})
out({c=0xDCDCDC,a=1,x=60,y=datay+(datayy*9),txt=sun_rise_lc[1]})
out({c=0x00BFFF,a=1,x=120,y=datay+(datayy*9),txt=sun_set_lc[1]})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*11),txt="Moon:"})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*12),txt=moon_rise_lc[1]})
out({c=0x00BFFF,a=1,x=70,y=datay+(datayy*12),txt=moon_set_lc[1]})
out({c=0xDCDCDC,a=1,x=10,y=datay+(datayy*13),txt="Phase:"})
out({c=0x00BFFF,a=1,x=55,y=datay+(datayy*13),txt=moon_phase[1]})
-- line
image({x=205,y=5,w=1,h=260,file="/media/5/Conky/images/LightSlateGrey_1.png"})
-- 3 hour output
out({c=0x00BFFF,a=1,x=220,y=15,txt="Next 3"})
out({c=0x00BFFF,a=1,x=220,y=30,txt="Hours"})
-- 1st hour
out({c=0x778899,x=220,y=50,txt=now["fc_hour1_time"].." "..now["fc_hour1_ampm"]})
image({w=30,h=30,x=223,y=55,file=now["fc_hour1_wicon"]}) -- image({w=30,h=30,x=223,y=55,file="/media/5/Conky/images/red+x.png"})
out({x=228,y=100,txt=now["fc_hour1_temp"] .."°"})
-- 2nd hour
out({c=0x778899,x=220,y=datay+(datayy*1),txt=now["fc_hour2_time"].." "..now["fc_hour2_ampm"]})
image({w=30,h=30,x=223,y=130,file=now["fc_hour2_wicon"]}) --image({w=30,h=30,x=223,y=130,file="/media/5/Conky/images/red+x.png"})
out({x=228,y=180,txt=now["fc_hour2_temp"] .."°"})
-- 3rd hour
out({c=0x778899,x=220,y=210,txt=now["fc_hour3_time"].." "..now["fc_hour3_ampm"]})
image({w=30,h=30,x=223,y=215,file=now["fc_hour3_wicon"]}) -- image({w=30,h=30,x=223,y=215,file="/media/5/Conky/images/red+x.png"})
out({x=228,y=datay+(datayy*10),txt=now["fc_hour3_temp"] .."°"})
-- line
image({x=275,y=5,w=1,h=300,file="/media/5/Conky/images/deep_skyblue_1.png"})
--start or weather forecast table section
--set start forecast day
start_day=1
--set total forecast days you want to display
number_of_days=10
topy=15
topyy=135 -- topy+(topyy*1)
topx=285
topxx=430
-- set coordinates for top lef corners for each repeat
-- x = l|r y = u|d
top_left_x_coordinate[1],top_left_y_coordinate[1] =topx,topy
top_left_x_coordinate[2],top_left_y_coordinate[2] =topx,topy+60
top_left_x_coordinate[3],top_left_y_coordinate[3] =topx,topy+(60*2)
top_left_x_coordinate[4],top_left_y_coordinate[4] =topx,topy+(60*3)
top_left_x_coordinate[5],top_left_y_coordinate[5] =topx,topy+(60*4)
-- line
image({x=420,y=5,w=1,h=300,file="/media/5/Conky/images/deep_skyblue_1.png"})
top_left_x_coordinate[6],top_left_y_coordinate[6] =topxx,topy
top_left_x_coordinate[7],top_left_y_coordinate[7] =topxx,topy+60
top_left_x_coordinate[8],top_left_y_coordinate[8] =topxx,topy+(60*2)
top_left_x_coordinate[9],top_left_y_coordinate[9] =topxx,topy+(60*3)
top_left_x_coordinate[10],top_left_y_coordinate[10] =topxx,topy+(60*4)
--########################################################################################
for i=start_day,number_of_days-(start_day-1) do --start of day repeat, do not edit #######
tlx=top_left_x_coordinate[i] --sets top left x position for each repeat ##################
tly=top_left_y_coordinate[i] --sets top left y position for each repeat ##################
--########################################################################################
out({c=0x778899,a=1,x=tlx,y=tly,txt=forecast_day_short[i].." "..forecast_date[i].." "..forecast_month_short[i]})
image({x=tlx,y=tly+0,h=30,w=30,file=weather_icon[i]})
image({x=tlx+105,y=tly+5,h=20,w=20,file=moon_icon[i]}) --image({x=tlx+60,y=tly+5,h=20,w=20,file="/media/5/Conky/images/red+x.png"})
out({c=0xFF8C00,a=1,x=tlx+35,y=tly+13,txt=high_temp[i].."°"})
out({c=0xDCDCDC,a=1,x=tlx+65,y=tly+13,txt="P "..precipitation[i].."%"})
out({c=0x00BFFF,a=1,x=tlx+35,y=tly+28,txt=low_temp[i].."°"})
out({c=0xDCDCDC,a=1,x=tlx+65,y=tly+28,txt="H "..humidity[i].."%"})
out({c=0x00BFFF,a=1,x=tlx,y=tly+40,txt=conditions_short[i]})
-- out({c=0xDCDCDC,a=1,x=tlx+50,y=tly+52,txt="UV "..uv_index_num[i]})
--out({c=0xDCDCDC,a=1,x=tlx,y=tly+95,txt="S "..sun_rise_lc[i]})
-- out({c=0x00BFFF,a=1,x=tlx+73,y=tly+95,txt=sun_set_lc[i]})
--out({c=0xDCDCDC,a=1,x=tlx,y=tly+110,txt="M "..moon_rise_lc[i]})
-- out({c=0x00BFFF,a=1,x=tlx+73,y=tly+110,txt=moon_set_lc[i]})
--########################################################################################
end--of forecast repeat section ##########################################################
--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--#######################################################################
end--of weather_display function do not edit this line ##################
--#######################################################################
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
What an excellent thread, onya Corp for starting it (even if it was ages ago).
Ok why I'm posting, I borrowed a Conky.conf posted in here and like it alot but would like to add the user that is logged in to it. I have added a line User:$alignr$user_names and it shows User (as in the title of the line) on conky but not the name of the actual user logged in. Is there another setting or something I need to add to get this to work?
See below for my borrowed conky.conf
Code:
# stuff after 'TEXT' will be formatted on screen
##TEXT
background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 250
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
#default_color FFFF00
#default_color C0C0C0
#default_color F5F5F5
#default_color FF69B4
#default_color black
#default_color grey
#default_color red
#default_color tan2
#default_color dimgrey
#default_color CCCC33
#default_color 800000
#default_color 99FF99
#default_color 99FFFF
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 80
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
${font sans-serif:bold:size=10} $alignc Cobber Linux
${font sans-serif:bold:size=8} SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
User:$alignr$user_names
Time: ${time %a %d %b %l:%M:%S%p}
Uptime:$alignr$uptime
File System: $alignr${fs_type}
Laptop Temperature: ${acpitemp}c
${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
${font sans-serif:normal:size=8}${cpugraph cpu1}
CPU 1: ${cpu cpu1}% ${cpubar cpu1}
CPU 2: ${cpu cpu2}% ${cpubar cpu2}
${font sans-serif:bold:size=8}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar
${font sans-serif:bold:size=8}DISKS ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
${font sans-serif:normal:size=8}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}
${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %
${font sans-serif:bold:size=8}NETWORK ${hr 2}
${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
${downspeedgraph wlan0}
Download: ${downspeed wlan0}kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}
Upload: ${upspeed wlan0}kb/s $alignr total: ${totalup wlan0}
What an excellent thread, onya Corp for starting it (even if it was ages ago).
Ok why I'm posting, I borrowed a Conky.conf posted in here and like it alot but would like to add the user that is logged in to it. I have added a line User:$alignr$user_names and it shows User (as in the title of the line) on conky but not the name of the actual user logged in. Is there another setting or something I need to add to get this to work?
Your config with $user_names works here on Ubuntu 13.04
What is your conky version.
Quote:
glen@Raring:~$ conky -v
Conky 1.9.0 compiled Thu May 24 15:31:18 UTC 2012 for Linux 2.6.24-31-server (x86_64)
Try opening a terminal as here it shows multiple user instances with terminals open.
Does the terminal command users work?
Quote:
glen@Raring:~$ users
glen glen
Also try with enclosed brackets in the config line and without the $alignr
eg
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.