YAD 0.40.2 is out

343 views
Skip to first unread message

Victor Ananjevsky

unread,
Dec 18, 2017, 4:45:02 PM12/18/17
to yad-c...@googlegroups.com

This is a bugfix release

Changelog:
- fix --image-path option
- fix typos in man page


Download from https://github.com/v1cont/yad/releases/tag/v0.40.2

--
Victor Ananjevsky <anan...@gmail.com>

Julio C. Neves

unread,
Dec 19, 2017, 4:43:49 AM12/19/17
to yad-c...@googlegroups.com
Thanks for developing this terrific software, Victor

Abraços,
Julio

» Não tem tempo para fazer um curso presencial?
» Na sua cidade não tem nenhum bom curso de Linux?
» O treinamento está muito caro?

Ministramos um excelente treinamento de Shell,
no formato EAD. Veja os detalhes aqui.

Damos treinamento em sua empresa com certificado
e nota fiscal por um preço, no mínimo, 50% abaixo
de qualquer curso.

​​
Nosso time de instrutores in company é formado somente por
autores
​ ​
de Best Sellers
​ ​
​laureados ​sobre os temas. P. exemplo:

Shell básico e Programação em Shell Julio Neves
Bacula Heitor Medrado
Zabbix Adail Host
Produção Gráfica e Videografismo Cadunico










--
Victor Ananjevsky <anan...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "yad-common" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Luiz Alberto Monteiro

unread,
Dec 20, 2017, 6:59:32 AM12/20/17
to yad-common
Não consegui atualizar para essa nova versão 0.40.2, pois baixei, descompactei e aparentemente não estão presentes alguns arquivos da compilação , por ex o "configure"

Victor Ananjevsky

unread,
Dec 20, 2017, 7:33:33 AM12/20/17
to yad-c...@googlegroups.com
sorry, cannot speack in portuguese, but if i understand you correct -
you must run "autoreconf -ivf && intltoolize" before ./configure

В Wed, 20 Dec 2017 03:59:32 -0800 (PST)
Luiz Alberto Monteiro <laomo...@gmail.com> писал:
> > Victor Ananjevsky <anan...@gmail.com <javascript:>>
> >
>
> --
> You received this message because you are subscribed to the Google Groups "yad-common" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


--
Victor Ananjevsky <anan...@gmail.com>

Julio C. Neves

unread,
Dec 20, 2017, 8:10:00 AM12/20/17
to yad-c...@googlegroups.com
Hi Victor,
He sayed "I couldn't upgrade to the version 0.40.2, I downloaded, unzipped and looks like some compilation's files are not present, eg configure"

Abraços,
Julio

» Não tem tempo para fazer um curso presencial?
» Na sua cidade não tem nenhum bom curso de Linux?
» O treinamento está muito caro?

Ministramos um excelente treinamento de Shell,
no formato EAD. Veja os detalhes aqui.

Damos treinamento em sua empresa com certificado
e nota fiscal por um preço, no mínimo, 50% abaixo
de qualquer curso.

​​
Nosso time de instrutores in company é formado somente por
autores
​ ​
de Best Sellers
​ ​
​laureados ​sobre os temas. P. exemplo:

Shell básico e Programação em Shell Julio Neves
Bacula Heitor Medrado
Zabbix Adail Host
Produção Gráfica e Videografismo Cadunico









--
You received this message because you are subscribed to the Google Groups "yad-common" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+unsubscribe@googlegroups.com.

Yad Bash-Bobby

unread,
Jan 1, 2018, 4:38:50 PM1/1/18
to yad-common
I just found this out today too. Can't compile version 0.40.2. 

The build files are included in yad version 0.40.0 if needed: 

Yad Bash-Bobby

unread,
Jan 1, 2018, 5:56:24 PM1/1/18
to yad-common

Just compiled Yad 0.40.0 (has the build files included- configure file) (Yad 9.40.2 are missing these build files)


Compiled on: q4os Orion (Debian Jessie) 64bit AMD. 

   Q4OS Development Pack

   sudo apt-get install intltool

   sudo apt-get install gtk+2.0


with following terminal command:

./configure && make && sudo checkinstall


Created yad.40.0.deb as well.





On Monday, December 18, 2017 at 1:45:02 PM UTC-8, Victor Ananjevsky wrote:

Yad Bash-Bobby

unread,
Jan 1, 2018, 10:13:34 PM1/1/18
to yad-common
I meant in my last post that the build files appear to be missing in Yad 0.40.2 but, are in 0.40.0

On Monday, December 18, 2017 at 1:45:02 PM UTC-8, Victor Ananjevsky wrote:

Marcos C

unread,
Jan 12, 2018, 10:19:54 AM1/12/18
to yad-common
Hi I am attempting to write a wifi scan and connect gui, that uses --list and in fact the script generates a tab per interface and this plugs into yad --notebook.  The problem I want to solve is that the yad gui has to close in order to update/refresh scan results data (text) as it is it can only accumulate scan data as appendages.  Could you add '--update' or detail how to accomplish the task! Here is my testing code for one instance, but my knowledge of programming is very basic.


PATTERN='s/^.*Address: ([0-9A-Z:]*)/\n\1/p 
s/^.*Quality=([^ ]*).*Signal level=(.*)/\1 \2/p 
s/^.*key:([onf]*)/~\1~/p 
s/^.*ESSID://p'

mkfifo /tmp/pipe
exec 4<>/tmp/pipe

while true; do echo "`iwlist wlan0 scan | sed -rn "$PATTERN" | tac`" >&4; sleep 5; done &
yad --list --item-separator=';' --columns=5 --column=wlan0 --column=security --column=signal --column=mac --column=save:CHK <&4 &


cheers

Милош Павловић

unread,
Jan 12, 2018, 7:34:37 PM1/12/18
to yad-common
It's a little tricky to have check box in the list dialog because it reloads on each loop cycle. If there was an option to ignore input for some columns (e.g. --ignore-columns) you could do this.
What you can do is to add a button to refresh the list.
#!/bin/bash


mkfifo
/tmp/pipe
exec 4<>/tmp/
pipe

trap
"rm -f /tmp/pipe" EXIT

REFRESH_DIALOG
(){
 
# clears list
 echo
-e "\f" >> /tmp/pipe
 
# loads data
 printf
"%s\n" "$(date '+%H:%M:%S')" "" "New" "" >> /tmp/pipe
}
export -f REFRESH_DIALOG

yad
--list \
     
--width=200 \
     
--height=300 \
     
--item-separator=';' \
     
--columns=2 \
     
--column=Time \
     
--column=Chk:CHK \
     
--sep-column=1 \
     
--button="OK;gtk-ok":0 \
     
--button="Cancel;gtk-cancel":1 \
     
--button="Exit;exit":2 \
     
--button="Refresh;gtk-refresh":'bash -c "REFRESH_DIALOG %1"' <&4 & YPID=$!

printf
"%s\n" "$(date '+%H:%M:%S')" "" >&4

wait $YPID
# Print return status of process $YPID
echo $
?

exec 4>&-

exit 0

Victor Ananjevsky

unread,
Jan 20, 2018, 3:21:53 PM1/20/18
to yad-c...@googlegroups.com
hi

you can cleanup content of list dialog by sending LINEFEED character to dialog's stdin. after that you can set new list content. all of that available in --listen mode

and why you use iwlst? maybe wpa_supplicant and parsing wpa_cli output is more fastionable?
> > Victor Ananjevsky <anan...@gmail.com <javascript:>>
> >
>
> --
> You received this message because you are subscribed to the Google Groups "yad-common" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


--
Victor Ananjevsky <anan...@gmail.com>

Marc Conta

unread,
Feb 18, 2018, 1:11:53 PM2/18/18
to yad-common
Thank you Victor and Manow

I found and adapted an example you posted previously! Similar to the above. Works great.

I have not yet tried this with notebook where each interface scans repeatedly, and tries to reconnect on the plug key '$$', this seems impossible as the plug already exists.  Beyond my knowledge.

Thanks again Victor, yad is fun and useful, makes easy work of GUIs.
Marcos

------------------------------------------------------------------------------------------
#!/bin/bash

test -e /tmp/yadpipe03 && rm -f /tmp/yadpipe03

# Named pipe initialization
export PIPE_03=/tmp/yadpipe03
mkfifo $PIPE_03
exec 3<> $PIPE_03

function clear_all
{
PATTERN='
s/^.*Address: ([0-9A-Z:]*)/\n\1/p 
s/^.*Quality=([^ ]*).*Signal level=(.*)/\1 \2/p 
s/^.*key:([onf]*)/~\1~/p 
s/^.*ESSID://p' 
while true
do
  iwlist wlan4 scan | sed -rn "$PATTERN" | tac > $PIPE_03
  sleep 12
  echo -e '\f'
done
}
export -f clear_all

# Main Dialog
Record=($(yad --list --separator="|" --grid-lines=hor \
    --width=300 --height=200 --center \
    --title="Wifi-Scanner" \
    --text="Example" \
    --dclick-action=echo -e $1 > /tmp/net \
    --column "AP ssid" --column "Encryption" --column "qualiy/strength" --column "bssid" --column "Check:CHK"\
    --button="Start Scannning!gtk-clear":'bash -c "clear_all > $PIPE_03"' \
    --button="OK!gtk-ok":0 \
    --listen --print-all < $PIPE_03))
Action=$?

echo ${Record[@]}
--------------------------------------------------------------------------------------------------------------

stemsee

unread,
Mar 5, 2018, 5:54:35 AM3/5/18
to yad-common
Hi Victor

If you run this script and try to resize the gui it jumps about all over the place ... what's going on with it?

Marc


On Monday, December 18, 2017 at 9:45:02 PM UTC, Victor Ananjevsky wrote:

Julio C. Neves

unread,
Mar 5, 2018, 8:08:33 AM3/5/18
to yad-c...@googlegroups.com
Why .deb and webupd8 team stopped at yad 0.39 since 06/2017? Can we help?

Abraços,
Julio

» Não tem tempo para fazer um curso presencial?
» Na sua cidade não tem nenhum bom curso de Linux?
» O treinamento está muito caro?

Ministramos um excelente treinamento de Shell,
no formato EAD. Veja os detalhes aqui.

Damos treinamento em sua empresa com certificado
e nota fiscal por um preço, no mínimo, 50% abaixo
de qualquer curso.

​​
Nosso time de instrutores in company é formado somente por
autores
​ ​
de Best Sellers
​ ​
​laureados ​sobre os temas. P. exemplo:

Shell básico e Programação em Shell Julio Neves
Bacula Heitor Medrado
Zabbix Adail Host
Produção Gráfica e Videografismo Cadunico









--
You received this message because you are subscribed to the Google Groups "yad-common" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages