Interesting idea for a widget. Maybe could get Pmusic shrunken and integrated into Pwidgets, Hmmmmmmmm......wosifat wrote:Looking at http://conky.sourceforge.net, I see that it's possible to show info on what song is currently playing in the media player, but when I tried all I can get is "MPD: 0:00 ".
I notice that it says, "must be enabled at compile." Is it, and if not, how can I, and how hard would it be?
Conky 1.7.1.1
Puppy Linux Blog - contact me for access
This is how I added pmusic's info to conky in my puplet(lines from my conkyrc file):
Code: Select all
${if_existing /usr/bin/pmusic_conky.sh}
Pmusic ${execi 10 pmusic_conky.sh version} $alignr${execi 2 pmusic_conky.sh progress}%
${scroll 33 ${execi 3 pmusic_conky.sh info}}
${execibar 2 pmusic_conky.sh progress}
Code: Select all
cat > /usr/bin/pmusic_conky.sh << "EOF"
#!/bin/sh
WORKDIR="$HOME/.pmusic/tmp"
SONG="add music to playlist..."
TIME="..."
BITRATE="..."
PERCENT="0"
VERSION="...waiting..."
if [ -d $WORKDIR ];then
if [ -f $HOME/.pmusic/pmusicrc ];then
VERSION=`cat $HOME/.pmusic/pmusicrc | grep VERSION | sed 's/export VERSION=//g'`
fi
if [ "`cat $WORKDIR/pmusic-stop`" = "true" ];then
SONG="press the play button"
else
if [ -f $WORKDIR/pmusic-ffmpeg_NOW_PLAYING ];then
SONG=`cat $WORKDIR/pmusic-ffmpeg_NOW_PLAYING | head -n 1`
fi
if [ -f $WORKDIR/pmusic-ffmpeg_output ];then
cat $WORKDIR/pmusic-ffmpeg_output | grep bitrate | head -n 1| sed -e 's/: /=/g' | sed -e 's/, /\n/g' | sed -e 's/ //g' | sed -e 's/00://g'> $WORKDIR/my_conky_info.txt
. $WORKDIR/my_conky_info.txt
BITRATE=$bitrate
TIME=$Duration
fi
if [ -f $WORKDIR/pmusic-PERCENT_BAR ];then
PERCENT=`cat $HOME/.pmusic/tmp/pmusic-PERCENT_BAR | head -n 1`
fi
fi
fi
case "$1" in
info)
echo "$SONG $TIME $BITRATE "
;;
progress)
echo $PERCENT
;;
version)
echo $VERSION
;;
*)
echo $"Usage: $0 {info|progress|version}"
;;
esac
EOF
chmod +x /usr/bin/pmusic_conky.sh
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]
I have been following and using the info on this thread thanks, and a special thanks to those who take the trouble to post their config files. This is a huge help. But I am stuck now. Apparently, Conky can display the presence of unread emails using the 'new_mails' option, but I just cant figure out how to syntax it.
${colour grey}New Emails: $colour $new_mails
Stops conky from running, so I guess I am miles out. I guess a variable might be needed to tell conky where to look. I am using 4.1.1 Frugal. Can anyone help please?
${colour grey}New Emails: $colour $new_mails
Stops conky from running, so I guess I am miles out. I guess a variable might be needed to tell conky where to look. I am using 4.1.1 Frugal. Can anyone help please?
Spup Frugal HD and USB
Root forever!
Root forever!
Try adding the path to your mail. ie:
or for pop3 mail:
of course, replace "host", "user" and "pass" with your own.
imap mail can be used by replacing "pop3_unseen" with "imap_unseen"
Code: Select all
${new_mails /yourpathto/Mail/INBOX}
Code: Select all
${color green}NewMail: $color${pop3_unseen host user pass}
imap mail can be used by replacing "pop3_unseen" with "imap_unseen"
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Thanks Trapster, that did it. Here is a screenshot of the conky display I am currently using
and here is the relevant part of my conkyrc
and here is the relevant part of my conkyrc
Code: Select all
TEXT
${color grey}Networking:
${color grey}IP: ${color} ${addr wlan0} ${color grey}wifi signal: ${color red} ${wireless_link_qual_perc wlan0}
${color grey}Down:$color ${downspeed eth0} k/s - ${color grey}Up:$color ${upspeed eth0} k/s
${color #888888}${downspeedgraph wlan0 25,100 ff0000 0000ff} ${color #888888}${upspeedgraph wlan0 25,100 0000ff ff0000}
${color grey}Host: $color ${execi 180 ~/.conky_ip}
${color blue}$hr
${color grey}Processes:$color $processes
${color grey}CPU Usage:$color $cpu%
${color grey}${cpubar 3}
${color grey}RAM Usage:$color $mem/$memmax - $memperc%
${color grey}${membar 3}
${color grey}Swap Used:$color $swap/$swapmax - $swapperc%
${color grey}${swapbar 3}
${color grey}File systems:
/ $color${fs_free /}/${fs_size /}
${color grey}${fs_bar 3 /}
${color red}$hr
${color grey}Uptime: $color $uptime
${color #ddd}Battery: $color ${battery}
${color green}$hr$color
$sysname $kernel on $machine
${color grey}New Mail:${color red} ${new_mails /root/.mozilla/default/r3y1skkw.slt/Mail/pop.freeuk.com/Inbox}
${color yellow}$hr
Spup Frugal HD and USB
Root forever!
Root forever!
This solves a long term irritation I have with Seamonkey. I leave my email prog running minimised all the time, and have it set to periodically check for new mail. I have it set to play a sound when a new mail arrives, but that can be a bit sketchy on the reliability front, and of course, if I leave the area I miss it. I now have a visual indicator thanks to conky (and Trapster). I should change conkyrc so that the email indicator shows where my current wifi signal strength displays as this area of my screen is rarely obscured. This is great because it actually aids useability, and is not just eyecandy.........
Spup Frugal HD and USB
Root forever!
Root forever!
- Gorilla no baka
- Posts: 234
- Joined: Sun 26 Oct 2008, 05:27
- Location: UK
- Contact:
Re: Conky 1.6.1
Wolf Pup wrote:Note: Compiled without xdamage support.
Also, move xlock icon down, to above pupzip or conky will cover xlock icon.
For puppy3 nothing else is needed. For puppy 4 (dingo) libxcb and libidn are needed.
conky-1.6.1.pet
md5sum
-----------------------------
libxcb-1.0.pet
md5sum
libidn-0.6.10.pet
md5sum
Sorry for raising an old thread but everytime i click on one of those links it ask me for the password for
http://puppylinux.asia/
So how can i try the conky.pet please?? Do i have to register with someone or what???
Cheers!!
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]
@Gorilla no baka
user=puppy password=linux
We'll teach the Gorilla to bark!
user=puppy password=linux
We'll teach the Gorilla to bark!
Puppy Linux Blog - contact me for access
- Gorilla no baka
- Posts: 234
- Joined: Sun 26 Oct 2008, 05:27
- Location: UK
- Contact:
01micko wrote:@Gorilla no baka
user=puppy password=linux
We'll teach the Gorilla to bark!
here..
THere you go
http://www.youtube.com/watch?v=He82NBjJqf8
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]
1.7.11 overwrites existing .conkyrc
It happened to me, too ....DC wrote:Hi,
** a friendly warning **
the conky1.7.1.1.pet will overwrite a exsisting .conkyrc file
so back up if upgrading from a previous version
( I did not )
DC
Can one of the administrators or the OP be troubled to add a warning about this to the OP, please?
update_interval
Out of curiosity:
Is there a general guideline as to how system resource consumption changes in proportion to changes in update_interval? For example would changing the update_interval from 1.0 to 4.0 see a reduction in conky resource consumption of A: 75% B: 50% C: that depends... or D: why do you care?
Is there a general guideline as to how system resource consumption changes in proportion to changes in update_interval? For example would changing the update_interval from 1.0 to 4.0 see a reduction in conky resource consumption of A: 75% B: 50% C: that depends... or D: why do you care?
Follow the misadventures of "Timmy and his new puppy"
[url]http://puppylinuxnoob.blogspot.com/[/url]
About My Puppy: 4.3.1 FULL on a DELL INSPIRON B130
[url]http://puppylinuxnoob.blogspot.com/[/url]
About My Puppy: 4.3.1 FULL on a DELL INSPIRON B130
I like this one based on trapster's and dave's configs :
But it doesnt show internet addresses and ports ?
and cnn top stories ?
Code: Select all
background no
use_xft no
update_interval 5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent no
own_window_colour blue
double_buffer yes
minimum_size 125 5
draw_shades yes
draw_outline no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 10
gap_y 60
no_buffers yes
uppercase no
cpu_avg_samples 20
net_avg_samples 20
TEXT
$stippled_hr
$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}
${color lightgrey}Load:$color $loadavg
${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
$stippled_hr
${color #ddd}Battery: $color $battery
${color #ddd}CPU Temp: $color $acpitemp
${color #ddd}Fan Status:$color $acpifan
$color$stippled_hr
${color lightgrey}Networking:
${color grey}Wlan IP: ${color} ${addr wlan0} ${color grey}wifi signal: ${color red} ${wireless_link_qual_perc wlan0}
${color grey}Wired IP: ${color} ${addr eth0} ${color grey}
Down:${color #8844ee} ${downspeed wlan0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed wlan0} k/s
${color #ddaa00}Port(s)${alignr}#Connections
$color Inbound: ${tcp_portmon 1 32767 count}
Outbound: ${tcp_portmon 32768 61000 count}
ALL: ${tcp_portmon 1 65535 count}
${color #ddaa00}Inbound Connection ${alignr} Local Service/Port$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
$color$stippled_hr
${color lightgrey}File systems:
/ $color${fs_free /}/${fs_size /} ${fs_bar /}
${color}Name PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
$stippled_hr
${color light grey}Current Headlines:
$color ${execi 300 /root/my-applications/conky-personal/conky-rss.sh http://rss.cnn.com/rss/cnn_topstories.rss 4 2}
and cnn top stories ?
Conky Puppy precise 5.4.3 (2014)
Conky 1.7.1.1 the only one running in Puppy precise 5.4.3 (2014)
Newer failed
The problem : located above my icons. Can we change that ?
Newer failed
The problem : located above my icons. Can we change that ?
Last edited by Pelo on Sat 10 May 2014, 06:04, edited 1 time in total.
hi pelo,
you might be intrested in this conky 1.8.1.pet for precise ... includes conky switcher http://content.wuala.com/contents/666ph ... -1.8.1.pet
you might be intrested in this conky 1.8.1.pet for precise ... includes conky switcher http://content.wuala.com/contents/666ph ... -1.8.1.pet
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331