Index
How to pin commands with arguments to task manager for one Activity only - Printable Version

+- Index (https://forums.netrunner.com)
+-- Forum: Netrunner Debian (https://forums.netrunner.com/forumdisplay.php?fid=75)
+--- Forum: Netrunner (https://forums.netrunner.com/forumdisplay.php?fid=85)
+--- Thread: How to pin commands with arguments to task manager for one Activity only (/showthread.php?tid=24349)



How to pin commands with arguments to task manager for one Activity only - Deckweiss - 20th November 2017

Hey,

I have a setup, where I use Activities for my different working environments.
The desktop of each shows the folder where I am working in.
I want to add a way to quickly access git in that folder.

1. Is there a way to add "open command line here" to the right click on the desktop.

2. I've added a new application which opens konsole with a certain profile. But I cannot pin it to the task manager.
Is there any way to pin a something that runs 'konsole --profile <name>' to an Activities task manager bar ?


RE: How to pin commands with arguments to task manager for one Activity only - leszek - 21st November 2017

you can create a shortcut in a folder that calls konsole --profile <name> and add this to the panel as icon if you wish.


RE: How to pin commands with arguments to task manager for one Activity only - Deckweiss - 22nd November 2017

No I can't.
Such shortcuts can only be pinned globally across all Activities. There is none of the usual right click options to select which activities it is on.


RE: How to pin commands with arguments to task manager for one Activity only - leszek - 22nd November 2017

That is true. The panel shortcuts are shown on all activities.
So maybe you can add the shortcut to the desktop which is different for every activity.


RE: How to pin commands with arguments to task manager for one Activity only - Deckweiss - 23rd November 2017

This is the regular konsole commandline:
https://puu.sh/yrASe/063328b637.png

When I run it it can be pinned. Also I can pin it from the launcher and afterwards edit it to only be pinned to one activity.

This is my modified konsole
https://puu.sh/yrAZJ/6555c7db67.png
I can pin it to all activities via dragging or the launcher menu.
And when I run it, it open a whole new window and thats why it is unpinnable to a specific Activity.
https://puu.sh/yrB2B/89cce63452.png


I don't wanna mess with my project folders, so I think I'll try solving it through a widget.
Thanks for your replies