Page 3 of 9

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sat Feb 01, 2020 7:43 am
by junoluna
thanks

center click works fine

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sat Feb 01, 2020 4:43 pm
by Jerry3904
So I can get some eyes on this revised code, here in the mxflux_install script with 1) backups placed now inside .restore/fluxbox/, 2) all backups dated per DO's code, 3) new backups of iDesk components if .idesktop is present.

I did not include DO's error message if the backup of existing fluxbox fails because I hope to avoid having to back through the translation process--but will if people really think it's necessary. Likewise I changed only the location URL inside MESSAGE, thinking that it could be done as a batch sed inside the existing translations folder, along with a change in the one translation that has since been made.

Code: Select all

#!/bin/bash

#mx-fluxbox-install

##ASSUMPTIONS##
#1) that fluxbox and idesk have been installed
#2) that this script has been placed in /usr/bin/mxflux/
#3) that the tarball from https://github.com/jerry3904/mx-fluxbox has been extracted and placed in 
#/usr/share/mxflux/

TEXTDOMAINDIR=/usr/share/locale 
export TEXTDOMAIN="mx-fluxbox"

MESSAGE=$"This will install into your Home folder components that MX-flux requires in order to run.  Any existing fluxbox configuration will be backed up as <i>$HOME/.restore/fluxbox/fluxbox_BAK</i>"
END_MSG=$"To start a fluxbox session: log out, select <i>fluxbox</i> from the pull-down menu in the upper right corner, and log back in."

##begin message box
yad --text="


<b>$MESSAGE</b>" --title=$"OK to proceed?" --window-icon=/usr/share/icons/mxflux.png --geometry=400x40 --text-align=center 
##end message box

if [ ! "$?" = "0" ]; then
    exit 0
fi

#set up fluxbox

if [ -d "$HOME/.fluxbox" ]; then
    mv $HOME/.fluxbox $HOME/.restore/fluxbox/fluxbox_bak_.$(date +%Y%m%H%M%S) 
fi

if [ ! "$?" = "0" ]; then
	exit 1
fi

cp -r /usr/share/mxflux/.fluxbox "$HOME"

#set up idesk

if [ ! -d "$HOME/.idesktop/" ]; then
    mkdir -p "$HOME"/.idesktop/
    else 
    cp -r $HOME/.idesktop $HOME/.restore/fluxbox/idesktop_.$(date +%Y%m%H%M%S)
    cp $HOME/.ideskrc $HOME/.restore/fluxbox/ideskrc_.$(date +%Y%m%H%M%S)
fi

cp /usr/share/mxflux/.fluxbox/components/idesk/fluxhelp.lnk "$HOME"/.idesktop/fluxhelp.lnk

cp /usr/share/mxflux/.fluxbox/components/idesk/.ideskrc "$HOME"/.ideskrc

cp /usr/share/mxflux/.fluxbox/components/.fehbg "$HOME"/.fehbg

#set up the system monitors
cp -r /usr/share/mxflux/.fluxbox/components/.gkrellm2 "$HOME"/.gkrellm2

sleep 2

#start concluding message
yad --text="


<b>$END_MSG</b>" --title=$"All done!" --window-icon=/usr/share/icons/mxflux.png --geometry=400x40 --text-align=center 
#end concluding message

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sat Feb 01, 2020 4:46 pm
by Jerry3904
I also changed the two toolbar scripts, legacy and userlast, but not worth reviewing here IMO.

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sun Feb 02, 2020 7:56 am
by Jerry3904
This thread seems to be running out of steam...

:snooze: :snooze: :snooze:

Could someone who doesn't already know it please do a bit of testing on MX-idesktool? A lot of work went into that app and we would like to see how users respond.

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sun Feb 02, 2020 9:32 am
by chrispop99
Jerry3904 wrote: Sun Feb 02, 2020 7:56 am This thread seems to be running out of steam...

:snooze: :snooze: :snooze:

Could someone who doesn't already know it please do a bit of testing on MX-idesktool? A lot of work went into that app and we would like to see how users respond.
I was able to create an icon that launched Firefox, and had a Firefox icon that could be dragged anywhere with the right mouse button.

I didn't find it totally intuitive, but would have no trouble repeating it for other things.

Chris

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sun Feb 02, 2020 9:45 am
by Jerry3904
Thanks, Chris. Which part was not totally intuitive?

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sun Feb 02, 2020 9:49 am
by chrispop99
chrispop99 wrote: Sun Feb 02, 2020 9:32 am
Jerry3904 wrote: Sun Feb 02, 2020 7:56 am This thread seems to be running out of steam...

:snooze: :snooze: :snooze:

Could someone who doesn't already know it please do a bit of testing on MX-idesktool? A lot of work went into that app and we would like to see how users respond.
I was able to create an icon that launched Firefox, and had a Firefox icon that could be dragged anywhere with the right mouse button.

I didn't find it totally intuitive, but would have no trouble repeating it for other things.
[Later...]

I didn't like the default icon text colour, so I changed it in .idesk.rc to a pale grey that roughly matches the MX Logo on the wallpaper. The RGB code is #B3B3B3.

Chris

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sun Feb 02, 2020 9:55 am
by Jerry3904
I didn't like the default icon text colour
Sorry, but which icon? The Help one with the question marks?

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sun Feb 02, 2020 9:57 am
by chrispop99
Jerry3904 wrote: Sun Feb 02, 2020 9:45 am Thanks, Chris. Which part was not totally intuitive?
The creation tool 'Left click command'. The layout of that pane is odd; Between the first line beginning NOTE, and the second line beginning runs, there seems to be too much space, so the second line looks like it is referring to the text entry box for the left-click command. It's like a carriage return is in the wrong place. If that spacing could be revised it would be clearer. Also, perhaps the wording for that text entry box could be something like 'Application to run'?

(Trivial - after 'Left click command', there are two colons.)

Chris

Re: MX-Fluxbox 2.0 beta testing thread

Posted: Sun Feb 02, 2020 9:59 am
by chrispop99
Jerry3904 wrote: Sun Feb 02, 2020 9:55 am
I didn't like the default icon text colour
Sorry, but which icon? The Help one with the question marks?
No, the text that appears under the created icon. It's a sort of kingfisher blue by default.

Chris