Bryan Roe
d700f16325
updated user-sessions on linux, so that if 'who' is not supported, consoleUid will return root. This fixes platforms such as puppy, where the platform is logged in as root.
2019-07-25 15:03:28 -07:00
Bryan Roe
422e342a5e
updated findEnv() for freebsd
2019-06-22 01:23:23 -07:00
Bryan Roe
ae3bff9e18
fixed getEnvFromPid() for freebsd
2019-06-22 01:20:16 -07:00
Bryan Roe
c9f0bff898
update to getEnvFromPid() for freebsd
2019-06-22 01:12:15 -07:00
Bryan Roe
31d8b3d2f2
user-sessions test for freebsd
2019-06-22 00:04:43 -07:00
Bryan Roe
7892064e66
Updated user-sessions so isRoot() works on freebsd
2019-06-21 16:13:19 -07:00
Bryan Roe
67e10e0e33
Updated for Linux/MacOS
2019-06-06 18:47:05 -07:00
Bryan Roe
3ab7316172
1. added 'getGroupID' for macos user-sessions
...
2. added support for per-user LaunchAgents on MacOS
2019-06-03 15:15:25 -07:00
Bryan Roe
5b0a4899e2
Updated user-sessions on MacOS to support getHomeFolder and getUsername
2019-05-30 14:59:32 -07:00
Bryan Roe
020bae80a5
1. Added ability to search env vars by uid
...
2. updated toaster to work with KDE
2019-05-17 22:10:52 -07:00
Bryan Roe
1fc476d31e
1. Added process.pid on windows
...
2. Added user-sessions.consoleUid() on windows
3. updated message-box to dispatch to consoleUid when necessary on Windows
2019-05-17 14:23:51 -07:00
Bryan Roe
45f5859f37
1. Added 'getEnvFromPid' to user-sessions, to read environment vars by PID
...
2 Updated getXInfo() in monitor-info, so it'll try to get XAUTHORITY from env vars is it can't determine it by looking at the XServer instance.
2019-03-15 12:48:30 -07:00
Bryan Roe
0048acf128
Updated to only use fs.Watch if it exists
2019-03-14 15:41:10 -07:00
Bryan Roe
6a8b7de44c
1. Updated monitor-info, so it no longer assumes DISPLAY = :0
...
2. Updated user-sessions to have better uid and username helpers on linux
3. Updated Clipboard dispatching
2019-03-12 22:25:56 -07:00
Bryan Roe
52ff7ba04c
1. Updated user-sessions.consoleUid() to not try to parse 'from'. It just returns the uid of any user listed in 'who'. This fixes Fedora, but should still work with all the other distros.
...
2. Updated, so if it can't find an Xauthority, it propagates an error, asking if the user configured DM to use X. This makes it, so on something like Fedora, it pops up a more intuitive error, that the user can fix, rather than just a generic, XOpenDisplay() error.
2019-01-30 23:17:39 -08:00
Bryan Roe
f38ec1df08
Added 'isRoot' for Windows implementation, to match Linux and MacOS
2019-01-28 15:54:31 -08:00
Bryan Roe
cf856b0d1d
Added default value of ':0' if $DISPLAY is not set
2019-01-23 18:42:42 -08:00
Bryan Roe
10c72b8a05
Updated consoleUid, to look at $DISPLAY when checking to see what users are logged in locally
2019-01-14 16:23:19 -08:00
Bryan Roe
02187849c3
Added MacOS support
...
Fixed Windows 7 issues
2019-01-11 14:02:12 -08:00
Ylian Saint-Hilaire
3c80473a94
Major agent update.
2018-09-05 11:01:17 -07:00