I have a similar setup to @borisjoffe and can confirm @msheremet's patch works for me (screenshots are functional again). Thank you all for your work on this!
Search Criteria
Package Details: upwork 5.8.0.35-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/upwork.git (read-only, click to copy) |
---|---|
Package Base: | upwork |
Description: | Track your time for Hourly Payment Protection. Stay connected. |
Upstream URL: | https://www.upwork.com/ab/downloads/?os=linux |
Keywords: | freelance job time time-tracker time-tracking |
Licenses: | custom |
Conflicts: | upwork-beta |
Submitter: | lybin |
Maintainer: | yurikoles |
Last Packager: | yurikoles |
Votes: | 68 |
Popularity: | 0.000147 |
First Submitted: | 2015-05-05 17:51 (UTC) |
Last Updated: | 2024-10-31 03:32 (UTC) |
Dependencies (4)
- alsa-lib
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR)
- libxss
- nss (nss-hgAUR)
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 26 Next › Last »
samuelgrigolato commented on 2019-03-05 20:28 (UTC)
msheremet commented on 2019-03-05 19:53 (UTC)
I figured out that XDG_SESSION_TYPE variable doesn't depend on WM. It rather depends on X session startup. Display Managers set that variable to "x11" (probably something else for Wayland sessions) while xinit sets that variable to "tty".
So I created a patch for upwork launcher script. And screenshot issue for xinit sessions should be fixed now.
Special thanks to @borisjoffe and @gwash.
msheremet commented on 2019-03-05 12:59 (UTC)
@gwash, sorry, I thought it was only for the working config. Will try it also.
gwash commented on 2019-03-05 12:38 (UTC)
@msheremet, I already did, "notion WM, and no compositor"
msheremet commented on 2019-03-05 11:39 (UTC)
@gwash, could you please also answer my previous question about DE and WM?
@borisjoffe, thank you for your reply, I'll try to reproduce the problem with i3 and let everyone know my findings.
gwash commented on 2019-03-05 09:40 (UTC)
@msheremet No, just Upwork support, and my own experience.
borisjoffe commented on 2019-03-05 09:28 (UTC) (edited on 2019-03-05 09:30 (UTC) by borisjoffe)
@msheremet I'm using X11, no desktop environment, the i3 window manager, and am having the screenshot issue.
Based on:
1) Upwork support staff recommending setting XDG_SESSION_TYPE to "x11"
2) my XDG_SESSION_TYPE being set to "tty"
3) gwash saying that Upwork's fix worked for him,
it looks like the Upwork app is checking XDG_SESSION_TYPE before taking screenshots and assuming that the user is running Wayland if it isn't set to "x11". So I think gwash's statement is correct.
msheremet commented on 2019-03-05 08:36 (UTC)
@gwash, please don't hurry so much.
The problem is that Upwork assumes you're using Wayland/GNOME3 whenever it can't figure which environment you're running
Do you have an evidence of this statement?
gwash commented on 2019-03-05 07:44 (UTC) (edited on 2019-03-05 08:03 (UTC) by gwash)
@borisjoffe Yep, that actually worked! With notion WM, and no compositor.
@msheremet The problem is that Upwork assumes you're using Wayland/GNOME3 whenever it can't figure which environment you're running.
msheremet commented on 2019-03-05 07:42 (UTC) (edited on 2019-03-05 07:58 (UTC) by msheremet)
@gwash, @borisjoffe, Let's stop for a moment and clarify everything step by step.
You didn't mention you used Wayland. So I had not enough details to reproduce your issue since I've used legacy X11 from the beginning. Please specify the Desktop Environment and Window Manager that causes the problem.
Pinned Comments