You are not logged in.

#151 2019-09-21 16:51:40

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,541

Re: The great yad hacking thread

achim wrote:

Hello everybody,

I have installed a YAD script on a notebook with the operating system Linux Mint 18.3 - 64 Bit, in which the code line "--no-buttons --close-on-unfocus" does not work. Therefore, a question: does anyone have a similar problem or knows a solution? Here is the code:

#!/bin/sh
#
# Start-Center für verschiedene YAD-Scripts
#
TEXT="<span foreground='blue'><b><big><big>
Linux Tools

Bitte einen Modus wählen:
</big></big></b></span>"

yad --borders=50 --center --columns=2 --window-icon="$HOME/.icons/system22.png" --title="Achim's Linux-Tools Start Center" --form \
--width=800 --height=500 --fixed --text="$TEXT" \
--image="gtk-execute" \
--image-on-top \
--field="Backup / Restore":fbtn "tback.sh" \
--field="Handy auslesen":fbtn "tcopycam.sh" \
--field="Änderungsdatum Bilder":fbtn "toedat.sh" \
--no-buttons --close-on-unfocus

Greetings,
achim

Just state your yad version

yad --version

chances are you're using a version where the feature is not present.


New Horizons

Online

#152 2019-09-21 18:02:08

achim
Member
Registered: 2019-08-23
Posts: 16

Re: The great yad hacking thread

That will be so. It is the version 0.27 from the package of .Linux-Mint 18.3. Oddly, my desktop PC with Tower, also LM 18.3, uses version 0.39. Can I actually install a higher version without problems?

Offline

#153 2019-09-22 12:36:21

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,541

Re: The great yad hacking thread

achim wrote:

That will be so. It is the version 0.27 from the package of .Linux-Mint 18.3. Oddly, my desktop PC with Tower, also LM 18.3, uses version 0.39. Can I actually install a higher version without problems?

YAD is at 4.1 now (they jumped from 0.41 or so straight up). We've been shipping updated yad versions in BL Helium for a while and never had forward-incompatibilities. You should be able to install the higher version. Unless you use a package, remember to install into /usr/local though.


New Horizons

Online

#154 2019-09-22 16:27:08

achim
Member
Registered: 2019-08-23
Posts: 16

Re: The great yad hacking thread

thanks

Offline

#155 2019-10-28 03:11:21

misko_2083
Member
Registered: 2016-05-24
Posts: 242

Re: The great yad hacking thread

Found a use for the html dialog.
Made a fake title bar in a yad's paned window.
https://i.imgur.com/a6NX9hA.png

Used xdotool, xprop, wmctrl, CSS, HTML, bash and C (Xlib). Fun smile
https://www.youtube.com/watch?v=cwJMRKAQAMU

Offline

#156 2019-11-01 19:46:57

Anton
Member
From: СПб, Россия
Registered: 2019-04-11
Posts: 8

Re: The great yad hacking thread

misko_2083 wrote:

Да си жив и здрав.
You'll figure it out eventually.

I like to help but realy don't want to run those BLOBs in the archive.
It's more than enough having all those proprietary BLOBs in the linux kernel. smile

Done.

Offline

#157 2019-11-02 00:05:34

misko_2083
Member
Registered: 2016-05-24
Posts: 242

Re: The great yad hacking thread

Anton wrote:

So, my installer script was forked by the pirates to unpack pirated games.
And they even thank me in the instructions.
How thoughtful of them.

Offline

#158 2019-11-02 18:29:50

Anton
Member
From: СПб, Россия
Registered: 2019-04-11
Posts: 8

Re: The great yad hacking thread

misko_2083.
For example: Free game with it.
Look it (cat merged file) in action.
Installer template.
Thank you again for your help.

Last edited by Anton (2019-11-08 09:34:50)

Offline

#159 2019-11-02 20:03:54

Anton
Member
From: СПб, Россия
Registered: 2019-04-11
Posts: 8

Re: The great yad hacking thread

misko_2083 wrote:

Found a use for the html dialog.
Made a fake title bar in a yad's paned window.
https://i.imgur.com/a6NX9hAm.png

Used xdotool, xprop, wmctrl, CSS, HTML, bash and C (Xlib). Fun smile
https://www.youtube.com/watch?v=cwJMRKAQAMU

Where is the code?
RTX and lika is me there.

Last edited by Anton (2019-11-02 20:04:28)

Offline

#160 2019-11-05 19:39:51

misko_2083
Member
Registered: 2016-05-24
Posts: 242

Re: The great yad hacking thread

Anton wrote:

misko_2083.
Free game with it.
Look it (cat merged file) in action.
Installer template.
Thank you again for your help.

I've searched the forums for yad installer on rutracker.org and found some games than are not free.
htps://rutracker.org/forum/viewtopic.php?t=5696248
https://rutracker.org/forum/viewtopic.php?t=5630907
https://rutracker.org/forum/viewtopic.php?t=5497249
My initial conclusion was that you are captaing Jack Sparrow.
Apologies if not so.

Posted the code in the google groups.
I try to preserve the free space on the server of this forum.

Offline

#161 2019-11-07 22:06:07

Anton
Member
From: СПб, Россия
Registered: 2019-04-11
Posts: 8

Re: The great yad hacking thread

misko_2083 wrote:

I've searched the forums for yad installer on rutracker.org and found some games than are not free.
htps://rutracker.org/forum/viewtopic.php?t=5696248
https://rutracker.org/forum/viewtopic.php?t=5630907
https://rutracker.org/forum/viewtopic.php?t=5497249
My initial conclusion was that you are captaing Jack Sparrow.
Apologies if not so.

Posted the code in the google groups.
I try to preserve the free space on the server of this forum.

There is "Games for Linux" section.
There is no point publishing opensource/free games on that site (although they are, but they are very rare there).
I have been making repacks (90% bought by me) with earlier YSI versions since the end of August 2018. I started making installer with Zenity in the spring of 2018, but in the middle of summer 2018 I found out about YAD (on http://murga-linux.com/puppy/viewtopic.php?t=97458).

//07.11.2019 — YSI links updated

Last edited by Anton (2019-11-08 09:39:16)

Offline

#162 2019-11-09 20:23:39

misko_2083
Member
Registered: 2016-05-24
Posts: 242

Re: The great yad hacking thread

Relax, I'm only messing with you. :-D

I like the way you write the scripts.
They are readable. You have an eye for that.

Offline

Board footer

Powered by FluxBB