On Friday 06 March 2009 14:36:08 Nikos Chantziaras wrote: > Nathan England wrote: > > Hello Hello, > > > > I realize this is bad form, but regardless it works. I have my user setup > > as part of the wheel group, so sudo automatically elevates me when I use > > it. I have several files that I will access and make changes to with my > > root user, and occassionaly I use kwrite as my user running under sudo to > > access those files as well. > > > > I decided to create a shortcut on my desktop, so I clicked the kmenu, > > typed in kwrite and then right clicked it and select 'add to panel'. It > > did so, then I edited the icon settings and changed it to execute 'sudo > > kwrite' > > > > It all works well, but when I tried to open kwrite, NOT from my panel > > shortcut which opens sudo kwrite, but from the kmenu I found it had > > edited my short cuts globally and it always opens kwrite in sudo mode... > > > > Is this to be expected, or is this a bug as the system is not creating a > > "new" shortcut but rather a pointer to the real one???? > > > > Any thoughts, besides how stupid I may be for doing it this way...;-) > > You need to create a new shortcut. Right click on the desktop, "Create > new->Application link" and enter: > > kdesu /usr/kde/4.2/bin/kwrite > > (needs a full path; use "which kwrite" on a terminal to see the full > path of kwrite). > > PS: > Use kdesu instead of sudo. Also, I sure hope you've set up sudo to ask > for a password? > > ___________________________________________________ > This message is from the kde mailing list. > Account management: https://mail.kde.org/mailman/listinfo/kde. > Archives: http://lists.kde.org/. > More info: http://www.kde.org/faq.html. When I right click on the desktop I do not have an option for creating a new shortcut, or I would have done that! The only thing close I have found is right clicking an icon and selecting copy to where ever... nathan ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.