qCommand

Rating: 
4.555555
Your rating: None Average: 4.6 (9 votes)

This is a simple app to manage and run often used shell commands without using the terminal. It comes with some ready to use presets to show all features.

These include using mcetool to toggle display always on, a workaround to the missing jack detection on XA2 devices, find files, output various system status and connect to an SSH server using "fingerterm".

Features

  • Search
  • Basic bash completion
  • Templates (commands that can be edited before execution)
  • Interactive mode using "fingerterm"
  • Output handling (copy lines and open files)
  • Error notifications
  • Cover actions

Languages

  • en
  • de
  • sv (by eson57)
  • zn_CH (by dashinfantry)
  • fr (by Quenty31 and Google Translate, sorry)

Roadmap

All features of the current roadmap are implemented. If you have reasonable use cases for later extension, tell me or fork: https://github.com/dscheinah/qcommand

    Screenshots: 
    Application versions: 
    AttachmentSizeDate
    File qcommand-0.2-1.armv7hl.rpm51.99 KB25/02/2019 - 22:48
    File qcommand-0.2-1.i486.rpm52.88 KB25/02/2019 - 22:48
    File qcommand-0.3-1.armv7hl.rpm51.71 KB17/07/2019 - 20:50
    File qcommand-0.3-1.i486.rpm52.7 KB17/07/2019 - 20:50
    File qcommand-0.4-3.armv7hl.rpm53.16 KB20/07/2019 - 10:53
    File qcommand-0.4-3.i486.rpm53.84 KB20/07/2019 - 10:53
    File qcommand-0.5-1.armv7hl.rpm58.01 KB21/07/2019 - 19:08
    File qcommand-0.5-1.i486.rpm59.96 KB21/07/2019 - 19:08
    File qcommand-0.6-1.armv7hl.rpm62.39 KB24/07/2019 - 23:29
    File qcommand-0.6-1.i486.rpm65.14 KB24/07/2019 - 23:29
    File qcommand-0.7-1.armv7hl.rpm65.66 KB27/07/2019 - 04:10
    File qcommand-0.7-1.i486.rpm68.46 KB27/07/2019 - 04:10
    File qcommand-0.8-1.armv7hl.rpm44.47 KB29/07/2019 - 02:47
    File qcommand-0.8-1.i486.rpm47.45 KB29/07/2019 - 02:47
    File qcommand-0.9-1.armv7hl.rpm49.4 KB01/08/2019 - 09:42
    File qcommand-0.9-1.i486.rpm53.12 KB01/08/2019 - 09:42
    File qcommand-1.0-1.armv7hl.rpm51.34 KB07/08/2019 - 00:42
    File qcommand-1.0-1.i486.rpm55.09 KB07/08/2019 - 00:42
    Changelog: 

    1.0

    • updated descriptions and screenshots for the first release version
    • added preset commands
    • add completion for words typed in current editor
    • nearly finalize translations

    0.9

    • allow output to be copied or opened (if an app for the mimetype of a file is available)
    • try to layout the output in tables based on tab characters in the output
    • add descriptions to switches
    • some performance improvements
    • fixed some bugs

    0.8

    • replace the default icon with another simple one
    • add a duplicate option for editing commands
    • enable experimental interactive mode using fingerterm if installed

    0.7

    • add search
    • commands can now be selected to be used for cover actions
    • add some magic (the first word) to group command for the cover
      • play now iterates over commands in the same group
      • next now iterates over groups
    • add notifications
      • when output is ready and the app is minimized
      • when an error occured
    • add more languages

    0.6

    • order cover commands by name
    • add experimental bash completion suggestions (not always correct but sometimes usable)
    • add option to edit commands before execution

    0.5

    • add basic support for running commands as root with the password from the enabled developer mode
    • rework the internal command execution
    • some minor bugfixes

    0.4

    • add an option to display output
    • add basic cover actions
    • fix a bug with commands reading from stdin
    • add more translations

    0.3

    • restructured some of the code to prepare the next updates
    • add german translation
    • do not identify commands by name but by a hidden id

    Comments

    ezameht's picture

    Thank you for this app! Is there a way to disable error notifications?

    CoanTeen's picture

    Error notifications are triggered on two different conditions:

    • if the called script did output to stderr
    • if the last command exited with a non zero error code

    If you got errors you don't care about, you can suppress them using output redirection (e.g. 2> /dev/null) and call the command "true" on the last line.

    TMavica's picture

    I have add a restart homescreen command as cover action, but it not appear in cover page

    CoanTeen's picture

    There seems to be some weird bug when adding commands with the cover action switch turned on. I will fix it with the next release later this week.

    Can you please try if it works when you edit the created command and reset the switch? Just to confirm that I found the right bug...

    TMavica's picture

    Icon?

    Markkyboy's picture

    nice idea, works well, but the UI needs a little attention here and there.

    CoanTeen's picture

    Thank you. If you have any suggestions for the UI please let me know. It is something I could need help with.

    Markkyboy's picture

    I suppose, to start with, just to capitalize some of the title/heading/options, for no reason that to fall inline with how Jolla does it, for example, instead of 'run command', change to 'Run command' and likewise for menu titles and options, all lowercase just doesn't look right in my opinion.

    Perhaps also, to use PageHeader where applicable, although it may make spacing look a bit odd.
    I will play around with the UI as I find your app quite useful. Another user here on Openrepos attempted something similar but development seemed to halt after the first version; https://openrepos.net/content/yaliang/gui-mcetool

     

    bomo's picture

    Are root commands allowed?

    CoanTeen's picture

    I need to revert my previous statement. When reworking the internal command execution I got an idea on how to implement the command execution as root using devel-su and the password from the developer settings.

    CoanTeen's picture

    No, root commands are not possible and I'm currently not sure if I will implement it. Sorry

    crakby's picture

    Is this app like ShellEx?

    CoanTeen's picture

    Looking at the screenshots of ShellEx you seem to be right.

    But as I see it, the future work will differ once I continue development. What I have in mind is something maybe described as "Kaptain light" with the programs output shown in a list view with the ability to copy or "open with" each line.