
Conky scripts
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
13 years ago
Version 0.2: Added weather script and minor tweak
Version 0.3: Updated ReadMe
SouLjah
9 years ago
Report
Majki-Fajki
10 years ago
Conky: window type - normal
Conky: drawing to created window (0x3000001)
Conky: drawing to double buffer
Segmentation Fault
Report
2037841
11 years ago
Just installed the scripts (archlinux), but it won't run....i tested to start the scripts alone and this works.
this is what conky says:
bash-3.2$ conky
Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
Conky: desktop window (1000024) is subwindow of root window (1a7)
Conky: window type - normal
Conky: drawing to created window (0x2c00001)
Conky: drawing to double buffer
Speicherzugriffsfehler
bash-3.2$ close failed in file object destructor:
Error in sys.excepthook:
Original exception was:
(ending with stg+c)
strace-output:
munmap(0xb6e0f000, 4096) = 0
SYS_331(0xbff810f8, 0x80000, 0xb7bc1ff4, 0x8ee9c10, 0x1) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7859708) = 3409
--- SIGCHLD (Child exited) @ 0 (0) ---
close(6) = 0
fcntl64(5, F_SETFD, 0) = 0
fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e0f000
read(5, "available (7)"..., 4096) = 13
read(5, ""..., 4096) = 0
close(5) = 0
waitpid(3409, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 3409
munmap(0xb6e0f000, 4096) = 0
mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x20000, -1, 0) = 0xb65ed000
mprotect(0xb65ed000, 4096, PROT_NONE) = 0
clone(child_stack=0xb6ded4b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb6dedbd8, {entry_number:6, base_addr:0xb6dedb90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb6dedbd8) = 3410
SYS_331(0xbff810f8, 0x80000, 0xb7bc1ff4, 0x8eeaaf8, 0x1) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7859708) = 3411
close(7) = 0
fcntl64(6, F_SETFD, 0) = 0
fstat64(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8067000
read(6, <unfinished ...>
+++ killed by SIGSEGV +++
bash-3.2$ close failed in file object destructor:
Error in sys.excepthook:
Original exception was:
thanks!
Report
pfeoora
11 years ago
Report
tjwoosta
12 years ago
Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
Conky: desktop window (88) is root window
Conky: window type - normal
Conky: drawing to created window (0x1600001)
Conky: drawing to double buffer
Conky: MPD error: problems getting a response from "localhost" on port 6600 : Connection refused
Segmentation fault
[tj@myhost ~]$ Traceback (most recent call last):
File "/usr/bin/weatherget", line 648, in <module>
temp_units = head().ut()[0].strip()
File "/usr/bin/weatherget", line 331, in __init__
self.head = tag_contents('head', forecast().forecast)[0]
IndexError: list index out of range
im using archlinux and i installed weatherget through aur
i have opened port 6600 on my router and it still says connection refused
i checked if the port was open with canyouseeme.org but it says its closed
also i have examined lines 648 and 331 of /usr/bin/weather but i dont understand python anyway
please help me get this working
Report
ben2talk
10 years ago
mpd_host localhost
mpd_port 6600
Are you using MPD? If not then just comment out these lines in the script. If you are, then search to find out how to 'set up conky mpd'.
If you can't work it out, then delete those three lines and do it again.
Report
ben2talk
10 years ago
${if_running audacious2}${goto 25}${font dejavu:bold:size=10}${goto 25}${scroll 12 ${exec audtool2 --current-song}}${alignr} ${color white}${exec audtool current-song-output-length}/${exec audtool current-song-length}${color }${goto 25}
${goto 23}${execbar expr 100 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)}${else}
${goto 23}${color1}${hr}${color }
${goto 26}${font dejavu:bold:size=7}${execi 60 fortune -s | fold -w45}
${color1}${hr}${endif}
If you close Audacious, then you'll get a fortune cookie instead.
Report
Kshegzyaj
12 years ago
You can find it right here :
http://kshegzyaj.deviantart.com/art/Vorta-Conky-and-Tint-102547121
http://www.gnome-look.org/content/show.php?content=92498
Tried to send you a mail, but something went wrong :/
Report
cyf3732
12 years ago
Report
cyf3732
12 years ago
Quote:https://andyxxxx@gmail.com:xxxxxxx@@mail.google.com/mail/feed/atom: Bad port number.
Traceback (most recent call last):
File "/home/andywxy/scripts/gmail.py", line 15, in <module>
fc=int(msg[index+11:index2])
ValueError: invalid literal for int() with base 10: ''
What should I do mate? I'm using Arch too ...
Report
Philsan
13 years ago
Report
InfiniteMonkey
13 years ago
Report
lyrae
13 years ago
Report
Biyabo
13 years ago
gethostbyname: Unknown host
what do I do? I've tried to search for answers but I can't find out the solution.
Report
Biyabo
13 years ago
Report
cocox
13 years ago
could you please post how you get it fixed, have the same error here :(
Report
milleniumdare
12 years ago
"Email: ${color e0e0e0}${pop3_unseen **server name** **user name** **password**} new messages"
either delete this line or enter the correct details of your POP server.
Hope this helps :D
Report
msart2k
13 years ago
but one question: arch-update don't work for me because you need to be root zu run pacman -Syup ... in pacsync.sh
how do it works?
Report
lyrae
13 years ago
Report
msart2k
13 years ago
i've made an mistake in rc.conf...
Report
cebolla
13 years ago
cheers
Report
cebolla
13 years ago
Report
ThrowRocksAtMe1
13 years ago
Report
wikiguy12345
13 years ago
THANKS FOR EVERYTHING
(is my first time using conky :P)
Report
lyrae
13 years ago
About mpd, try this guide http://ubuntuforums.org/showthread.php?t=320469&highlight=mpd&page=4.
My distro is Arch so I don't know whether it helps. Type conky in the ubuntu forum and you will see a lot of informations that should help you.
Report