Announcement

Collapse
No announcement yet.

Can't 'Edit Application' owner is 'root'

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

    [SOLVED] Can't 'Edit Application' owner is 'root'

    Hi all,

    I have just installed Maya 2018 on Kubuntu but the icon for Maya under application>Graphics is pointing to the wrong file to be able to launch Maya. When I right click,"edit application", point it to the correct file and then try to save, It tells me I don't have permission to edit. So I checked the ownership. Owner is "Root". So how to I get ownership of it to change it? Or where do i look in terminal to "sudo" and change it. I'm new to Linux so any help would be great.

    Thanks.

    #2
    Right-click on the application launcher icon and edit the applications. Maybe.

    Comment


      #3
      Probably means you installed it wrong or their installer is bugged, or even possibly you've got root owning your menu file. Look in ~/.config/menus and make sure you own the files and folders there.

      Since Maya is a commercial application, have you asked their help desk?

      Please Read Me

      Comment


        #4
        The .desktop file are in /use/share/applications and should all be owned by root with permissions -rw-r--r--

        Please Read Me

        Comment


          #5
          Autodesk dosent seem to think it should run on linux with my student license. But low and behold it does. Basically I opened the .desktop it with KATE, which allowed root permissions, and edited the file to read:

          [Desktop Entry]
          Name=Autodesk Maya 2018
          Type=Application
          Comment=Run Autodesk Maya 2018
          Categories=Application;Graphics;
          Icon=/usr/autodesk/maya/desktop/Maya.png
          Exec=/usr/autodesk/maya2018/bin/maya.bin

          Encoding=UTF-8

          This is the location of the file that should be started /usr/autodesk/maya2018/bin/maya.bin

          After saving its location in the 'Exec=' line maya still doesn't launch. But if I open terminal and enter in

          /usr/autodesk/maya2018/bin/maya.bin

          it launches without a problem.

          I even changed maya.bin to 'executable'

          Im confused.

          Comment


            #6
            Try making your own menu entry. Run "kmenuedit" and create one.

            Please Read Me

            Comment


              #7
              Originally posted by oshunluvr View Post
              Try making your own menu entry. Run "kmenuedit" and create one.
              You mad bastard it worked! What i did was use that wonderful command then told the already existing "shortcut" to run as/in terminal. Then it executes with no issue.

              THANKS!

              Comment


                #8
                Originally posted by PencilTester View Post
                You mad bastard it worked!
                ROFLMAO, you must be an Aussie!

                Glad you found a solution.

                Please Read Me

                Comment


                  #9
                  I see you've got a working menu item, so cool, but for understanding's sake..
                  Originally posted by PencilTester View Post
                  ... I opened the .desktop... edited the file...
                  What file did you edit? I'm particularly asking, where was it? The file you should have been editing should have been owned by you.

                  Normally, .desktop files can be found in at least two places. If you install software with sudo, I'd expect it to install to /usr/share somewhere. If you then made a change a copy is made and put in your home directory under .config or .local, owned by you, which overrides the installed one. If you then edited the root owned one, it wouldn't have effect. There's a PATH-like XDG_something environment variable that specifies the places to look.

                  Regards, John Little
                  Regards, John Little

                  Comment

                  Working...
                  X