.shot timer delay period, quickshot.

Help for MX Fluxbox
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
FullScale4Me
Posts: 1217
Joined: Fri Jan 08, 2021 11:30 pm

Re: .shot timer delay period, quickshot.

#11 Post by FullScale4Me »

siamhie wrote: Thu Aug 08, 2024 11:21 am
i_ri wrote: Thu Aug 08, 2024 8:50 am tenr.de is not responding.

The site has been down for a couple of weeks now. Not sure if it will be back. (it had a great section on learning to create custom styles)
It's a shame because it had a link to download all of the styles collected from all over the web. (I'm glad I downloaded that file awhile back)
The Internet Archive has a copy of most of the site. Frequently the IA saves small linked files and images as well. https://web.archive.org/web/20240418135252/http://tenr.de/
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
siamhie
Global Moderator
Posts: 3852
Joined: Fri Aug 20, 2021 5:45 pm

Re: .shot timer delay period, quickshot.

#12 Post by siamhie »

FullScale4Me wrote: Fri Aug 09, 2024 5:26 pm
siamhie wrote: Thu Aug 08, 2024 11:21 am
i_ri wrote: Thu Aug 08, 2024 8:50 am tenr.de is not responding.

The site has been down for a couple of weeks now. Not sure if it will be back. (it had a great section on learning to create custom styles)
It's a shame because it had a link to download all of the styles collected from all over the web. (I'm glad I downloaded that file awhile back)
The Internet Archive has a copy of most of the site. Frequently the IA saves small linked files and images as well. https://web.archive.org/web/20240418135252/http://tenr.de/

From that archive page I was able to save both the styles and texture pages.
I see you can still get individual styles but both tarballs are gone that had over 500 styles (which is what I grabbed when the site was still up).
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

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

Re: .shot timer delay period, quickshot.

#13 Post by i_ri »

Thank You FullScale4Me
It is an honor to have the tenr.de link in this topic.
The tenr pages have a 2024 copyright label; interesting that it had attention recent.

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

Re: .shot timer delay period, quickshot.

#14 Post by i_ri »

"with a fixed delay for common situations "
keeping it keyboard driven in fluxbox fits that with
Control Mod1 x :Delay {exec mxfb-quickshot r jpg} 12000000

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

Re: .shot timer delay period, quickshot.

#15 Post by i_ri »

Use dialog timer in yad or xmessage to delay command?
Sample data
Sample tries to look generic can by case say,
Quickshot timer Launched ...

Code: Select all

xmessage "A process has been started that will execute momentarily. 
Paused Quickshot. timer running. Wait (not press Ok.) do your setup workspace for shot. 

Press the Okay button the process will execute complete immediately. 
Okay means NOW. bypass timer and execute Now. " -timeout 14 ;sleep 1s ;mxfb-quickshot r jpg 
the sleep is to allow dialog to get clear the iconbar for the shot.
Last edited by i_ri on Sat Aug 10, 2024 9:03 am, edited 1 time in total.

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

Re: .shot timer delay period, quickshot.

#16 Post by i_ri »

Code: Select all

notify-send -w -t 11000 -i camera "Quickshot Launched" "  click here will abate timer. " ;sleep 1s ;mxfb-quickshot r jpg

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

Re: .shot timer delay period, quickshot.

#17 Post by i_ri »

I like that notify send example, as a static timer for shot.
It matches the current quickshot messages.

here another with static timer.

Code: Select all

xdotool sleep 11s key Shift+Print
Last edited by i_ri on Sat Sep 07, 2024 10:30 am, edited 1 time in total.

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

Re: .shot timer delay period, quickshot.

#18 Post by i_ri »

Hello Jerry3904
Remember when? we had Quickshot on the MX Dock.
With Quickshot on the Dock, Dockmaker Edit gives access to the command possibilities for mxfb-quickshot.
Dockmaker Edit Quickshot command can add the timer with the sleep command to the Quickshot button on MX Dock by give edit access to change the sleep value?

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

Re: .shot timer delay period, quickshot.

#19 Post by i_ri »

Hello Jerry3904
mxfb-quickshot static timer
Your alias here. arg1.
argument one L is for longshot.
option of l is root shot delayed.

Code: Select all

ARG1=${1#-}          # remove '-' from start of arg
case "${ARG1,,}" in  # lower case
    r|root)
        OPTION=""
        ;;
    u|focused)
        OPTION="-u"
        ;;
    l)
        OPTION="-d 14"
        ;;
    *)
        display_help
        exit 1
        ;;
esac
l1)
OPTION="-d 10"
;;
l2)
OPTION="--delay 20"
;;
twenty is a long time. liking this place to put --pointer in root mxfb-quickshot.

version 1.11 scrot is fantastic. stack works in fluxbox.
composited session xfce and kde stack includes root and panel.
in fluxbox just windows, not with root and panel.
The -s selection line mode new defaults are perfectly
auto backwards from
what works best here is xfce and kde need prefer edge. (auto is classic)
what works best here is fluxbox prefer classic. (auto is edge)
i like the classic the best.
sample mxfb-quickshot alias.arg1 for stack horizontal and vertical scrot v1.11.
k)
OPTION="-k -d 2"
;;
kv)
OPTION="--stack=v -Z 2 -d 2"
;;

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

Re: .shot timer delay period, quickshot.

#20 Post by Jerry3904 »

I've been looking at this, and I think the simplest is to create a script called something like quickshot_delay with the following content:

Code: Select all

# /bin/bash

SUCCESS=$(gettext 'Success!')

sleep 8
mxfb-quickshot -r -png
/usr/bin/notify-send -i /usr/share/icons/Papirus/24x24/devices/camera.svg -t 3000 "$SUCCESS"
exit 0
Make it executable and move it to ~/.local/bin so user can easily change delay seconds
Then the Keys entry would be very simple:

Code: Select all

# whole screen capture with delay (default 8 s)
Ctrl Print :Exec ~/.local/bin/quickshot_delay
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: MX-25 Fluxbox, ThinkPad X1 Carbon gen 9 with i7
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “MX Fluxbox Official Release”