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.
@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$HOMEor~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.
Most helpful comment
@bingoIsCoder
It happens because
$HOMEor~is apparently not replaced/expanded so the shortcut is literally asking to open "$HOME/...". I managed to get it working by using: