MX-23 beta 1 feedback thread

Message
Author
User avatar
Melber
Developer
Posts: 1311
Joined: Tue Mar 23, 2021 4:19 pm

Re: MX-23 beta 1 feedback thread

#421 Post by Melber »

back to idesk...In case we can't get svg icons working.

I added an svg check to the geticon function in mx-idesktool.
If the selected icon is an svg a png copy is placed in ~/.icons/idesk and gets used by idesk.

Code: Select all

geticon()
{
if [ "$comefrom" = "modif" ]; then
        iconplaceholder="${currenticon}"
else
        iconplaceholder="${icondir}"
fi
#echo "current icon is " "${iconplaceholder}"

cd "${iconplaceholder%/*}"

icon="$($DIALOG --title="Commands" \
                --width=600 --height=500 --center \
                --button="$TEXT7":3 --button="$TEXT8":1 \
                --button="$TEXT9":0 --title "$TEXT23" \
                --text="$TEXT19": \
                --file-selection="${iconplaceholder}" \
                --file-filter="png, svg | *.png *.PNG *.svg *.xpm" \
                --filename="${iconplaceholder}")"

retval=$?

icon="$(echo "${icon}"  | cut -d '|' -f 2)"

if [[ $icon == *.svg ]]; then

    if [ ! -d  ~/.icons/idesk ]; then
        mkdir ~/.icons/idesk
    fi

    icon_pngname="$(basename "${icon}" | sed -e "s/\.svg/\.png/")"
    icon_pngname=~/.icons/idesk/$icon_pngname

    rsvg-convert -w 48 -h 48 $icon -o $icon_pngname

    icon=$icon_pngname

fi

case ${retval} in
        0) iconvalidate
           ;;
        3) if [ "${comefrom}" = "modif" ]; then
                modifycommands
           else
                newcommands
           fi
           ;;
        *) argynope
           ;;
esac
}
Creating new icons and editing existing icons works okay for me.
quickshot_230611_233522.png

Script attached if someone wants to test. (the geticon function starts at line 495 if you're looking for it)
You'll need to install librsvg2-bin first, it's not installed by default.
idesktest.tar.gz
You do not have the required permissions to view the files attached to this post.

User avatar
Jerry3904
Administrator
Posts: 23223
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23 beta 1 feedback thread

#422 Post by Jerry3904 »

Excellent, nice to have an exit strategy. Thanks for the suggestion @i_ri.

Btw, Stevo says he did all that stuff so this is the way we're headed now. Will test tonight.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 23223
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23 beta 1 feedback thread

#423 Post by Jerry3904 »

Script did not work for me. First I had to change l. 551 to get rid of an error:

Code: Select all

mkdir -p ~/.icons/idesk
Then I ran it again, identified the icon, program said it was reloading and then no icon on the desktop--in spite of the fact that the folders were created and the icon in png format was placed inside. Tried that twice, same result. Too late to track down the error tonight.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 22277
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX-23 beta 1 feedback thread

#424 Post by dolphin_oracle »

Jerry3904 wrote: Sun Jun 11, 2023 9:24 pm Script did not work for me. First I had to change l. 551 to get rid of an error:

Code: Select all

mkdir -p ~/.icons/idesk
Then I ran it again, identified the icon, program said it was reloading and then no icon on the desktop--in spite of the fact that the folders were created and the icon in png format was placed inside. Tried that twice, same result. Too late to track down the error tonight.
@Melber
except for adding the -p to the mkdir command, seems to be OK. will play around and try to break it.

I find the icons are being created one overtop of the other. so making a new icon sometimes comes under an existing one. seems like new icons all show up a 400 x 500. that's probably an existing bug that's never been noticed before. you can see the overlap in the attached screenshot and a second shot that shows them seperated. "fred2" was created under "fred"


might also be nice if the size was from the icon or icon's folder rather than always 48.
You do not have the required permissions to view the files attached to this post.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
asher
Posts: 57
Joined: Fri Dec 02, 2022 7:21 pm

Re: MX-23 beta 1 feedback thread LAMP Install Issues with SOLUTION

#425 Post by asher »

Hi I have been checking out MX 23 Beta on a Virtual Machine GREAT JOB!!!!

When installing a LAMP server.
When doing a search it came up with this page:
https://mxlinux.org/wiki/networking/lamp-setup/

however the New Apache set up is much different than the last one.
So I created an up today way of setting up Apache and MariaDB(mostly the same, some changes)

I am not sure how to use gufw(Firewall Configuration) that well. So my instructions are cli with ufw.

I created the file in a .odt LibreOffice Writer. If you want it in another format just let me know.

Can we have a collaboration for this help file?

https://htmlpreview.github.io/?https:// ... nMX23.html

To download the original .odt file go to:

https://github.com/Asher-Simcha/updatePage

The old page is at: https://mxlinux.org/wiki/networking/lamp-setup/

User avatar
asher
Posts: 57
Joined: Fri Dec 02, 2022 7:21 pm

Re: MX-23 beta 1 feedback thread

#426 Post by asher »

Installed XFCE BETA 23
Installing kate AND clicking on Also Install “Recommended” Packages.
When installing kate the terminal emulator does not WORK.
In the package could you please also include the terminal emulator. The package is konsole, in general this is the default terminal for KDE I believe but I installed XFCE and then kate.

PS The reason that I bring this up is that it took me weeks as a noob just to get the terminal to work with kate.

User avatar
i_ri
Posts: 1104
Joined: Tue Jun 30, 2015 12:26 am

Re: MX-23 beta 1 feedback thread

#427 Post by i_ri »

hello dolphin_oracle
mx-idesktool substitute
Stores a png in home and uses the png for idesk icon.
accepts svg, xpm, png.
uses <libimlib2-dev>
i forgot to consider it not default..
You do not have the required permissions to view the files attached to this post.

User avatar
Jerry3904
Administrator
Posts: 23223
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23 beta 1 feedback thread LAMP Install Issues with SOLUTION

#428 Post by Jerry3904 »

asher wrote: Mon Jun 12, 2023 2:15 am Hi I have been checking out MX 23 Beta on a Virtual Machine GREAT JOB!!!!

When installing a LAMP server.
When doing a search it came up with this page:
https://mxlinux.org/wiki/networking/lamp-setup/

however the New Apache set up is much different than the last one.
So I created an up today way of setting up Apache and MariaDB(mostly the same, some changes)

I am not sure how to use gufw(Firewall Configuration) that well. So my instructions are cli with ufw.

I created the file in a .odt LibreOffice Writer. If you want it in another format just let me know.

Can we have a collaboration for this help file?

https://htmlpreview.github.io/?https:// ... nMX23.html

To download the original .odt file go to:

https://github.com/Asher-Simcha/updatePage

The old page is at: https://mxlinux.org/wiki/networking/lamp-setup/
That is really helpful, thanks! We will definitely be making use of that draft to revise the Wiki page in the near future.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 23223
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23 beta 1 feedback thread

#429 Post by Jerry3904 »

i_ri wrote: Mon Jun 12, 2023 2:35 am hello dolphin_oracle
mx-idesktool substitute
Stores a png in home and uses the png for idesk icon.
accepts svg, xpm, png.
uses <libimlib2-dev>
i forgot to consider it not default..
How does this relate to @Melber's posted script above that we're currently testing?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 23223
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23 beta 1 feedback thread

#430 Post by Jerry3904 »

Jerry3904 wrote: Sun Jun 11, 2023 9:24 pm Script did not work for me. First I had to change l. 551 to get rid of an error:

Code: Select all

mkdir -p ~/.icons/idesk
Then I ran it again, identified the icon, program said it was reloading and then no icon on the desktop--in spite of the fact that the folders were created and the icon in png format was placed inside. Tried that twice, same result. Too late to track down the error tonight.
Now by the light of day and switching user accounts--works fine! I'm going to upload that for packaging tomorrow for the b2 build.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Locked

Return to “General”