Hello, I upgrade from Lutuntu 14.04 to 16.04 yesterday and one script does not run properly now. Previously, I make a script to extract the window title of VLC (to show the title of the current track on a webradio), but since the upgrade it doesn't work. The command line used to extract the data is :
Code:
line=$(exec xlsclients -l | grep "VLC" | cut -c -9 --complement | cut -d "-" -f 1-2)
Code:
# first list all windows open, filter for VLC, cut to have only the 2 firsts datas with "-" as separator
LUbuntu / bash get VLC window title
Aucun commentaire:
Enregistrer un commentaire