Page 4 of 4

Posted: Mon 20 Jul 2015, 06:31
by dancytron
Tried DogRadio in Openbox Jessie. Worked well. No problem adding Custom Stations (local NPR Stations) or Stations from off the list (BBC World News).

Very nice.

Posted: Tue 21 Jul 2015, 21:03
by fredx181
Thanks for the feedback, Dan!
Glad you like it.
For a more polished version, 0.0.3, see my previous post (Edit2)

http://www.murga-linux.com/puppy/viewto ... 507#854507

Fred

Posted: Tue 08 Sep 2015, 16:36
by fredx181
**** DogRadio new version ****

Edited my post (Edit3 and Edit4) in this thread, here:
http://www.murga-linux.com/puppy/viewto ... 507#854507

Fred

Posted: Mon 16 Nov 2015, 22:17
by fredx181
Hi All,

*** Conky-Clock ***

Choose analog clock to display on the desktop, using yad GUI.

Perhaps a bit overdone to make a special app for choosing a clock display, but it was fun for me to make and to explore more of the 'yad' options.
Partly taken from here:
http://murga-linux.com/puppy/viewtopic.php?t=72815
Thanks very much to battleshooter and the one(s) who created the clock.lua script and the beautiful "clock_face" images, there's lots to choose from. :)

Note: Requires yad version 0.26 or higher.
Other dependencies: wmctrl , hsetroot (wmctrl to check which window manager is active, e.g. JWM, special treatment using hsetroot for transparency) , liblua and conky-all.

Download:
Removed conkyclock_0.0.1_all.deb, see Edit below for newer (fixed) version 0.0.2

Install from terminal in directory from where inside is the downloaded file: conkyclock_0.0.2_all.deb:

Code: Select all

dpkg -i conkyclock_0.0.2_all.deb
apt-get -f install # force installing extra required dependencies
Run from Menu> Utility (JWM) or Menu> Accessories (Openbox-xfce)

Edit: New version 0.0.2, fixed checking for the right yad version number, see next post from Stemsee
https://googledrive.com/host/0ByBgCDlZZ ... .2_all.deb

Fred

Posted: Tue 17 Nov 2015, 10:48
by stemsee
I tried installing your deb on wheezy and this

Posted: Tue 17 Nov 2015, 16:43
by fredx181
Hi Stemsee,
I tried installing your deb on wheezy and this
...
Yes, thanks for reporting, the point is that I had never seen the yad version output like that (2 columns)

Fixed by changing line 11 in /usr/local/bin/conkyclock:

Code: Select all

VERSION=`yad --version`
to:

Code: Select all

VERSION=`yad --version | awk '{ print $1 }'`
Which will output the version number only and should work well this way.

So fixed in version 0.0.2, see Edit and download link in above Conky-Clock post

Edit: Btw, on which wheezy you were trying to install it? Dpup Wheezy perhaps or simillar puppy?
Note that this thread is for DebianDog utilities, not for any puppy (although the .deb packages can be installed with some modifying of course)

Fred

Posted: Wed 18 Nov 2015, 00:08
by stemsee
Thanks Fred

On puppy Dpup wheezy, working fine now.

Might have been even nicer with a pseudo/transparent background.

This yad version I compiled with html enabled, maybe that has something to do with the two column string.

Posted: Wed 18 Nov 2015, 09:49
by fredx181
stemsee wrote:On puppy Dpup wheezy, working fine now.

Might have been even nicer with a pseudo/transparent background.
On DD Jwm it has transparency.
The script needs to know which wallpaper is active, on DD it finds it in ~/.config/rox.sourceforge.net/ROX-Filer/pinbd (<backdrop style=.........)

Just creating a symlink works, but only if wmctrl and hsetroot is installed:

Code: Select all

ln -s ~/Choices/ROX-Filer/PuppyPin ~/.config/rox.sourceforge.net/ROX-Filer/pinbd
Fred

Posted: Fri 20 Nov 2015, 19:06
by fredx181
Hi All,

*** Conky-Clock v2 "deLuxe Edition" ***

Warning: For real Clock Maniacs only!!! :D

Changes compared to the more simple Conky-Clock from earlier posted in this thread:
- Choice from 300 clock images with all different appropriate hands
- Option to display the date on the clock (requires imagemagick installed)
- Option to set the size of the clock
- Much larger size of the package (almost 14MB uncompressed)

Images and shell scripts taken from here:
http://jbaseb.deviantart.com/art/Conky- ... -286955767
But very much modified for use with yad GUI

Download:
https://googledrive.com/host/0ByBgCDlZZ ... .1_all.deb

Install from terminal in directory from where inside is the downloaded file: conkyclock2_1.0.1_all.deb:

Code: Select all

dpkg -i conkyclock2_1.0.1_all.deb
apt-get -f install # force installing extra required dependencies 
Run 'Conky Clock v2' from Menu> Utility (JWM) or Menu> Accessories (Openbox-xfce)

Fred

Posted: Mon 15 Feb 2016, 19:19
by greengeek
fredx181 wrote:*** Dog-Radio ***
Yet another internet radio stream program, this one uses yad with icons GUI and tray-icon.
Hi, does this require a particular version of yad? I have not succeeded with getting it running correctly on Slacko 5.6.
It appears to start but has no gui - just a tray icon that does nothing so I thought maybe it required a certain version of yad. Thread here

Posted: Wed 17 Feb 2016, 23:02
by fredx181
greengeek wrote:
fredx181 wrote:*** Dog-Radio ***
Yet another internet radio stream program, this one uses yad with icons GUI and tray-icon.
Hi, does this require a particular version of yad? I have not succeeded with getting it running correctly on Slacko 5.6.
It appears to start but has no gui - just a tray icon that does nothing so I thought maybe it required a certain version of yad. Thread here
Yes, probably it won't work with old yad version 0.12 that some puppies still have included.
For me v0.20 and above works well.

from pet.specs:
dogradio-_0.0.6_all|dogradio|_0.0.6_all||Multimedia|3748K||dogradio_0.0.6_all.pet|+libc6, +gtk2-engines-murrine, +yad, +sed, +conky, +mplayer, +file, +streamripper|DogRadio||||

gtk2-engines-murrine is not really required but makes it look more smooth.
streamripper: also optional, for ripping streams (right-click tray-icon menu> Rip stream)

Fred

Posted: Thu 18 Feb 2016, 21:13
by fredx181
*** New DogRadio v 0.0.6 ***

See for more info and .deb download, Edit6 here:

http://www.murga-linux.com/puppy/viewto ... 507#854507

Topic by Stemsee and .pet download, see here:

http://murga-linux.com/puppy/viewtopic.php?t=105384

Fred

Posted: Sat 20 Feb 2016, 09:57
by stemsee
Hi Fred

I have 2 feature requests for DogRadio!

One is a toggle switch to change from btheadset to default output and back.
two is a button to select bt speaker from an hcitool scan and write its mac address to /etc/asound.conf or export the mac address as a variable.

asound.conf entry for two bluetooth speaker devices ... replace mac addresses with variable or write directly the mac address to the config.

Code: Select all

defaults.pcm.device 0
defaults.pcm.card 0
pcm.btheadset {
   type plug
   slave {
       pcm {
           type bluetooth
           device 13:28:36:00:BB:EF
           profile "auto"
       }
   }
   hint {
       show on
       description "BTHeadset"
   }
}
ctl.btheadset {
  type bluetooth
}

pcm.btheadset1 {
   type plug
   slave {
       pcm {
           type bluetooth
           device CC:C5:0A:67:D7:39
           profile "auto"
       }
   }
   hint {
       show on
       description "Headset"
   }
}
ctl.btheadset1 {
  type bluetooth
}

Posted: Tue 23 Feb 2016, 11:01
by stemsee
I wrapped the addition to func script thusly

Code: Select all

btcon=`hcitool con | rev | cut -f1 -d ':'`
if [ ! -z "$btcon" ]; then
shopt -s expand_aliases 
alias mplayer='mplayer -ao alsa:device=btheadset "$@"' 
fi
Now auto-switches to configured sound card if no bluetooth connection is found. This is very general and will not differentiate between a speaker and keyboard bluetooth connection, at the moment.

using xhplay/xhippo combination as universal file viewer

Posted: Sat 15 Jul 2017, 16:32
by wiak
mcewanw wrote:Description

xhippo is a very resource-efficient versatile and extensible media player both in terms of its tiny installation size and in its RAM usage.
...
xhippo is a generic playlist manager program/process control program (source in C).

With the included backends: xhplay, and xhrecord, it can play all sorts of audio and video media (the playlist can contain a mix of audio and video types) and also record audio (mp3, wav, ogg, aac, and flac) via the included xhrecord
Just discovered that xhplay/xhippo combination is even more flexible/powerful than I realised - can work with mixed playlists of AV media and image files (e.g. gif, animated gifs, png, jpeg) and even pdf, doc, and html files if you like! Just needed adding extra copies of existing mcewanw code snippets into xhplay but in these altering program file extensions and viewer program names as per here:

http://www.murga-linux.com/puppy/viewto ... 816#960816

xhplay with xhippo turns out to be an amazing efficient universal file type player/viewer combination.

wiak

Posted: Fri 13 Apr 2018, 23:58
by Moat
fredx181 wrote:Hi All,

*** Conky-Clock ***

Choose analog clock to display on the desktop, using yad GUI.
Just thought I'd mention this, in case anybody else is experiencing the issue (although this pertains to Ubuntu Mate 18.04 beta2, I imagine it could very well be an issue on other desktop environments);

On this Mate install, I've found Fred's conky clock has a tendency to spontaneously disappear from the desktop on clicking around menus/desktop elements/etc - the simple fix is to modify the ~/.conky/analog_clock1/.conkyrc_analog1, line 10, from -

own_window_type desktop or* own_window_type normal *(doh - can't recall which one it was originally... :? ) - to;

own_window_type dock

Seems to now be perfectly stable. 8)

Bob