Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Calling for MX-18 conkies

Any ML member can start threads and post in this section. Feel free to express your views, make requests, offer support, give ideas - basically anything to do with MEPIS art. Art usually is an "in the eye of the beholder" thing - so please respect everyone's right to their own personal taste!
Message
Author
User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 23069
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#21 Post by Jerry3904 » Fri Nov 16, 2018 7:55 am

More of the same...

1) That toggle was placed in Favorites with MX-17. If you upgraded from an earlier version and kept home, then you won't see it there.
2) If you type the first couple of letters of the word "conky" into the top search area of Whisker menu, the toggle appears at the top of the list.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3667
Joined: Sun May 27, 2007 5:37 am

Re: Calling for MX-18 conkies

#22 Post by asqwerth » Fri Nov 16, 2018 1:58 pm

BBQ-Digital
- modified from a conky from a LinuxBBQ release with XFCE (2014-2015)
- media player script is the same one in my earlier post
BBQDocDigitalConky-colours-clem.png
You do not have the required permissions to view the files attached to this post.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 23069
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#23 Post by Jerry3904 » Fri Nov 16, 2018 2:14 pm

(I love BF, have seen him many times in concert)

That's nice. I wonder if we could also separate out the Clementine what's playing, b/c I have a nice little DeaDBeeF one.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3667
Joined: Sun May 27, 2007 5:37 am

Re: Calling for MX-18 conkies

#24 Post by asqwerth » Fri Nov 16, 2018 2:30 pm

Managed to see Bela Fleck and the Flecktones live once. Amazing.
...wonder if we could also separate out the Clementine what's playing, b/c I have a nice little DeaDBeeF one.
You mean a deadbeef script for conky?

Maybe you need one of those "if-then-else" or "if-running" type of lines to choose between different media players. You would need someone better at programming to do it, though. Maybe fehlix?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 23069
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#25 Post by Jerry3904 » Fri Nov 16, 2018 3:41 pm

Neither of those conkies recognizes that I have Clementine playing (Brad Mehldau Trio, Ode, from my cache in Dropbox).
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3667
Joined: Sun May 27, 2007 5:37 am

Re: Calling for MX-18 conkies

#26 Post by asqwerth » Fri Nov 16, 2018 3:53 pm

1. is the script executable?
2. do you have python3 installed?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 23069
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#27 Post by Jerry3904 » Fri Nov 16, 2018 3:53 pm

I see why: you (I guess) moved the player to a subfolder and didn't change the script. Now works. I also added a line for wlan0 and slightly adjusted spacing.

Here is the changed code for NET and MUSIC:

Code: Select all

${goto 12}+----${color3}Net${color}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- eth0${goto 125}${addr eth0}
${goto 15}|${goto 38}+-- wlan0${goto 125}${addr wlan0}
${goto 15}|${goto 40}
${goto 15}|${goto 38}+-- Up
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${upspeedf wlan0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totalup wlan0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Down
${goto 15}|${goto 40} ${goto 60}+-- Speed${goto 125}${downspeedf wlan0}KiB
${goto 15}|${goto 40} ${goto 60}+-- Total${goto 125}${totaldown wlan0}KiB
${goto 15}|
${goto 12}+----${color3}Music (Clementine)${color}
${goto 15} ${goto 40}|
${if_match "${execi 10 python3 $HOME/.conky/BBQ-Digital/mediaplayer.py clementine -i}"=="yes"}${goto 15} ${goto 38}+-- ${execpi 4 python3 $HOME/.conky/BBQ-Digital/mediaplayer.py clementine -a -w 45}
${goto 15} ${goto 38}+-- ${execpi 4 python3 $HOME/.conky/BBQ-Digital/mediaplayer.py clementine -m -w 43}
${goto 15} ${goto 38}+-- ${execpi 4 python3 $HOME/.conky/BBQ-Digital/mediaplayer.py clementine -t -w 43}
${goto 15} ${goto 40} ${goto 60}+-- ${execpi 4 python3 $HOME/.conky/BBQ-Digital/mediaplayer.py clementine -l -w 43}
${goto 15} ${goto 40} ${goto 60}+-- ${execpi 4 python3 $HOME/.conky/BBQ-Digital/mediaplayer.py clementine -e -w 43}
${else}${goto 15} ${goto 38}+-- Clementine Not Running\
${endif}
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 23069
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#28 Post by Jerry3904 » Fri Nov 16, 2018 4:21 pm

Here is the corrected music code for Bridoux

Code: Select all

${font Arial:bold:size=10}${color white}MUSIC ${color2}${hr 2}
##
##Clementine using mediaplayer.py script; orig ${font Open Sans:size=9}
${if_match "${execi 10 python3 $HOME/.conky/MX-bridouz/mediaplayer.py clementine -i}"=="yes"}
${color3}${font Open Sans:size=9}${execpi 4 python3 $HOME/.conky/MX-bridouz/mediaplayer.py clementine -tamlr -w 45}
${if_match "${execi 4 python3 $HOME/.conky/MX-bridouz/mediaplayer.py clementine -p}"=="Unknown"}\
Progress: ${alignr}Unknown
${else}\
Progress:
${color2}${execibar 4 python3 $HOME/.conky/MX-bridouz/mediaplayer.py clementine -p}
${execi 20 python $HOME/.conky/MX-bridouz/mediaplayer.py clementine -c /tmp/cover.jpg}${image /tmp/cover.jpg -p 114,678 -s 70x70 -n}
I also added in the wlan0 address line, now looks like this:
You do not have the required permissions to view the files attached to this post.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
male
Forum Regular
Forum Regular
Posts: 325
Joined: Thu Jan 23, 2014 8:38 am

Re: Calling for MX-18 conkies

#29 Post by male » Fri Nov 16, 2018 5:19 pm

and here's a simple code for deadbeef as ticker
yours must adapt it yourself :happy:

Code: Select all

--deadbeef als Laufschrift
--male im Oktober 2017
conky.config = {
	use_xft = true,
	font = 'monofur:size=12',
	xftalpha = 0.8,
	update_interval = 1,

	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',  --
--own_window_argb_visual = true,
--own_window_argb_value = 0,

	double_buffer = true,

	alignment = 'bottom_right',
	gap_x = 10,
	gap_y = 20,
	minimum_width = 360, minimum_height = 50,
	maximum_width = 360,

	draw_shades = false,
	draw_outline = false,
	draw_borders = false,

	no_buffers = true,
	cpu_avg_samples = 2,
	net_avg_samples = 2,
	override_utf8_locale = true,

	color0 = 'EAEAEA',
	color1 = 'CDC439',
};

conky.text = [[
${if_running deadbeef-gtkui}
${if_match "${execi 1 /usr/bin/deadbeef --nowplaying "%a - %t" 2>/dev/null | sed 's/\!//g'}" == "nothing"}\
${alignc}deadbeef: ${color1}plays nothing${color}\
${else}\
${voffset -15}${font monofur:pixelsize=18}\
${if_match "${execi 5 /usr/bin/deadbeef --nowplaying "%y" 2>/dev/null}" == ""}\
${scroll 50 2 ${execi 16 /usr/bin/deadbeef --nowplaying "%a - %t" 2>/dev/null}}\
${else} ${if_match "${execi 5 /usr/bin/deadbeef --nowplaying "%y" 2>/dev/null}" == "0"}\
${scroll 50 2 ${execi 16 /usr/bin/deadbeef --nowplaying "%a - %t" 2>/dev/null}}\
${else} ${scroll 50 2 ${execi 16 /usr/bin/deadbeef --nowplaying "%a - %t (%y)" 2>/dev/null}}${endif}\
${endif}\
${font monofur:pixelsize=10:style:bold}\
${execi 1 /usr/bin/deadbeef --nowplaying "%e / %l" 2>/dev/null}${endif}${font}
${else}${alignc}deadbeef: ${color1}is not open\
${endif}
]];
You do not have the required permissions to view the files attached to this post.
Male is the capital of the Maldives and its wonderful people.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 23069
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#30 Post by Jerry3904 » Fri Nov 16, 2018 5:23 pm

That looks like fun, thanks
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

Post Reply

Return to “Art Discussion”