Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Script help
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Script help
Script help
11-09-2013 12:56 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am trying to get a caja (nautilus) script running.
I want to be able to right click on an .apk file and choose to install it to my tablet.
Any ideas?
the command to install is adb install <file>
I want to be able to right click on an .apk file and choose to install it to my tablet.
Any ideas?
the command to install is adb install <file>
2 REPLIES 2
Re: Script help
11-09-2013 1:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
It doesn't need to be a nautilus script, normally the same nautilus scripts are shown for all file types.
An alternative would be to create a .desktop file with the correct MimeType, Exec and other keys, and put it in ~/.local/share/applications/
An alternative would be to create a .desktop file with the correct MimeType, Exec and other keys, and put it in ~/.local/share/applications/
Re: Script help
11-09-2013 2:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I don't want it opened automatically by this app, I only want to select and install, without having to open a terminal and put in the above command.
It should be trivial, but I really want it to open in a terminal so I can see what the result is.
So far I have managed to open the terminal but get "can't open binary file"
I am trying
mate-terminal --window-with-profile=wait -x adb install "$1"
Ok that worked, had to change the original -e to -x, the help file said use -e!
It should be trivial, but I really want it to open in a terminal so I can see what the result is.
So far I have managed to open the terminal but get "can't open binary file"
I am trying
mate-terminal --window-with-profile=wait -x adb install "$1"
Ok that worked, had to change the original -e to -x, the help file said use -e!
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page