DebianDog Utilities

Miscellaneous tools
Message
Author
dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#61 Post 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.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#62 Post 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

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#63 Post 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

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#64 Post 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
Attachments
conkyclock.jpg
Conky-Clock preview
(94.38 KiB) Downloaded 1180 times
Last edited by fredx181 on Sun 14 Feb 2016, 08:58, edited 3 times in total.

stemsee

#65 Post by stemsee »

I tried installing your deb on wheezy and this
Attachments
capture7463.jpg
"to old" != "too old"
(10.25 KiB) Downloaded 1178 times
capture11757.jpg
(14.08 KiB) Downloaded 1166 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#66 Post 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

stemsee

#67 Post 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.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#68 Post 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
Attachments
clock.png
transparent clock on dpup wheezy
(171.87 KiB) Downloaded 434 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#69 Post 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
Attachments
conkyclock-v2-preview.jpg
Conky-Clock v2 on Jwm
(89.27 KiB) Downloaded 1013 times

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#70 Post 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

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#71 Post 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

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#72 Post 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

stemsee

#73 Post 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
}

stemsee

#74 Post 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.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

using xhplay/xhippo combination as universal file viewer

#75 Post 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

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#76 Post 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
Attachments
Conky clock on Ubuntu Mate 18.04 beta2.jpg
Fred's conky clock and yradio running on mainstream Ubuntu...
(117.35 KiB) Downloaded 475 times

Post Reply