Article 5N8HW Help with yad

Help with yad

by
cefer
from LinuxQuestions.org on (#5N8HW)
Hi
I am new with yad and i need help :)
I have this script:

#!/bin/bash
cmd=(
yad
--button="Office":libreoffice
--button="Text editor":geany
--button="Printer":'firefox "localhost:631"'
--button="File manager" : pcmanfm
--button="Terminal":xterm
--button="Videos":smplayer
)
"${cmd[@]}"

1) The line "Printer" not work. I think could be the colon, but i dont know how to make this work as expected

2) Buttons are show in horizontal line one to right to the previous. I wish to display one under another. It is possible?

Thanks in advancelatest?d=yIl2AUoC8zA latest?i=fmwgPaSXOFE:w07fB5HhDF4:F7zBnMy latest?i=fmwgPaSXOFE:w07fB5HhDF4:V_sGLiP latest?d=qj6IDK7rITs latest?i=fmwgPaSXOFE:w07fB5HhDF4:gIN9vFwfmwgPaSXOFE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments