Konfigurasi Conky..?

Optimalisasi setingan desktop dan mempercantik desktop Ubuntu dengan efek-efek desktop berbasis open source.
User avatar
Gardener
Posts: 12
Joined: 12 Jun 2012, 15:27
Location: Pinggir Laut

Re: Konfigurasi Conky..?

Post by Gardener » 14 Jan 2013, 00:03

@Pingsut: Thnx, fixed now.

Dan ini ada tambahan dikit, Horizontal Calendar:
Past date: Greyed out
Current date: Yellow
Incoming date: White

Image

Full image here: http://i48.tinypic.com/se955c.png

Info:
Desktop: Xubuntu 12.04.1 dengan Xfce 4.10
Kernel: 3.7.2
Nvidia driver: 310.19
Conky: 1.9.0-2 (PPA)
Yang lain aplikasi standar saja koq ... ;)

Ini code untuk Horizondal Calendar:

1. Bagian conky confignya:
[spoiler]

Code: Select all

# � Text settings � #
use_xft yes
xftfont LCDMono2:size=7
xftalpha 1.0
text_buffer_size 1024

# � Conky settings � #

background yes

update_interval 1
total_run_times 0
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

imlib_cache_size 0


# � Window specifications � #

own_window yes
own_window_class Conky
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager  
own_window_transparent yes

own_window_argb_visual yes
own_window_argb_value 0

border_inner_margin 0
border_outer_margin 0

minimum_size 1060 50
maximum_width 1060

alignment top_left

gap_x 10
gap_y 30

# � Graphics settings � #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

default_color FFFFFF

uppercase no
use_spacer right

TEXT
${execpi 36000 ~/.conky/horical.sh}
${goto 230}${color orange}${hr 1}
[/spoiler]

2. Bagian Horizontal Calendar:
[spoiler]

Code: Select all

#!/bin/bash
# a script to display a horizontal calendar on conky (hence the name horical :D)
# if you need to ask something, contact me via email nhianho@gmail.com
TODAY=`date +%d`
TOPLINE=" "
OVER=" "
REST=" "
# -------- This part is to find out the number of days in a month to display-----------#
a=`date +%-Y`
e1=`expr $a % 400`
e2=`expr $a % 100`
e3=`expr $a % 4`
if [ $e1 == 0 ]
then c=1
elif [ $e2 == 0 ]
then c=0
elif [ $e3 == 0 ] 
then c=1
else c=0
fi
p=`date +%-m`
# if the current year is not a leap one, c = 0
if [ $c == 0 ] 
then
if [ $p == 2 ]
then b=28 # this is the number of days in Febuary 
elif [ $p == 11 ] || [ $p == 4 ] || [ $p == 6 ] ||  [ $p == 9 ]
then b=30
else b=31
fi
else
if [ $p == 2 ]
then b=29 # the number of days in Febuary in a leap year
elif [ $p == 11 ] || [ $p == 4 ] || [ $p == 6 ] ||  [ $p == 9 ]
then b=30
else b=31
fi
fi
#--------------------- The bottom line which displays the days of month ----------#
i=1
if [ $TODAY -ne 1 ]
then
while [ $i -lt $TODAY ]; do
if [ $i -lt 10 ]
then
OVER="$OVER 0$i"
else
OVER="$OVER $i"
fi
i=$[$i+1]
done
fi
i=$[$i+1]
if [ $TODAY -ne $b ]
then
while [ $i -ne $[$b] ]; do
if [ $i -lt 10 ]
then
REST="$REST 0$i"
else
REST="$REST $i"
fi
i=$[$i+1]
done
REST="$REST $b"
fi
#------------- the top line which displays the abbreviated weekday names-------#
k=`date +%u`
j=`date +%e`
f=`expr $j % 7`
if [ $k -lt $f ]
then 
y=$[$k+8-$f]
else
y=$[$k-$f+1]
fi
while [ $b -gt 0 ]; do
case "$y" in
1) TOPLINE="$TOPLINE Mo";;
2) TOPLINE="$TOPLINE Tu";;
3) TOPLINE="$TOPLINE We";;
4) TOPLINE="$TOPLINE Th";;
5) TOPLINE="$TOPLINE Fr";;
6) TOPLINE="$TOPLINE Sa";;
7) TOPLINE="$TOPLINE Su";;
esac
b=$[$b-1]
y=$[$y+1]
if [ $y -eq 8 ]
then
y=1
fi
done

echo '${goto 220}''${font mono:Bold:size=11}'$TOPLINE | sed 's/Su/${color red}Su${color}/g' | sed 's/Sa/${color orange}Sa${color}/g'
echo '${goto 220}''${font mono:bold:size=11}''${color dimgray}'$OVER '${color yellow}'$TODAY'${color}'$REST
[/spoiler]


Cheers,
Gardener


User avatar
ninja
Posts: 2260
Joined: 27 Jan 2010, 16:23
Location: Tangerang, Banten, indonesia
Contact:

Post by ninja » 16 Feb 2013, 23:11

conky sekarang makin beragam dan keren2 yah...


User avatar
adhiepriana
Posts: 14
Joined: 26 Jan 2013, 16:20
Location: jakarta-indonesia

Post by adhiepriana » 26 Feb 2013, 21:43

pertamana pake conky,wih mantap....
thank 4 this thrit :kuku:
Attachments
Screenshot from 2013-02-26 21:37:37.png
Screenshot from 2013-02-26 21:37:37.png (1.13 MiB) Viewed 2659 times


User avatar
Gardener
Posts: 12
Joined: 12 Jun 2012, 15:27
Location: Pinggir Laut

Post by Gardener » 02 Mar 2013, 13:13

Nampang di sini juga ah ...!!

Baru ganti conky analog clock-nya saja.
Yang lain biasa, gak ada yang special!!
Sistem: Xubuntu 12.04.2
Kernel: 3.8.0
nVidia driver: 313.18
Conky: 1.9.2

Image

Full size image: http://i50.tinypic.com/2drdvld.jpg


Salam,
Gardener


User avatar
devero
Posts: 1
Joined: 30 Apr 2013, 21:30
Location: sidoarjo, indonesia
Contact:

Post by devero » 02 Jun 2013, 07:41

knp saat sya klik dekstop conkynya hilang gan,mohon pencerahan masih newbie :I


User avatar
nif
Posts: 2818
Joined: 31 Mar 2011, 07:48

Post by nif » 02 Jun 2013, 08:37

devero wrote:knp saat sya klik dekstop conkynya hilang gan,mohon pencerahan masih newbie :I
pake DE apa dan Ubuntu versi berapa?


User avatar
SetyaNux
Posts: 84
Joined: 29 Apr 2013, 22:08
Location: Jabar

Post by SetyaNux » 02 Jun 2013, 09:12

Keren2 ternyata conky yg ada disini... :wow:
Om @devero: mungkin settingan type-nya yg desktop. coba ubah jd normal atau override. klo ga muncul conkynya atau ga transparant tambah
own_window_argb_visual yes
own_window_argb_value 0
saya sering gtu klo conkynya bermasalah.


User avatar
Gardener
Posts: 12
Joined: 12 Jun 2012, 15:27
Location: Pinggir Laut

Post by Gardener » 12 Jun 2013, 20:45

@ devero,

Kalo Conky pas di klik jadi hilang, coba jalankan conky setelah aplikasi yang lain. Maksudnya, setelah aplikasi common start up, baru jalankan conky.

Caranya dengan memberikan delay start-up untuk conky.
Biasanya, delay 20 detik sudah cukup untuk start up conky.
Tambahkan delay waktu yang diinginkan pada file start conky-nya.
Ini contoh file startconky.sh

Code: Select all

#!/bin/bash

sleep 20 && 
conky -d -c /home/username/.conky/yourconkyfile_1 &

sleep 20 &&
conky -d -c /home/username/.conky/yourconkyfile_2 &

exit
Silahkan sesuaikan /home/username plus lokasi conky dengan konfigurasi pada komputer Anda

Good luck!


Salam,
gardener


User avatar
bijep
Posts: 570
Joined: 11 Mar 2010, 11:38
Location: Jakarta, Indonesia
Contact:

Post by bijep » 15 Jul 2013, 12:14

Gardener wrote:@ devero,

Kalo Conky pas di klik jadi hilang, coba jalankan conky setelah aplikasi yang lain. Maksudnya, setelah aplikasi common start up, baru jalankan conky.

Caranya dengan memberikan delay start-up untuk conky.
Biasanya, delay 20 detik sudah cukup untuk start up conky.
Tambahkan delay waktu yang diinginkan pada file start conky-nya.
Ini contoh file startconky.sh

Code: Select all

#!/bin/bash

sleep 20 && 
conky -d -c /home/username/.conky/yourconkyfile_1 &

sleep 20 &&
conky -d -c /home/username/.conky/yourconkyfile_2 &

exit
Silahkan sesuaikan /home/username plus lokasi conky dengan konfigurasi pada komputer Anda

Good luck!


Salam,
gardener
ini cara masuknya gmn gan ? mklum ane peluma....step by stepnya,,,klo conky udah berhasil ane instal tapi pas ane resart jd gak muncul gan,,


User avatar
bijep
Posts: 570
Joined: 11 Mar 2010, 11:38
Location: Jakarta, Indonesia
Contact:

Post by bijep » 16 Jul 2013, 10:03

ini conky ku ..mana conky mu ?? it's simple

Image


User avatar
chexodoth82
Posts: 42
Joined: 05 Jul 2013, 18:48
Location: cilacap,indonesia

Post by chexodoth82 » 21 Jul 2013, 23:39

apakah conky membuat cpu jadi high usage?


User avatar
BakulVoucher
Posts: 4
Joined: 03 Sep 2013, 14:46
Location: www.bakulvoucher.com | Jogja
Contact:

Post by BakulVoucher » 07 Sep 2013, 23:53

nyimak dulu ah, kurang ngerti conky soalnya.. :)


User avatar
abah_tea
Posts: 28
Joined: 27 Dec 2012, 22:18

Post by abah_tea » 07 Oct 2013, 11:09

mau tanya dong...
script weather yg uptodate nilainya, apa ya...

-makasih-


User avatar
ketakup
Posts: 1
Joined: 31 Oct 2013, 03:34

Post by ketakup » 31 Oct 2013, 04:24

abah_tea wrote:mau tanya dong...
script weather yg uptodate nilainya, apa ya...

-makasih-


mencoba mmbatu .. soalny ane baru makai jg ini si saucy =D
tadi d page sebelah ada conky manager GUI .. coba pakai itu aja

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install conky-manager


source page sblm ini ..
ke http://www.ubuntugeek.com/conky-manager ... files.html

om .. yg ada di pajewan tolong index in donk .. biar gampang nyari :blush:


User avatar
link72
Posts: 6
Joined: 27 Oct 2013, 06:23

Post by link72 » 12 Nov 2013, 16:34

cara instant instal conky tanpa ubah skript cek tkp gan : http://www.teejeetech.in/p/conky-manager.html


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests