Announcement

Collapse
No announcement yet.

Root actions service menu

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

    Root actions service menu

    I posted a 'root actions' service menu in kde-look.org that can be used an an alternate for the Edit-as-Root kubuntu action in konqueror.

    In case you need more 'root' functionality with konqueror, you may have a look at it:
    http://www.kde-look.org/content/show.php?content=48411

    It adds a root action menu with which you can perform following 'root' actions (it ask for a password of course):
    1. Edit a file as Text (in kate)
    2. Edit a file as hexadecimal (in khexedit, which you may need to install)
    3. Open a file or folder in konqueror window
    4. Change file or folder ownership to root:root or 1000:1000 (default user)

    Note: don't use the 'change owner to user' on system folders (unless you're absolutely sure you know what you're doing...though you can do it, it may break your system)

    #2
    Re: Root actions service menu

    Sweet!
    I was just thinking about trying to create a similar service menu myself, more just to move the Edit As Root menu up to the first level in the context menu (instead of under "actions"), but also to add a few things as you have

    [me=claydoh]goes back to being lazy [/me]

    Thanks for providing this to everyone!

    Comment


      #3
      Re: Root actions service menu

      sorry to be such a newb but it says to put the 2 files in ~/.kde/share/apps/konqueror/servicemenus what is meant by ~? and what if no servicemenus folder exists in that particular location?

      Comment


        #4
        Re: Root actions service menu

        '~" is a shorthand for the '/home/<your-username>/
        so it goes to , for me, /home/claydoh/.kde/share/apps/konqueror/servicemenus
        If there is no folder there, it will need to be created

        Remember, the 'dot" in '/.kde' signifies a hidden folder

        Comment


          #5
          Re: Root actions service menu

          Thanks for the comments claydoh

          If any of you have any improvement suggestions, I'd gladly hear them.

          Also, if you like the servicemenu, you can post translations of the strings in your language and I could add them in.


          Comment


            #6
            Re: Root actions service menu

            thanks claydoh its true u learn something new everyday

            one last question now that i have the root actions menu how can i get rid of the edit as root in the actions menu?

            Comment


              #7
              Re: Root actions service menu

              Originally posted by shadowfx78
              one last question now that i have the root actions menu how can i get rid of the edit as root in the actions menu?
              There are many ways to remove/hide the redundant 'edit as root' from actions menu, one of the least intrusive methods is this:

              1. Open a text editor and write the line:
              NoDisplay=true

              2. Save the file as 'edit-as-root.desktop' in the same directory (~/.kde/share/apps/konqueror/servicemenus)

              That should hide the action from that user's menu

              Comment


                #8
                Re: Root actions service menu

                u know i cant write to that directory as my usual user how can i fix this. I was able to do it as root though?

                Comment


                  #9
                  Re: Root actions service menu

                  Originally posted by shadowfx78
                  u know i cant write to that directory as my usual user how can i fix this.  I was able to do it as root though?
                  Most likely a simple permission/ownership issue. the files/folders in your home folder (/home/<username> should be owned:grouped by <username> and rw permissions set for at least the owner. You can view the permissions and ownerships in konqueror detailed view. If you need to change permissions/ownership on a file/folder, right-click on it and choose Properties (you may need to run konqueror 'as root'. For example, if ownerhip is set to root you can't change that as a user)

                  Comment


                    #10
                    Re: Root actions service menu

                    i used the root actions menu to change my whole home folder to user ownership was pretty easy. Thanks alot for your help and your tip about the actions menu worked thanks again

                    Comment


                      #11
                      Re: Root actions service menu

                      Originally posted by shadowfx78
                      i used the root actions menu to change my whole home folder to user ownership was pretty easy.
                      Ah yes, I managed to forget you could use the menu to change ownerships quickly 'as root' :P...glad you got it all worked out

                      Comment


                        #12
                        Re: Root actions service menu

                        I uploaded a new versions of the Root Actions -service menu at kde-look
                        http://www.kde-look.org/content/show.php?content=48411

                        Note that the beta is still beta, though it should work I can't guarantee it won't misbehave...I'd appreciate any information on how it works, bugs, etc.

                        The 1.1 is a translation update (German, French, Italian)

                        The 1.91 Beta is a rewrite that adds a lot of new things:
                        - Root terminal here
                        - Open with program of your choice
                        - Delete (use with caution)
                        - Rename with support for batch renamers like krename
                        etc


                        Comment

                        Working...
                        X