Page 1 of 1
idesk 0.7.8
Posted: Sat May 20, 2023 5:08 pm
by Jerry3904
MXFB includes the large and not especially attractive Moka icon set for the sole purpose of providing png icons for desktop icons using idesk.
@ceeslans pointed out on slack this morning that
a new version of idesk was released a year and a half ago that along with other features allegedly can handle svg icons if "--enable-svg" is included during compilation. Repology shows a small handful of distros that have the most recent version though none that is Debian-based.
If possible, we would like to be able to test 0.7.8 during the beta period that starts in about a week. If results are positive then we could drop Moka and be able to use Papirus, giving a nice icon coherency and lightening our load.
TIA
Re: idesk 0.7.8
Posted: Tue May 23, 2023 8:24 pm
by Stevo
I'll take a look---I don't even remember if Debian or MX has it in the repos at all...
Re: idesk 0.7.8
Posted: Tue May 23, 2023 8:40 pm
by Jerry3904
Both have the current version, but as I said in OP neither has this and Repology shows no Debian-based distro with it.
Thanks.
Re: idesk 0.7.8
Posted: Wed May 24, 2023 5:22 pm
by Stevo
OK, I have the sources, so will try and build it later today.
Re: idesk 0.7.8
Posted: Wed May 24, 2023 5:34 pm
by Jerry3904
Excellent! Pls don't forget the svg part--ope it works...
Will the MX Test Repo be enabled for the beta phase? If yes, it would be ideal to put it there.
Re: idesk 0.7.8
Posted: Wed May 24, 2023 8:35 pm
by Stevo
Apparently the 0.7.5 version had some issues that Debian patched away, and 0.7.8 only partially addressed those.
I managed to build MX 23 versions with the svg support, but it can't find the libsvg2-dev headers in MX 21, even using pkg-config, even though both versions ship with similar .pc files that are supposed to accomplish that.
I don't know if a newer libsvg2 can be backported to MX 21, since it's getting tied to Rust and Cargo now.

Re: idesk 0.7.8
Posted: Wed May 24, 2023 8:37 pm
by dolphin_oracle
I would rather not break mx21 fluxbox users at this point with something unforeseen. lets just stick with mx23 for this idesk.
Re: idesk 0.7.8
Posted: Wed May 24, 2023 8:53 pm
by Jerry3904
Agreed.
Re: idesk 0.7.8
Posted: Thu May 25, 2023 4:50 pm
by Stevo
I'll send it to the MX 23 repo, then.
Re: idesk 0.7.8
Posted: Fri May 26, 2023 5:18 am
by i_ri
Hello Stevo and Jerry3904
yes the mx23 idesk 7.8 show icons of .svg
require Width: and Height: in .lnk
Re: idesk 0.7.8
Posted: Fri May 26, 2023 7:18 am
by Jerry3904
I guess you must have edited the link manually, right?
--added those two fields with values 48
--pasted in the location of the svg icon you wanted
We will need to revise mx-idesktool during beta to accommodate svg icons if we decide to stay with this version.
Re: idesk 0.7.8
Posted: Fri May 26, 2023 6:18 pm
by i_ri
yes. yes. yes. yes.
Jerry3904 guess correctly of manually.
Re: idesk 0.7.8
Posted: Sat May 27, 2023 7:11 am
by i_ri
Hello Jerry3904
mx-idesktool plus svg (?)
did some crude change with mx-idesktoolinclude
to accomplish selection of png and svg.
At the end of getting the crude changes to work by just plugging in 48 for newlnkfile values,
went back to it and added get_current_values for currentwidth and currentheight, then unset currentwidthvalue and currentheightvalue; then
set newlnkfile to default Width: currentwidthvalue and Height: currentheightvalue so that it looked, throughout, like all the other activities. It worked the same after adding all that, i don't know the difference.
I stopped at the crude working version to share it.
Without those latter changes the line numbers can be used for reference, because the line numbers did not change in this basis test version until
line 786 where the Width and Height are interjected as valueNUM 48.
To change icon the chooser might go to current working directory, it did that either cwd or iconplaceholder? New icon it might go to Papirus-Light. it would be nice if it defaulted to gtk-icon-theme-name(?) (Opening to icons is close enough.) The chooser wider show path. it works(?) for svg and png and xpm types. (?)
The last two changes 511, 554 do it. (?)
iconcheck equal icon (shortcut, renege); or verify a check for three types svg png xpm. (?)
mx-idesktoolinclude svg sample
line 1021 now 1023 hight change to height
line 33 . TEXT18 xpm or svg or png. (negated)
line 38 . TEXT23 Choose icon
line 72 . TEXT45 Choose icon
line 126. icondir= /Papirus-Light/48x48/apps
line 511. add svg|*.svg
line 554. iconcheck=$icon
sample
Re: idesk 0.7.8
Posted: Sat May 27, 2023 7:26 am
by Jerry3904
Well isn't that a great help! Thanks a lot.
<off to test it on the latest MX-23 FB>
Re: idesk 0.7.8
Posted: Sat May 27, 2023 7:55 am
by Jerry3904
Well,
@i_ri --
congratulations! It works well, and I was able to create a new link using an svg icon on a new user account that incorporates the very recent updates.
This gives us an excellent base to have a new version of idesktool ready soon. We will be reviewing it all, probably making some changes (default icon folder might be changed to the base papirus, for instance) and getting it out to users.
EDIT: I seem to lose all desktop icons when I close it, so we'll have to look at that if others have the same problem.