PDA

View Full Version : Date on Dekstop



Valok
December 23rd, 2008, 08:18 PM
I saw a desktop screenshot the other day that had a very nice and simple date right on the dekstop. It just said the date, and the time.

I'd really like to get this on my desktop, but I have no idea how to, if anyone knows how to do this I'd love to hear about it!

smartboyathome
December 23rd, 2008, 08:24 PM
What window manager or desktop environment do you use?

Valok
December 23rd, 2008, 08:26 PM
Sorry, I use Gnome

billgoldberg
December 23rd, 2008, 08:27 PM
That's most likely Conky.

I have a guide on my blog (see signature).

Valok
December 23rd, 2008, 08:34 PM
Awesome, so second question, anyone have a conky file that will just show the date on the bottom left corner of the desktop?

billgoldberg
December 23rd, 2008, 08:37 PM
Awesome, so second question, anyone have a conky file that will just show the date on the bottom left corner of the desktop?

I'll just whipped one up for you.


background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color red
default_outline_color green
alignment bottom_right
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes
text_buffer_size 256

TEXT

${color DarkSlateGray} ${font :size=30}$alignc${time %H:%Mh}
${voffset -30}${font :bold:size=10}$alignc${time %d %b. %Y}
${font :bold:size=8}$alignc${time %A}
$endif

Valok
December 23rd, 2008, 08:39 PM
Thanks a ton!

Valok
December 23rd, 2008, 08:50 PM
On your guide, I'm having trouble making the conkyrc file. Whenever I paste that code it just tells me that no such file or directory exists, any pointers?

Valok
December 23rd, 2008, 09:09 PM
One last question, how do I change the font to URW Gothic L Book?

glotz
December 23rd, 2008, 09:15 PM
I'll just whipped one up for you.

.
.
.

$endifIsn't that bit unneeded?


Whenever I paste that code it just tells me that no such file or directory exists, any pointers? ; One last question, how do I change the font to URW Gothic L Book? How are you exactly pasting and where? ; Just put the font name after the xftfont instead of 123

kevin11951
December 23rd, 2008, 09:16 PM
i have been following along, an have hit a minor snag, whenever i hit the "show desktop" button on the taskbar, it gets rid of conky, can i make conky ignore that button?

Valok
December 23rd, 2008, 09:22 PM
I got all that figured out now, its up and running, thanks! I just need to figure out how to change the font.

glotz
December 23rd, 2008, 09:27 PM
Kevin, you might want to try experimenting with own_window no. That's how I have mine set up.

Besides conky, there's e.g. screenlets (http://www.screenlets.org/index.php/Screenshots), gdesklets (http://www.gdesklets.de/?q=desklet/browse/alphabetical), google gadgets (http://code.google.com/p/google-gadgets-for-linux/) and probably quite a few more options.