Page 1 of 1

Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 12:01 am
by PixLab
Hello,

When I hit the PrintScreen key (PrtSc / Sys Rq) beside "F12" I have this window appearing, with no real option/preferences
ksnip_20250115-124914.jpg
I would like when I hit that Print screen key on my keyboard that it take a full screenshot immediately, instead of asking me questions, I'm ok it asks where to save after taking the screenshot, but not asking questions when hitting the PrtScr key (on Ubuntu-MATE it looked like a very similar screenshot software that this one, but it was taking screenshot when hitting that screenshot key without asking questions before screenshoting :number1: )
how / where do I need to go to set those preferences?

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 12:08 am
by siamhie
Have you tried changing the delay to 0. I'm on fluxbox right now, so I can't check.

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 12:30 am
by Eadwine Rose
This is likely no help directly, but I changed to shutter for my screenshots, and then changed the command to

Code: Select all

shutter --select 
to autostart it on the select window screen (it can be made to start with just taking the standard screenshot as well).



Maybe there is something available like this for the default screenshot program.

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 1:23 am
by PixLab
siamhie wrote: Wed Jan 15, 2025 12:08 am Have you tried changing the delay to 0. I'm on fluxbox right now, so I can't check.
Not working, the window still showing up with questions but with the delay set to zero

Thank you

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 1:28 am
by PixLab
Eadwine Rose wrote: Wed Jan 15, 2025 12:30 am This is likely no help directly, but I changed to shutter for my screenshots, and then changed the command to

Code: Select all

shutter --select 
to autostart it on the select window screen (it can be made to start with just taking the standard screenshot as well).

Maybe there is something available like this for the default screenshot program.
I don't really understand, sorry, are you using terminal to screenshot?

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 1:33 am
by i_ri
hello PixLab
for a keybound screencapture example

a command for preview interaction, permit to save, and naming, location. [You] described as acceptable behavior after the shot:

Code: Select all

xfce4-screenshooter -f

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 1:36 am
by Eadwine Rose
PixLab wrote: Wed Jan 15, 2025 1:28 am I don't really understand, sorry, are you using terminal to screenshot?
I put that under the printscreen key.

Menu, type keyboard in the search, and then Application Shortcuts tab.

Re: Print Screen key is asking questions before screenshot  [Solved]

Posted: Wed Jan 15, 2025 7:26 am
by i_ri
Hello PixLab
Eadwine Rose, "type keyboard"
Image

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 7:57 am
by Nokkaelaein
PixLab wrote: Wed Jan 15, 2025 12:01 am I would like when I hit that Print screen key on my keyboard that it take a full screenshot immediately, instead of asking me questions
I noticed your screenshot of taking a screenshot :happy: is made with ksnip, and as you are already using ksnip, note that it has good options for many kinds of screenshot taking - when you need to add informative annotations on the fly, but also for immediate, fast screen grabbing with no dialogs. For the printscreen key, I'm using:

Code: Select all

ksnip -m -s
which captures the screen where the mouse cursor is currently located, and immediately saves the picture to the default location (my home directory in this case), without showing an editor or any further dialogs.

For Super + Shift + S (Windows default shortcut for this type of action :-P ), I have

Code: Select all

ksnip -r
which lets me select a rectangular area, then immediately captures it and shows it in the - very nice - built-in editor (for annotations and such). In the actual ksnip program settings (Options > Settings) I have all tray icon, "keep loaded" type of functionality turned off, and ksnip only does its thing when taking a screenshot.

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 10:12 am
by siamhie
PixLab wrote: Wed Jan 15, 2025 1:23 am
siamhie wrote: Wed Jan 15, 2025 12:08 am Have you tried changing the delay to 0. I'm on fluxbox right now, so I can't check.
Not working, the window still showing up with questions but with the delay set to zero

Thank you

It needs to know if you are wanting to take a full screen screenshot, window screenshot or select an area screenshot.
You didn't post your Quick System Information, so I'm not sure where to point you to the keyboard shortcuts.

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 10:21 pm
by PixLab
i_ri wrote: Wed Jan 15, 2025 1:33 am hello PixLab
for a keybound screencapture example

a command for preview interaction, permit to save, and naming, location. [You] described as acceptable behavior after the shot:

Code: Select all

xfce4-screenshooter -f
i_ri wrote: Wed Jan 15, 2025 7:26 am Hello PixLab
Eadwine Rose, "type keyboard"
Image
Whoa..., thank you so very much, you have no idea what you did to me with that tip :rofl:
First your keyboard tip worked like a charm :number1: , but I have a multimedia keyboard with some fancy "keys" not working like the "Calculator" (because it was calling "calculator" instead of "galculator" ), media, My Computer, etc..., now because of your explanations, they work, I was able to give them a shortcut :celebrate:

Again thank you very much!

Re: Print Screen key is asking questions before screenshot

Posted: Wed Jan 15, 2025 10:24 pm
by PixLab
Eadwine Rose wrote: Wed Jan 15, 2025 1:36 am
PixLab wrote: Wed Jan 15, 2025 1:28 am I don't really understand, sorry, are you using terminal to screenshot?
I put that under the printscreen key.

Menu, type keyboard in the search, and then Application Shortcuts tab.
Thank you I understood now, BTW "Shutter" is very nice, thanks a lot for the discovery/recommendation :happy:

Re: Print Screen key is asking questions before screenshot

Posted: Thu Jan 16, 2025 12:36 am
by PixLab
Nokkaelaein wrote: Wed Jan 15, 2025 7:57 am I noticed your screenshot of taking a screenshot :happy: is made with ksnip, and as you are already using ksnip, note that it has good options for many kinds of screenshot taking - when you need to add informative annotations on the fly, but also for immediate, fast screen grabbing with no dialogs. For the printscreen key, I'm using:
which captures the screen where the mouse cursor is currently located, and immediately saves the picture to the default location (my home directory in this case), without showing an editor or any further dialogs.
For Super + Shift + S (Windows default shortcut for this type of action :-P ), I have
which lets me select a rectangular area, then immediately captures it and shows it in the - very nice - built-in editor (for annotations and such). In the actual ksnip program settings (Options > Settings) I have all tray icon, "keep loaded" type of functionality turned off, and ksnip only does its thing when taking a screenshot.
Sadly I did broke Ksnip while I was trying the KDE DE, and sudo apt purge ksnip did nothing, I lost the tool bar on the side, install-re-install does noting, still no tools on the side. :bawling:
In all case thank you very much for the tips and infos, that's :cool2:

Re: Print Screen key is asking questions before screenshot

Posted: Thu Jan 16, 2025 12:39 am
by PixLab
siamhie wrote: Wed Jan 15, 2025 10:12 am It needs to know if you are wanting to take a full screen screenshot, window screenshot or select an area screenshot.
You didn't post your Quick System Information, so I'm not sure where to point you to the keyboard shortcuts.
Problem solved, but just in case :happy:

Code: Select all

System:
  Kernel: 6.1.0-30-amd64 [6.1.124-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-30-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel, plank wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_x64 Libretto Jan 12  2025 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: H110M-E/M.2 v: Rev X.0x serial: <superuser required>
    UEFI: American Megatrends v: 3805 date: 05/07/2018
CPU:
  Info: model: Intel Core i5-7400 bits: 64 type: MCP arch: Kaby Lake gen: core 7 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9
    microcode: 0xF8
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
    L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 800 min/max: 800/3500 scaling: driver: intel_pstate governor: powersave
    cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 24000
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: disabled; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Polaris 20 XL [Radeon RX 580 2048SP] vendor: Sapphire driver: amdgpu v: kernel
    arch: GCN-4 code: Arctic Islands process: GF 14nm built: 2016-20 pcie: gen: 3 speed: 8 GT/s
    lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2, DVI-D-1, HDMI-A-2 bus-ID: 01:00.0
    chip-ID: 1002:6fdf class-ID: 0300 temp: 50.0 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Samsung S24R35x serial: <filter> built: 2020
    res: 1920x1080 hz: 60 dpi: 94 gamma: 1.2 size: 521x293mm (20.51x11.54") diag: 604mm (23.8")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon RX 580 2048SP (polaris10 LLVM 15.0.6 DRM
    3.49 6.1.0-30-amd64) direct-render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Sapphire
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 1002:aaf0 class-ID: 0403
  API: ALSA v: k6.1.0-30-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: off with: 1: pipewire-pulse status: off 2: wireplumber
    status: off 3: pw-jack type: plugin tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Qualcomm Atheros AR9287 Wireless Network Adapter driver: ath9k v: kernel modules: wl
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 168c:002e class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Drives:
  Local Storage: total: 2.48 TiB used: 1018.55 GiB (40.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDA240G size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 30RL scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Gigabyte model: GP-GSTFS31480GNTD size: 447.13 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 61.5
    scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Seagate model: Backup+ RD size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 0143 scheme: MBR
  ID-4: /dev/sdd maj-min: 8:48 type: USB vendor: Seagate model: Backup+ RD size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 0143
  ID-5: /dev/sde maj-min: 8:64 type: USB vendor: Generic model: Flash Disk size: 3.75 GiB
    block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 8.07 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 446.88 GiB size: 438.79 GiB (98.19%) used: 42.86 GiB (9.8%) fs: ext4
    dev: /dev/sdb2 maj-min: 8:18
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sdb1 maj-min: 8:17
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 5 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: amdgpu temp: 50.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1022
Repos:
  Packages: 3363 pm: dpkg pkgs: 3358 libs: 1854 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 5
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mirrors.ocf.berkeley.edu/mx-packages/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/vscodium.list
    1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main
Info:
  Processes: 289 Uptime: 1h 31m wakeups: 1 Memory: 23.41 GiB used: 3.43 GiB (14.6%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: Print Screen key is asking questions before screenshot

Posted: Thu Jan 16, 2025 1:00 am
by siamhie
PixLab wrote: Thu Jan 16, 2025 12:39 am
siamhie wrote: Wed Jan 15, 2025 10:12 am It needs to know if you are wanting to take a full screen screenshot, window screenshot or select an area screenshot.
You didn't post your Quick System Information, so I'm not sure where to point you to the keyboard shortcuts.
Problem solved, but just in case :happy:

@PixLab Good to hear. Just remember when asking for help to always include your QSI (Quick System Information).

Re: Print Screen key is asking questions before screenshot

Posted: Thu Jan 16, 2025 1:54 am
by PixLab
siamhie wrote: Thu Jan 16, 2025 1:00 am
PixLab wrote: Thu Jan 16, 2025 12:39 am
siamhie wrote: Wed Jan 15, 2025 10:12 am It needs to know if you are wanting to take a full screen screenshot, window screenshot or select an area screenshot.
You didn't post your Quick System Information, so I'm not sure where to point you to the keyboard shortcuts.
Problem solved, but just in case :happy:

@PixLab Good to hear. Just remember when asking for help to always include your QSI (Quick System Information).
I'll try hard to remember :crossfingers: :toast:

Re: Print Screen key is asking questions before screenshot

Posted: Thu Jan 16, 2025 2:16 am
by Eadwine Rose
Great, glad it's sorted, and you are welcome :)

Re: Print Screen key is asking questions before screenshot

Posted: Thu Jan 16, 2025 4:57 am
by i_ri

Code: Select all

scrot -p -e 'gimp $f'
hello PixLab
trial command for Shortcut Print key ?

Re: Print Screen key is asking questions before screenshot

Posted: Thu Jan 16, 2025 7:57 am
by siamhie
PixLab wrote: Thu Jan 16, 2025 1:54 am
siamhie wrote: Thu Jan 16, 2025 1:00 am
@PixLab Good to hear. Just remember when asking for help to always include your QSI (Quick System Information).
I'll try hard to remember :crossfingers: :toast:

Don't worry, we'll remind you.
snoopy.jpg

Re: Print Screen key is asking questions before screenshot

Posted: Thu Jan 16, 2025 4:27 pm
by i_ri
hello PixLab
For a wholly different type of trial
plug in a session with AVLinux-mxedition live
for a trial of its screenshot utility
process You may like.