Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

Calling for MX-18 conkies

Any MX 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 MX 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
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#21 Post by Jerry3904 »

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: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
asqwerth
Developer
Posts: 7180
Joined: Sun May 27, 2007 5:37 am

Re: Calling for MX-18 conkies

#22 Post by asqwerth »

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
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#23 Post by Jerry3904 »

(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: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
asqwerth
Developer
Posts: 7180
Joined: Sun May 27, 2007 5:37 am

Re: Calling for MX-18 conkies

#24 Post by asqwerth »

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
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#25 Post by Jerry3904 »

Neither of those conkies recognizes that I have Clementine playing (Brad Mehldau Trio, Ode, from my cache in Dropbox).
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
asqwerth
Developer
Posts: 7180
Joined: Sun May 27, 2007 5:37 am

Re: Calling for MX-18 conkies

#26 Post by asqwerth »

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
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#27 Post by Jerry3904 »

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: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#28 Post by Jerry3904 »

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: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

male

Re: Calling for MX-18 conkies

#29 Post by male »

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.

User avatar
Jerry3904
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Calling for MX-18 conkies

#30 Post by Jerry3904 »

That looks like fun, thanks
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “Art Discussion”