MX-21 MX-Fluxbox
Re: MX-21 MX-Fluxbox
OK. I just finished it and uploaded it to my repo, will send a link after final test.
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
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: MX-21 MX-Fluxbox
Hello Jerry3904, everyone
How are you doing?
mxfb-Quickshot
A thought toward having a way to select the destination folder for Quickshot
might be nice on a right-click of a Quickshot launcher [tint2(?)]; along with left-click to launch Quickshot; and maybe automatic fullscreen capture with middle-click(?)
Four files here work together; the paths.
To change destination directory for Quickshot is /mxquUsedconfig.
mxquUsedconfig changes the DESTDIR value in /home/user/.config/MX-Linux/mxfb-quickshot.conf.
file mxquUsedconfig in /home/user/.config/MX-Linux/
An intermediary, optional Dialog box is an alternative to build on, so this /mxquU gtkDialog is available for launch, called to invoke /mxquUsedconfig to change the DESTDIR value in /home/user/.config/MX-Linux/mxfb-quickshot.conf.
mxquU reflects the current Save directory for Quickshot; a button press will bring the Folder chooser from /mxquUsedconfig.
What else can you think of for this Dialog?
Yo ceeslans, your rootmenu custom screenshot menu scripts can be button actions on this gtkDialog(?) [default must follow chosen destination file, so reading of user conf. file for scrot DESTDIR when arguments can be static. After that custom is custom.]
For default maybe button actions top+ to++ bottom+++ from smaller file-size captures to better quality, larger file-size preconfigured captures into DESTDIR (not by user conf, values. That is left-click for user conf. capture. Unless you want one button to represent, record the default++ left-click conf.)
And the configurations You best like.
Select a Quickshot scenario. Pick Quickshot. Pick Quickshot.
The Quickshot directory chooser button.
file mxquU in /home/user/.config/MX-Linux/
This the /home/user/.config/MX-Linux/mxfb-quickshot.conf.
file mxfb-quickshot,conf in /home/user/.config/MX-Linux/
To fool the usr/bin/mxfb-quickshot will show Folder chooser on first run
is this modified usr/bin/mxfb-quickshot.
Once the Save-to Folder selection has been made (cancel chooses home/user) by the user, no need of messages yad info window display; after Actual Notice of destination configuration.
Creating Folder Qaptur is the first-run contrivance.
Presence of a Folder in /user named Qaptur will bypass the directory chooser in the script.
The scrot command is simplified for this trial; options and variables can be worked back into the scrot(?) okay(?) to suit. Ready, It is currently reading all the variables from /mxfb-quickshot.conf.
file mxfb-quickshot in /usr/bin
How are you doing?
mxfb-Quickshot
A thought toward having a way to select the destination folder for Quickshot
might be nice on a right-click of a Quickshot launcher [tint2(?)]; along with left-click to launch Quickshot; and maybe automatic fullscreen capture with middle-click(?)
Four files here work together; the paths.
To change destination directory for Quickshot is /mxquUsedconfig.
mxquUsedconfig changes the DESTDIR value in /home/user/.config/MX-Linux/mxfb-quickshot.conf.
file mxquUsedconfig in /home/user/.config/MX-Linux/
Code: Select all
#! /bin/bash
# mxquUsedconfig, companion mxfb-quickshot
files=`yad --file --directory --title="Quickshot folder"`
if [ "$files" = "" ] ; then
exit 1
else
dir_path=`dirname "$files"`
uDNI=`dirname "$files"/$(basename "$files")`
base_name=$(basename "$files")
fi
source ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
sed -i s,${DESTDIR},${uDNI}, ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
mxquU reflects the current Save directory for Quickshot; a button press will bring the Folder chooser from /mxquUsedconfig.
What else can you think of for this Dialog?
Yo ceeslans, your rootmenu custom screenshot menu scripts can be button actions on this gtkDialog(?) [default must follow chosen destination file, so reading of user conf. file for scrot DESTDIR when arguments can be static. After that custom is custom.]
For default maybe button actions top+ to++ bottom+++ from smaller file-size captures to better quality, larger file-size preconfigured captures into DESTDIR (not by user conf, values. That is left-click for user conf. capture. Unless you want one button to represent, record the default++ left-click conf.)
And the configurations You best like.
Select a Quickshot scenario. Pick Quickshot. Pick Quickshot.
The Quickshot directory chooser button.
file mxquU in /home/user/.config/MX-Linux/
Code: Select all
#! /bin/bash
# mxquU requires mxquUsedconfig, companion mxquUsedconfig
# inside this cho_1dest, mxquUsedconfig.
# A copy of the script that the Folder sedconfig button does action;
# also inserted into, for first use of, usr/bin/mxfb-quickshot
#
cho_1dest() {
files=`yad --file --directory --title="Quickshot folder"`
if [ "$files" = "" ] ; then
exit 1
else
dir_path=`dirname "$files"`
uDNI=`dirname "$files"/$(basename "$files")`
base_name=$(basename "$files")
fi
source ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
sed -i s,${DESTDIR},${uDNI}, ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
}
#
source ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
export DIALOG=$(cat <<End_of_Text
<window title="Qscreenshot" window-position="1">
<vbox>
<frame $DESTDIR>
<frame Quickshot>
<button>
<label> FFolder config </label>
<action>${HOME}/.config/MX-Linux/mxquUsedconfig &</action>
<action type="exit">Qscreenshot</action>
</button>
</frame>
</frame>
</vbox>
</window>
End_of_Text
)
I=$IFS; IFS=""
for STATEMENTS in $(gtkdialog --program DIALOG); do
eval $STATEMENTS
done
IFS=$I
file mxfb-quickshot,conf in /home/user/.config/MX-Linux/
Code: Select all
# mxfb-quickshot.conf
#
#DESTDIR="${XDG_PICTURES_DIR}"
DESTDIR=/home/demo/Qaptur
#NAME="`date +%y%m%d_%M%S_`\$wx\$h"
NAME="zz"
SUF="jpg"
PRE=""
#### Options####
## Consult 'man scrot' for other options ##
# Automatically take a full-screen shot with high quality
#OPTION="-q 100"
# Interactively select a window (click anywhere) or draw a rectangle with the mouse for a high-quality shot.
OPTION="-s -q 89"
is this modified usr/bin/mxfb-quickshot.
Once the Save-to Folder selection has been made (cancel chooses home/user) by the user, no need of messages yad info window display; after Actual Notice of destination configuration.
Creating Folder Qaptur is the first-run contrivance.
Presence of a Folder in /user named Qaptur will bypass the directory chooser in the script.
The scrot command is simplified for this trial; options and variables can be worked back into the scrot(?) okay(?) to suit. Ready, It is currently reading all the variables from /mxfb-quickshot.conf.
file mxfb-quickshot in /usr/bin
Code: Select all
#! /bin/bash
# mxfb-quickshot in /bin requires mxfb-quickshot.conf
#
## this app was developed by tenner and can be downloaded in its original at http://tenr.de/snippets/scripts/shot.sh
## modified for use with MX-Fluxbox and released October 2020 under GPLv3
## reworked by MX Devs April-August 2021
export TEXTDOMAIN=mxfb-quickshot
export TEXTDOMAINDIR="/usr/share/locale"
TEXT1="Location"
TEXT2="Name"
TEXT3="Options"
## the following parameters are set in ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
#DESTDIR="${XDG_PICTURES_DIR}"
#NAME="`date +%y%m%d_%M%S`"
#SUF="png"
#PRE=""
cd ${HOME}
if [ ! -f "$HOME/.config/MX-Linux/mxfb-quickshot.conf" ]; then
cp /usr/share/mxfb-quickshot/mxfb-quickshot.conf $HOME/.config/MX-Linux/mxfb-quickshot.conf;
fi
[ -r "$HOME/.config/user-dirs.dirs" ] && source "$HOME/.config/user-dirs.dirs"
cho_1dest() {
files=`yad --file --directory --title="Quickshot folder"`
if [ "$files" = "" ] ; then
exit 1
else
dir_path=`dirname "$files"`
uDNI=`dirname "$files"/$(basename "$files")`
base_name=$(basename "$files")
fi
source ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
sed -i s,${DESTDIR},${uDNI}, ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
}
if ! [ -d ${HOME}/Qaptur ] ; then
mkdir ${HOME}/Qaptur &
cho_1dest
fi
source ${HOME}/.config/MX-Linux/mxfb-quickshot.conf
display_help() {
cat << EOF
Usage: `basename "$0"` [-r/r/-w/w/-b/b] [-png|png|-jpg|jpg]
EOF
}
take_3shot() {
cd ${DESTDIR}
scrot ${OPTION}
}
if [ $# -gt 2 ]
then
display_help
exit 1
elif [ $# -eq 0 ]
then
take_3shot
exit 0
else
case "$1" in
-r|r|-R|-r|root|Root|-root|-Root)
OPTION=""
;;
-w|w|-W|-W|window|Window|-window|-Window)
OPTION="-s"
#PRE="part_"
;;
-b|b|-B|-B|border|Border)
OPTION="-sb"
#PRE="part_"
;;
*)
display_help
exit 1
esac
case "$2" in
jpg|JPG|-jpg|-JPG)
SUF="jpg"
;;
png|PNG|-png|-PNG)
SUF="png"
;;
*)
display_help
exit 1
esac
take_3shot
exit 0
fi
You do not have the required permissions to view the files attached to this post.
Re: MX-21 MX-Fluxbox
Thanks--will take a look.
EDIT: just to be clear, I won't be looking at this app again until after MX-21 Fluxbox is released. There's just too much on my list already.
EDIT: just to be clear, I won't be looking at this app again until after MX-21 Fluxbox is released. There's just too much on my list already.
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
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: MX-21 MX-Fluxbox
@SenpaiCode: Select all
On the beta 1 thread (wich is now locked) you said:
Code: Select all
Trying the right-click menu entries on the screen:
Between "Run" and "Terminal" there is an empty space, if you press it it launches the "Settings manager", the name is missing to see it and be able to translate it.
I have seen a typo in my Spanish translation, is this menu uploaded to Transifex?
In All App->Accessories (full_menu):
"App Finder" entry is duplicated.
"compton" does nothing and does not show any error, from console it says that it is already running.
In All App->System
Ndivia driver installer, does not work, from MX tools, it works.
MX fix keys, the entry is duplicated and does nothing, from MX tools, it works.
All App->Settings:
Window manager settings, it does nothing...
Window manager, does nothing...
*"Window manager"- does nothing because tries to run xfwm4 - wich is incompatible with fluxbox
*the same goes for "Window manager tweaks" (not "settings")
*"compton" - simply launches compton compositor- so, you see no window application open when you run it
*"MX Fix GPG keys" runs the command "xfce4-terminal -e pkexec checkaptgpg --wait-at-end", that reports that "checkaptgpg" is an unknown option- this happens because the first exec line of this .desktop file has this command (although commentend out)- Dev team, please remove the commented Exec line from /usr/share/applications/mx-checkaptgpg.desktop, to fix this problem
*It's supposed to come up twice, because there are 2 .desktop files to fix GPG keys- one is the regular one, the other is for KDE...
*The "nvidia driver installer"- runs su-to-root -c "/usr/local/bin/ddm-mx -i nvidia"- Since this command does not include "xfce4-terminal", this may be the reason why it fails to launch from the menu, I'm not sure on that one...
*App Finder is duplicated- I'm not sure why, I'll try to check it out and get back to you...
Re: MX-21 MX-Fluxbox
Thanks. If you feel like it, please re-post this in the Beta 2 thread now open (which is why the Beta 1 thread is closed) where we can respond so that all can see.
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
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: MX-21 MX-Fluxbox
Design idea: match the bg color of the MX logo for Appfinder with the exit-options icon. I don't have the details right, but here is what I am thinking of:

And here's an option retaining the original white border

[/url]@dolphin_oracle Would this concern you ?

And here's an option retaining the original white border

[/url]@dolphin_oracle Would this concern you ?
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
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- dolphin_oracle
- Developer
- Posts: 22099
- Joined: Sun Dec 16, 2007 12:17 pm
Re: MX-21 MX-Fluxbox
I don't particularly care what the tint2 panels icons look like. they don't match any system theme now nor do they change with system theme so do what you like.
are you going to change the wmalauncher file too?
are you going to change the wmalauncher file too?
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.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: MX-21 MX-Fluxbox
hadn't thought about it but might if this idea goes anywhere
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
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: MX-21 MX-Fluxbox
Personally, since the majority of the Tint2 Panel Icons have a transparent B/W design, I would prefer all of the icons used in the Tint2 panel had that same look, and eliminate all color in the panel. I can see the wisdom in allowing the package icon to turn green when there are updates, or shaded in white when there are updates available since it does give a tool tip as well, but my eyes enjoy an uniform look for the whole panel, and the B/W icons are fine for me. Otherwise switching the icons to match the papyrus icons in the dock would also be visually appealing I think this would of course call for all of them to be colorized then.Jerry3904 wrote: Mon Sep 06, 2021 8:53 amDesign idea: match the bg color of the MX logo for Appfinder with the exit-options icon.
https://discoverfoss.com
Home Desktop = HP Envy - i7 with 16GB - Fedora 38
Home Laptop = HP Pavilion dv4 - AMD Turion II M520 with 4GB - MX-21 Fluxbox
Work Desktop = Acer M11AA - i5-3340s with 8GB - MX-21 Fluxbox
Home Desktop = HP Envy - i7 with 16GB - Fedora 38
Home Laptop = HP Pavilion dv4 - AMD Turion II M520 with 4GB - MX-21 Fluxbox
Work Desktop = Acer M11AA - i5-3340s with 8GB - MX-21 Fluxbox
Re: MX-21 MX-Fluxbox
There is no need for total uniformity among the tint2s imo since the collection is intended to show variety
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
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin