Flameshot: shortcut 'flameshot gui -p ~/Pictures/Screenshots' not working

Created on 9 Apr 2019  路  4Comments  路  Source: flameshot-org/flameshot

Flameshot version

Flameshot 0.5.1-1(Debian)

Describe the bug

set shortcut 'flameshot gui -p ~/Pictures/Screenshots' by 'ctrl + F1', when using this shortcut, there is a flameshot info 'Invalid path, it must be a real path in the system'.
but I run the cmd 'flameshot gui -p ~/Pictures/Screenshots' in terminal, it is working well

To Reproduce

set shortcut 'flameshot gui -p ~/Pictures/Screenshots' by 'ctrl + F1'.

Expected behavior

show flameshot gui.

System Information
Ubuntu 18.04 Mate.

Most helpful comment

@bingoIsCoder
It happens because $HOME or ~ is apparently not replaced/expanded so the shortcut is literally asking to open "$HOME/...". I managed to get it working by using:

bash -c "flameshot gui -p ~/Pictures"

All 4 comments

@bingoIsCoder
It happens because $HOME or ~ is apparently not replaced/expanded so the shortcut is literally asking to open "$HOME/...". I managed to get it working by using:

bash -c "flameshot gui -p ~/Pictures"

@bingoIsCoder
It happens because $HOME or ~ is apparently not replaced/expanded so the shortcut is literally asking to open "$HOME/...". I managed to get it working by using:

bash -c "flameshot gui -p ~/Pictures"

Can u help me? I was configuring my printscreen key to run
flameshot gui -p /home/ribeiro/Imagens
But flameshot returns invalid path

@rafaelribeiroo Does it work from the terminal?

@rafaelribeiroo Does it work from the terminal?

Sorry for bad question, i just restart and works as well. Thanks very much for the reply.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

makz27 picture makz27  路  4Comments

hosiet picture hosiet  路  4Comments

mrinvisible0 picture mrinvisible0  路  4Comments

mmesnjak picture mmesnjak  路  4Comments

xahon picture xahon  路  3Comments