Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 21:33
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Conky 1.7.1.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Thu 25 Dec 2008, 04:31    Post subject:  

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?

Interesting idea for a widget. Maybe could get Pmusic shrunken and integrated into Pwidgets, Hmmmmmmmm...... Wink

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5564
Location: Valåmoen, Norway

PostPosted: Thu 25 Dec 2008, 05:08    Post subject:  

Pmusic keeps info about:
- Songname in /root/.pmusic/pmusic-ffmpeg_NOW_PLAYING
- Time in /root/.pmusic/pmusic-OLD_TIME

OLD_TIME is not really old. Most often 1 second behind. I could send the actual time to another file, but does it really matter ?

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
wow

Joined: 29 Jun 2006
Posts: 982
Location: Peru

PostPosted: Thu 25 Dec 2008, 22:29    Post subject:  



This is how I added pmusic's info to conky in my puplet(lines from my conkyrc file):
Code:
${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}

It takes info from an script. Copy and paste the whole code to a terminal window to create it:
Code:
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


Don't use it if you have an old computer, feel free to improve it.

_________________

Back to top
View user's profile Send private message 
wosifat

Joined: 29 Jun 2008
Posts: 104
Location: Madison Heights, VA

PostPosted: Fri 26 Dec 2008, 10:51    Post subject:  

Groovy, but haven't really grown to like Pmusic much yet. Would it be too much to ask for one for VLC?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 28 Dec 2008, 06:41    Post subject:  

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?

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 1997
Location: Maine, USA

PostPosted: Sun 28 Dec 2008, 11:13    Post subject:  

Try adding the path to your mail. ie:
Code:
${new_mails /yourpathto/Mail/INBOX}


or for pop3 mail:
Code:
${color green}NewMail: $color${pop3_unseen host user pass}


of course, replace "host", "user" and "pass" with your own.

imap mail can be used by replacing "pop3_unseen" with "imap_unseen"

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 28 Dec 2008, 14:09    Post subject:  

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
Code:
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!
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 28 Dec 2008, 14:37    Post subject:  

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!
Back to top
View user's profile Send private message 
Gorilla no baka


Joined: 26 Oct 2008
Posts: 234
Location: UK

PostPosted: Thu 05 Mar 2009, 04:46    Post subject: Re: Conky 1.6.1
Subject description: System Monitor
 

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!!

_________________


I'M IN MY OWN WORLD.
IT'S OK, THEY KNOW ME HERE..!!!
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Thu 05 Mar 2009, 04:57    Post subject:  

@Gorilla no baka

user=puppy password=linux

We'll teach the Gorilla to bark!

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Gorilla no baka


Joined: 26 Oct 2008
Posts: 234
Location: UK

PostPosted: Thu 05 Mar 2009, 11:19    Post subject:  

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

_________________


I'M IN MY OWN WORLD.
IT'S OK, THEY KNOW ME HERE..!!!
Back to top
View user's profile Send private message Visit poster's website 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Sat 30 May 2009, 13:06    Post subject:  

Conky updated to 1.7.0.
_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Fri 12 Jun 2009, 14:13    Post subject:  

Conky updated to 1.7.1.1
_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
DC


Joined: 30 Apr 2006
Posts: 353
Location: Maidenhead, England

PostPosted: Sun 14 Jun 2009, 12:12    Post subject:  

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 Shocked )

DC
Back to top
View user's profile Send private message 
cklammer


Joined: 26 Apr 2008
Posts: 28
Location: Abu Dhabi, United Arab Emirates

PostPosted: Thu 31 Dec 2009, 01:46    Post subject: 1.7.11 overwrites existing .conkyrc  

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 Shocked )

DC


It happened to me, too .... Rolling Eyes

Can one of the administrators or the OP be troubled to add a warning about this to the OP, please?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0920s ][ Queries: 13 (0.0060s) ][ GZIP on ]