This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# -*- coding: utf-8 -*- | |
Z=$(gsettings get org.gnome.desktop.session idle-delay) | |
echo $Z | |
# 600 for 10 minutes, change to suit your needs | |
if [ "$Z" = "uint32 600" ]; then | |
gsettings set org.gnome.desktop.session idle-delay 0 | |
echo set zero | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (ASG.TTUS.m_Users.ContainsKey(dr[0].ToString())) | |
{ | |
TTUSAPI.DataObjects.User u = ASG.TTUS.m_Users[dr[0].ToString()]; | |
TTUSAPI.DataObjects.UserProfile up = new TTUSAPI.DataObjects.UserProfile(u); | |
Trace.WriteLine(u.UserName); | |
foreach (string key in up.UserGatewayLogins.Keys) | |
{ | |
Trace.WriteLine(key); | |
TTUSAPI.DataObjects.UserGatewayLoginProfile UserGWP = new TTUSAPI.DataObjects.UserGatewayLoginProfile(up.UserGatewayLogins[key]); |
NewerOlder