Re: My start and stop oneko script

Michael De Roover <[email protected]> Tue, 19 Aug 2025 05:33:00 +0200
Newsgroups gmane.comp.xfce.user
Message-ID <[email protected]>
--===============5193308853081366506==
Content-Type: multipart/alternative; boundary=Apple-Mail-BF46369E-A4CE-4290-AD43-1C4FB35EA049
Content-Transfer-Encoding: 7bit


--Apple-Mail-BF46369E-A4CE-4290-AD43-1C4FB35EA049
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Todd and Margo,

I do not have oneko or xfce installed, but am reasonably proficient in bash.=
 The code looks reasonably simple so far. No promises, but I=E2=80=99ll try t=
o take a closer look at it once I=E2=80=99m in front of =E2=80=9Cnot a fruit=
 phone=E2=80=9D.

Could you list the expected values of =E2=80=98kitty.sh list=E2=80=99 (expec=
ted output, current find /usr/share -maxdepth 3 =E2=80=A6, and what the List=
Themes() function currently outputs)? Please be precise, I=E2=80=99m doing t=
his blind and will only have those text blobs to work with.

I would also like to draw your attention to this line:
if [ "$Th" !=3D "default" ]; then
It would seem that $Th is undefined.

Met vriendelijke groet,
Michael De Roover

Mail: [email protected]
Web: michael.de.roover.eu.org

> On 19 Aug 2025, at 02:15, ToddAndMargo <[email protected]> wrote:
>=20
> =EF=BB=BFOn 8/17/25 4:34 AM, ToddAndMargo wrote:
>> Hi All,
>> Thank you all for the gracious help is locating
>> installable mouse themes.
>> This is the script I created with your help to start
>> and stop oneko.
>> http://vpaste.net/ATZQV
>> I placed two launchers on my desktop to start oneko and
>> stop oneko.
>> -T
>=20
>=20
> I do not know if any of you read my script, but one
> things stands out.
>=20
>   xfconf-query --channel xsettings --property /Gtk/CursorThemeName --set  d=
efault
>=20
>   if [ "$Theme" !=3D "default" ]; then
>      xfconf-query --channel xsettings --property /Gtk/CursorThemeName --se=
t  $Theme
>   fi
>=20
> You have to set yourself back to "default" before selecting a new theme.  T=
his has something to do with oneko and is not required otherwise.
> _______________________________________________
> Xfce mailing list
> [email protected]
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org

--Apple-Mail-BF46369E-A4CE-4290-AD43-1C4FB35EA049
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto">Hi Todd and Margo,<div><br></div><div>I do n=
ot have oneko or xfce installed, but am reasonably proficient in bash. The c=
ode looks reasonably simple so far. No promises, but I=E2=80=99ll try to tak=
e a closer look at it once I=E2=80=99m in front of =E2=80=9Cnot a fruit phon=
e=E2=80=9D.</div><div><br></div><div>Could you list the expected values of =E2=
=80=98kitty.sh list=E2=80=99 (expected output, current&nbsp;<span style=3D"c=
aret-color: rgb(99, 99, 99); color: rgb(99, 99, 99); font-family: -apple-sys=
tem-ui-monospaced, Menlo; font-size: 0.87em; white-space: pre;">find /usr/sh=
are -maxdepth 3 =E2=80=A6</span>, and what the ListThemes() function current=
ly outputs)? Please be precise, I=E2=80=99m doing this blind and will only h=
ave those text blobs to work with.</div><div><br></div><div>I would also lik=
e to draw your attention to this line:</div><div><pre data-reader-unique-id=3D=
"0" style=3D"font-family: -apple-system-ui-monospaced, Menlo; font-size: 0.8=
7em; line-height: 1.45em; max-width: 100%; caret-color: rgb(99, 99, 99); col=
or: rgb(99, 99, 99); white-space: pre;">if [ "$Th" !=3D "default" ]; then</p=
re></div><div>It would seem that $Th is undefined.</div><div><br></div><div>=
<div dir=3D"ltr">Met vriendelijke groet,<div>Michael De Roover</div><div><br=
></div><div>Mail: [email protected]</div><div><span style=3D"background-colo=
r: rgba(255, 255, 255, 0);">Web: michael.de.roover.eu.org</span></div></div>=
<div dir=3D"ltr"><br><blockquote type=3D"cite">On 19 Aug 2025, at 02:15, Tod=
dAndMargo &lt;[email protected]&gt; wrote:<br><br></blockquote></div><bl=
ockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF<span>On 8/17/25 4:34 AM, T=
oddAndMargo wrote:</span><br><blockquote type=3D"cite"><span>Hi All,</span><=
br></blockquote><blockquote type=3D"cite"><span>Thank you all for the gracio=
us help is locating</span><br></blockquote><blockquote type=3D"cite"><span>i=
nstallable mouse themes.</span><br></blockquote><blockquote type=3D"cite"><s=
pan>This is the script I created with your help to start</span><br></blockqu=
ote><blockquote type=3D"cite"><span>and stop oneko.</span><br></blockquote><=
blockquote type=3D"cite"><span>http://vpaste.net/ATZQV</span><br></blockquot=
e><blockquote type=3D"cite"><span>I placed two launchers on my desktop to st=
art oneko and</span><br></blockquote><blockquote type=3D"cite"><span>stop on=
eko.</span><br></blockquote><blockquote type=3D"cite"><span>-T</span><br></b=
lockquote><span></span><br><span></span><br><span>I do not know if any of yo=
u read my script, but one</span><br><span>things stands out.</span><br><span=
></span><br><span> &nbsp;&nbsp;xfconf-query --channel xsettings --property /=
Gtk/CursorThemeName --set &nbsp;default</span><br><span></span><br><span> &n=
bsp;&nbsp;if [ "$Theme" !=3D "default" ]; then</span><br><span> &nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;xfconf-query --channel xsettings --property /Gtk/CursorThe=
meName --set &nbsp;$Theme</span><br><span> &nbsp;&nbsp;fi</span><br><span></=
span><br><span>You have to set yourself back to "default" before selecting a=
 new theme. &nbsp;This has something to do with oneko and is not required ot=
herwise.</span><br><span>_______________________________________________</sp=
an><br><span>Xfce mailing list</span><br><span>[email protected]</span><br><span=
>https://mail.xfce.org/mailman/listinfo/xfce</span><br><span>http://www.xfce=
.org</span><br></div></blockquote></div></body></html>=

--Apple-Mail-BF46369E-A4CE-4290-AD43-1C4FB35EA049--

--===============5193308853081366506==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Xfce mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce
http://www.xfce.org

--===============5193308853081366506==--