Awn

Add "Run As...(user)" to launcher context menu

Bug #353697 reported by everythingsround
2
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Wishlist
moonbeam

Bug Description

It would be very helpful to have the option to right click an applet or launcher and have an 'open with Super User rights' option. Just a thought. If I could do it, or had the time, I'd do it for myself. Thanks for all the work done on the project. Thanks for the consideration if this request is processed.

Revision history for this message
Mark Lee (malept) wrote :

FWIW, if we were going to add this feature at all (not saying either way at this point), it wouldn't be for applets. This is because not all applets launch apps, and some already deal with running as different users (ideally through PolicyKit).

summary: - [FEADTURE REQUEST] Right Click Admin Privileges (open with gksu)?
+ Add "Run As...(user)" to launcher context menu
tags: added: feature-request taskmanager
Revision history for this message
everythingsround (pclawler) wrote : Re: [Bug 353697] Re: Add "Run As...(user)" to launcher context menu

Thanks for the clarification. Cheers.

On Thu, 2009-04-02 at 16:56 +0000, Mark Lee wrote:
> FWIW, if we were going to add this feature at all (not saying either way
> at this point), it wouldn't be for applets. This is because not all
> applets launch apps, and some already deal with running as different
> users (ideally through PolicyKit).
>
> ** Summary changed:
>
> - [FEADTURE REQUEST] Right Click Admin Privileges (open with gksu)?
> + Add "Run As...(user)" to launcher context menu
>
> ** Tags added: feature-request taskmanager
>

Revision history for this message
moonbeam (rcryderman) wrote :

I'm willing to consider this but I would need to be convinced of the wisdom of adding this feature.

Mark Lee (malept)
Changed in awn:
importance: Undecided → Wishlist
Revision history for this message
moonbeam (rcryderman) wrote :

With the recent xml context menu work in the 0.3.9 (rewrite) branch, it's possible to do it.

Create a custom menu (I'd suggest copying advanced.xml or custom-example.xml normally find in /usr/share/avant-window-navigator/applets/taskmanager/menus/) to a path in the user's home.

Edit them and add something along the lines of

 <menuitem type="External-Command" cmd="gksudo $AWN_TASK_EXEC &amp;">Launch as root</menuitem>

Then start gconf-editor and navigate to \apps\awn-applet-taskmanager\ and edit menu_filename and give put in the full path to the new xml file. And it should be there.

Some of the specifics of the "External-Command" may change before a 0.4 release, so if it suddenly breaks it just means that the syntax has changed in some way. I am willing to consider putting this into advanced.xml also (comments requested)

Changed in awn:
status: New → In Progress
moonbeam (rcryderman)
Changed in awn:
assignee: nobody → moonbeam (rcryderman)
milestone: none → 0.4.0
status: In Progress → Fix Committed
Mark Lee (malept)
Changed in awn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.