Page 40 of 53 FirstFirst ... 30383940414250 ... LastLast
Results 391 to 400 of 527

Thread: Account Lease time / Content filtering

  1. #391
    Join Date
    Sep 2005
    Location
    Toronto, Canada
    Beans
    628
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Account Lease time / Content filtering

    Yes, I have the very same output from "timekpr-gui" as CbrPad.

    $ gksu timekpr-gui
    Traceback (most recent call last):
    imekpr-gui.py:82: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    File "/usr/share/python-support/timekpr/timekpr-gui.py", line 563, in <module>
    timekprGUI()
    File "/usr/share/python-support/timekpr/timekpr-gui.py", line 140, in __init__
    self.read_settings(self)
    File "/usr/share/python-support/timekpr/timekpr-gui.py", line 446, in read_settings
    self.readfromtolimit(self)
    File "/usr/share/python-support/timekpr/timekpr-gui.py", line 303, in readfromtolimit
    if isuserlimited(self.user):
    File "/usr/share/python-support/timekpr/timekprpam.py", line 200, in isuserlimited
    x = re.compile('^\*;\*;' + u + ';Al0000-2400$', re.M).search(s)
    TypeError: cannot concatenate 'str' and 'NoneType' objects
    Ubuntu 12.04 on Dell Inspiron 17R with i7 processor and Intel HD4000 graphics.

  2. #392
    Join Date
    Sep 2005
    Location
    Toronto, Canada
    Beans
    628
    Distro
    Ubuntu 12.10 Quantal Quetzal

    [SOLVED] Account Lease time / Content filtering

    Problem solved. I found another post here on the forums that I missed the first time. It suggests that Timekpr will not work with only a single account set up... you need at least one other user. I added a user and, presto, it works great. No need to even reinstall after setting up the new account.
    Ubuntu 12.04 on Dell Inspiron 17R with i7 processor and Intel HD4000 graphics.

  3. #393
    Join Date
    Nov 2006
    Location
    Norway
    Beans
    795
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: [SOLVED] Account Lease time / Content filtering

    Quote Originally Posted by canadianwriterman View Post
    Problem solved. I found another post here on the forums that I missed the first time. It suggests that Timekpr will not work with only a single account set up... you need at least one other user. I added a user and, presto, it works great. No need to even reinstall after setting up the new account.
    Yes, that was what I thought it would be! Good to see it worked out for you.

    Sorry for not responding earlier, I have had a rough week at work. We have changed all our servers from Windows to Linux. With over 600 users and about 300 machines that is a big job! All machines needed to be reconfigured! We also changed the wireless system to a meru system. Everything is looking good so far...
    Open mind, open source!
    Keep control of computer usage with timekpr
    Screensaver for Amarok? AmarokScreenSaver
    My (Norwegian) blog about motorcycles and MotoGP

  4. #394
    Join Date
    Sep 2005
    Location
    Toronto, Canada
    Beans
    628
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Account Lease time / Content filtering

    Is there any way to keep the time left indication open so the user isn't surprised by a sudden logout? Maybe I'm missing something in the contril panel. Thanks.
    Ubuntu 12.04 on Dell Inspiron 17R with i7 processor and Intel HD4000 graphics.

  5. #395
    Join Date
    Nov 2006
    Location
    Norway
    Beans
    795
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Account Lease time / Content filtering

    Quote Originally Posted by canadianwriterman View Post
    Is there any way to keep the time left indication open so the user isn't surprised by a sudden logout? Maybe I'm missing something in the contril panel. Thanks.
    It is possible to keep it open longer, and also to require the user to 'click' it. The latter will be rather intrusive and I don't think it will be any good. I might make the notifications stay longer though...

    If you open up /usr/share/python-support/timekpr/timekpr-client.py you can change the time it is shown. You will find it on line 195-216. If you use Gnome change '-t 3000' on line 203 into '-t <duration in milliseconds>' (for 10 seconds '-t 10000').
    Open mind, open source!
    Keep control of computer usage with timekpr
    Screensaver for Amarok? AmarokScreenSaver
    My (Norwegian) blog about motorcycles and MotoGP

  6. #396
    Join Date
    Sep 2005
    Location
    Toronto, Canada
    Beans
    628
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Account Lease time / Content filtering

    Thanks, .nedberg. I haven't seen the notifications, except if you click on the tray icon. Do the notifications appear automatically at any time?
    Ubuntu 12.04 on Dell Inspiron 17R with i7 processor and Intel HD4000 graphics.

  7. #397
    Join Date
    Nov 2006
    Location
    Norway
    Beans
    795
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Account Lease time / Content filtering

    Quote Originally Posted by canadianwriterman View Post
    Thanks, .nedberg. I haven't seen the notifications, except if you click on the tray icon. Do the notifications appear automatically at any time?
    It should notify with the time left every 15 minuttes. Then, when the user is close to being logged out, more often.

    An unrestricted user will not see any notifications, only restricted users. Unrestricted users will see a green padlock, restricted users see a red one.

    If it doesn't work, please kill any existing timekpr-client process and start a new one from a terminal when you are running as a restricted user.
    Open mind, open source!
    Keep control of computer usage with timekpr
    Screensaver for Amarok? AmarokScreenSaver
    My (Norwegian) blog about motorcycles and MotoGP

  8. #398
    Join Date
    Sep 2005
    Location
    Toronto, Canada
    Beans
    628
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Account Lease time / Content filtering

    Thank you. I think that I didn't stay logged in long enough to see the notifications when I was testing it.
    Ubuntu 12.04 on Dell Inspiron 17R with i7 processor and Intel HD4000 graphics.

  9. #399
    Join Date
    Nov 2006
    Location
    Norway
    Beans
    795
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Account Lease time / Content filtering

    The PPAs have changed. Use:
    Code:
    deb http://ppa.launchpad.net/timekpr-maintainers/ppa/ubuntu intrepid main
    deb-src http://ppa.launchpad.net/timekpr-maintainers/ppa/ubuntu intrepid main
    for stable versions or:
    Code:
    deb http://ppa.launchpad.net/nedberg/ppa/ubuntu intrepid main
    deb-src http://ppa.launchpad.net/nedberg/ppa/ubuntu intrepid main
    for beta versions.

    Follow these instructions for installing packages from these PPAs. Pay attention to the part about adding a PPA's key, that is a new feature of PPAs!

    Even though development had been slow lately doesn't mean nothing is happening. I just commited a change to timekpr-gui that will allow for i18n translations of timekpr! I am also looking into giving more fine grained control over when a user can be logged in.

    I will have a lot to do at work at least until easter, probably until July. I still "think" timekpr code
    Open mind, open source!
    Keep control of computer usage with timekpr
    Screensaver for Amarok? AmarokScreenSaver
    My (Norwegian) blog about motorcycles and MotoGP

  10. #400
    Join Date
    Jun 2007
    Location
    Charlotte, NC, USA
    Beans
    3,115
    Distro
    Ubuntu Development Release

    Re: Account Lease time / Content filtering

    Post #1 has been updated. I'll get the blog page in a day or two. Thanks Even...
    Mac Pro 5,1 6-Core@3.33 GHz, 48 GB, ATI HD 5870
    Optical - Apple Super Drive & MCE Internal Blu-ray
    1 TB WD, 5 TB Barracuda(s), 500 GB Hitachi RAID0
    RocketU 1144CM USB 3.0 Raid / Inateck USB 3.0

Page 40 of 53 FirstFirst ... 30383940414250 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •