Closed nskazki closed 8 years ago
Do you have the settings icon at the top right corner?
The path problem is related to missing directory option in settings (it is a bug, should have been opened settings view instead of gallery), you could try to manually put settings for now at ~/.config/configstore/record-desktop.json
{
"isFirstRun": true,
"combo-RECORD_AREA": "super+a",
"combo-RECORD_ACTIVE": "super+z",
"combo-STOP": "super+d",
"combo-SCREEN_AREA": "super+s",
"combo-SCREEN_ACTIVE": "super+x",
"folder": "/home/nskazki",
"screenshot-effect": "shadow"
}
You would need to change combinations as they are not available in unity (if you use unity, assumption from environment log)
I've released v0.4.1
with fixes, you could update with $ npm install -g record-desktop@0.4.1
Also deb
package is available now https://github.com/ewnd9/record-desktop/releases/tag/v0.4.1
$ sudo dpkg -i record-desktop_0.4.1_amd64.deb
fine, I checked it started, but it seems not work
$ record-desktop
info: alt+shift+r register success: true
info: alt+shift+s register success: true
info: press alt+shift+r
info: Start
info: press alt+shift+s
info: Finish
info: Generated
info: undefined
info: undefined ''
I started recording, selected a small region and stopped recording after 10 seconds. New messages in the console does not appear within a few minutes, and I stopped the application. What information I can give you to help solve this problem?
Did you check the content of the image folder?
My assumption is that the issue is the opening (https://github.com/ewnd9/record-desktop/blob/master/src/unix-utils/wrappers/xdg-open.js) as there is info: Generated
in your log.
I tried to reproduce
info: undefined
info: undefined ''
by throwing an error (stack was showed in a log) and replacing variable with a non-existing path (no errors).
I've reproduced the weird undefined log with empty folder in kubuntu 14.04 in virtual machine with the fresh installed app from deb package.
$ cat ~/.config/configstore/record-desktop.json
{
"isFirstRun": true,
"screenshot-effect": "shadow",
"combo-RECORD_AREA": "alt+shift+r",
"combo-STOP": "alt+shift+v"
}
Could you paste your config, please?
@nskazki ping
@ewnd9, I'm sorry, I forgot about this issue. So, I install record-desktop@0.4.12
$ cat ~/.config/configstore/record-desktop.json
{
"isFirstRun": true,
"screenshot-effect": "shadow",
"combo-RECORD_AREA": "alt+shift+r",
"combo-STOP": "alt+shift+s"
}
$ record-desktop
info: alt+shift+r register success: true
info: alt+shift+s register success: true
# click on "open a folder"
info: undefined
info: undefined ''
# show popup - title: "record-desktop", message: "undefined"
# press alt+shift+r
info: Error killed=false, code=1, signal=null, cmd=/bin/sh -c slop, stderr=Warning: Failed to grab X keyboard.
This happens when something has already grabbed your keybaord.
slop should still run properly though.
Warning: Failed to grab the keyboard. This is non-fatal, keyboard presses might fall through to other applications.
User pressed key. Canceled selection.
# press alt+shift+s
info: press alt+shift+s
info: Already finished
# show popup - title: "record-desktop", message: "undefined"
env:
$ screenfetch -n
OS: Ubuntu 15.10 wily
Kernel: x86_64 Linux 4.2.0-27-generic
Shell: bash 4.3.42
DE: Unity 7.3.3
WM: Compiz
$ node -v
v5.10.1
So, I changed settings:
cat /home/nskazki/.config/configstore/record-desktop.json
{
"isFirstRun": true,
"screenshot-effect": "shadow",
"folder": "/home/nskazki/Изображения/record-desktop",
"combo-RECORD_AREA": "alt+shift+r",
"combo-RECORD_ACTIVE": "alt+shift+x",
"combo-STOP": "alt+shift+s",
"combo-SCREEN_AREA": "alt+shift+a",
"combo-SCREEN_ACTIVE": "alt+shift+w"
}
And now the application works. Pop-up still displays "record-desktop: undefined", but the screenshots are created.
It turns out that I just do not set the path to the folder. Please forgive me for your time. And please add checks for this path.
And please reduce the lifetime of the pop-up notifications, and reduce their number.
Please forgive me for your time.
Don't be so hard on yourself, you helped me find at least 2 bugs, thank you. (the "open folder" button was broken, will be fixed in the next release)
please add checks for this path.
It was added in https://github.com/ewnd9/record-desktop/issues/16 but not yet released
please reduce the lifetime of the pop-up notifications, and reduce their number.
I use node-notifier
https://github.com/ewnd9/record-desktop/blob/master/src/main.js#L34-L37 with default timeout, so it might be worth for you to modify the default notifications timeout in your system. Hopefully, it will eliminate the number problem too
following the instruction i do:
then:
but application was started. when a press on icon opens a context menu with a single blank line. when i press this blank line opens a blank windon and and debugging information appears in the console:
my enviroment: