Announcement

Collapse
No announcement yet.

Locking Widgets

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Locking Widgets

    Hi!
    I am living in a college, and I have successfully installed Kubuntu 12.04 on a REALLY slow computer for my teacher. I placed some widgets, and two notes (you know, these yellow textboxes) on the desktop. My problem is I can't lock these notes. And I would like to lock the desktop. But in a way, that even the 'new activity - unlock' can't unlock the desktop, and the notes. Is that possible?

    #2
    I don't think thats possible and I am not really sure what you are trying to achieve by doing it?

    Comment


      #3
      I wrote some instructios in the two notes widget, and it would be nice if the students would not be able to edit it.
      Last edited by barnabas02; May 15, 2012, 02:24 AM. Reason: grammar

      Comment


        #4
        An alternative to that is to reset plasma-desktop at login/logoff (or any other applications)

        Comment


          #5
          That is a good idea. How can I do it?

          Comment


            #6
            You can lock any settings in plasma by using the "immutable" switch in it's config file. For example, put

            [$i]

            in ~/.kde/share/config/kdeglobals and all the files with "plasma" in the name. It totally removes the option to unlock widgets and nothing is adjustable! More info available in the Kiosk wiki http://techbase.kde.org/KDE_System_A...ion/Kiosk/Keys

            Please Read Me

            Comment


              #7
              kdeglobals

              I've opened kdeglobals, and got this:

              [$Version]
              update_info=kwin.upd:kde3.2Xinerama,kaccel.upd:kde 3.3/r1,mouse_cursor_theme.upd:kde3.4.99,kded.upd:kde3. 0

              [KDE]
              ShowDeleteCommand=false
              SingleClick=false

              [KShortcutsDialog Settings]
              Dialog Size=600,480

              [Locale]
              Country=hu

              [PreviewSettings]
              MaximumRemoteSize=0
              MaximumSize=5242880

              [Windows]
              XineramaEnabled=
              XineramaMaximizeEnabled=
              XineramaMovementEnabled=
              XineramaPlacementEnabled=

              Where can I put the '[$i]' ?
              You know, I am new at administrating Kubuntu...

              Thanks!

              Comment


                #8
                You can apply the Immutable switch three ways; to a specfic menu item, a group of items, or a whole config file:

                Specific Menu Item:

                - On an entry by entry basis by appending "[$i]" after the key.
                Code:
                [MyGroup]
                
                someKey[$i]=42
                Group of Items:

                - On a group by group basis by appending "[$i]" after the group. All entries specified in the group will be marked immutable and no new entries can be added to the group.
                Code:
                [MyGroup][$i]
                
                someKey=42
                someotherKey=11
                Entire File:

                - On a file by file basis by starting the file with [$i].
                Code:
                [$i]
                
                [MyGroup]
                
                someKey=42
                
                [MyOtherGroup]
                
                someOtherKey=11
                Another forum member used this technique to prevent her elderly mother from messing up her desktop accidentally.

                If you add this the the global file, it should prevent users from getting warnings that the configs are locked down:
                Code:
                [KDE Action Restrictions]
                warn_unwritable_config=false
                Last edited by oshunluvr; May 15, 2012, 12:59 PM. Reason: added warning removal

                Please Read Me

                Comment


                  #9
                  Thanks a lot, it worked pretty well.

                  Comment

                  Working...
                  X