Shellscript gui platform made with 100% shell script (fzf, yad, etc)
It's a shellscript manager app from gui that have execution, edit, delete, and create as feature.
- Easily turn shellscript into a GUI application.
- Versatile usage for Terminal, Crome, OS setting, etc.
- Ritch key bind.
- List shellscript.
-
Downlaod installer.bat from google drive
-
Double click installer.bat
- Support Ubuntu20.04+
- for windows 11, disable wayland, but it's unconfirmed operation
- Only X11 support (wayland not support)
- Support Ubuntu20.04+
git clone https://github.com/kitamura-take/cmdclick.git ~/.cmdclick
cd ~/.cmdclick/linux/install
bash installer.sh
- Only X11 support (wayland not support)
- It's unconfirmed operation
git clone https://github.com/kitamura-take/cmdclick.git ~/.cmdclick
cd ~/.cmdclick/linux/install
vi installer.sh
# please replace apt with your package system cmd, which is yum
bash installer.sh
- delete $HOME/cmdclick directory
- same as installation.
- delete $HOME/.cmdclick directory
- same as installation.
demo flow
- add -> run -> edit by gui -> run -> edit by editor -> run
- edit by gui -> set
editExecute
(ONCE
) -> run ->setVariableType
(CB
) -> run - edit by gui -> set
editExecute
(ALWAYS
) -> run ->setVariableType
(NUM
) -> run - Install shellscript -> run -> add -> run
- edit by gui -> set
editExecute
(ALWAYS
) -> run - edit by gui -> set
TerminalDo
(OFF
) -> run
CommandClick will launch shellscript platform, read shellscript from $HOME/cmdclick/default or etc.
First, type windows key and "cmdclick", then click cmdclick
icon
Or key down ctrl+alt+c as shrotcut key. (if your shortcut key is this, change by right click at cmdclick_shortcut.link in desktop)
Type cmdclick
for search in menu.
(It's easier to make a keybind)
Add file to command click
-
Type alt+a, that way, open source file.
-
Write the file name you want to set at shellFileName between
SETTING_SECTION_START
and `SETTING_SECTION_END.- Set the various settingVriables below as necessary
settingVariable set value description terminalDo
ON
/OFF
whether to run in terminal openWhere
CW
/NT
when runing in terminal, whether to run current tab or new tab terminalFocus
ON
/OFF
whether to forcus to terminal editExecute
N
/C
/E
before running shellscript, you can edit settingVriable(NO: no, ONCE: one time edit ALWAYS:always edit) setVariableType
string when edit, whether to set variable type to commandVariable. You also have multiple specifing this. In detail, follow bellow. afterCommand
command before run shellscript, run command afterCommand
command before run shellscript, run command ExecBeforeCtrlCmd
command before run shellscript, run cmdclik crtl command (prefix NO: only apply when editExecute is NO, prefix ONCE
: only apply when editExecute isONCE
, prefixALWAYS
: only apply when editExecute is ALWAYS. no prefix is apply to all editExecute value), prefix#
: escape ctrl cmd executeexecAfterCtrlCmd
command after run shellscript, run command, detail above same shellFileName
string shellscript file name appIconPath
string icon file path for Shell2Gui
-
Insert the variables you want to set in the gui between.
CMD_VARIABLE_SECTION_START
and `CMD_VARIABLE_SECTION_END.- Set the various commandriables below as optional
| settingVariable| set value | description |
| --------- | --------- | ------------ |
|
shellArgs
| string | shellscript args. You also have multiple specifing this. |
- Set the various commandriables below as optional
| settingVariable| set value | description |
| --------- | --------- | ------------ |
|
-
after
Please write bellow with shell script
, write shellscript. -
come back Command Click screen, and if it correct, type ctrl+enter if not, esc.
- setVariableType option
option description example CB
checkbox {variablebName}:CB=value1!value2! CB
editable checkbox {variablebName}:CBE=value1!value2! H
hidden input {variablebName}:H={password ..etc} NUM
increment or decrement number {variablebName}:NUM={init_value}!{min}..{max}!{step}(!{number of decimal places}) FL
file select button {variablebName}:FL={default file path} SFL
create file button {variablebName}:SFL={default file path} DIR
directory select button {variablebName}:SFL={default directory path} CDIR
create directory button {variablebName}:CDIR={default file path} DT
create file button {variablebName}:SFL={default file path} SCL
scale {variablebName}:SCL={default number} CLR
select color {variablebName}:SCL={default value} LBL
text label {variablebName}:LBL={label text} BTN
botton {variablebName}:BTN={command} FBTN
botton {variablebName}:BTN={command}
Run shellscript
- Cursor move to script file name you wonts run by mouse or up or down
- Enter or double click this.
- When inputExecute is C or E, before runninig, you will edit the script.
Cmdclick can edit shellscript by gui or editor
- Move cursor to script file name you wonts edit by up or down.
- Type Alt+e or run shellscript when inputExecute in seting secttion is C.
- Soon cmdclick open the edit's gui, then set each variable you wont to change.
- When you wont to set the setting variable, type alt+e. (when not setting cmd variable, cmdclck automaticaly display setting variable's edit screen)
- When finishing editing, type ctrl+enter.
- Soon apear confirm screen, if it correct, type ctrl+enter if not, esc.
- Move cursor to script file name you wonts edit by up or down.
- Yype Alt+w or run shellscript when inputExecute in seting secttion is E.
- Soon editor open the target script , then edit.
- Come back cmdclick gui screen, and, type ctrl+enter.
- Move cursor to script file name you wonts edit by up or down.
- Type Alt+W.
- Soon cmdclick open description edit screen , then edit.
- When finishing editing, type ctrl+enter.
- Soon apear confirm screen, if it correct, type ctrl+enter if not, esc.
delete shellscript file
- Move cursor to script file name you wonts edit by up or down.
- Type Alt+d.
- Soon cmdclick open delete screen , if it correct, type ctrl+enter if not, esc.
Exit cmdclick
- Type esc.
- Besides this, esc can exit all process (add, run, edit, delete)
Move shellscript file to other app directory
- Move cursor to script file name you wont to move by up or down.
- Type Alt+m.
- Soon cmdclick open app directory list.
- Move cursor to app direcotry path name you wont to move by up or down. (if selecting current app directory, target file is copied)
- Type enter.
Install mean copy selected shellscript
- Type Alt+i.
- Soon cmdclick open file manager.
- Select file you wont to install.
- Soon cmdclick open app directory list.
- Move cursor to app direcotry path name you wont to insert by up or down.
- Type enter.
change setting in cmdclick
-
Type Alt+C.
-
Soon cmdclick open the setting gui, then set each column you wont to change.
-
bellow setting column detail
settingVariable set value description pasteAfterEnter
ON
/OFF
after pasting cmd to terminal, whether to type enter pasteTargetTerminalName
terminal name past target terminal app name openEditorCmd
editor cmd editor command shiban
shell shiban running shellscript's shiban runShell
shell name run shell name -
pasteTargetTerminalName
's example
windows)WindowsTerminal
,ubuntu2004
,ubuntu
(cmdclick installing one) etc.
ubuntu)xfce4-terminal
,gnome-terminal
etc.
-
-
When you wont to set the column, ctrl+enter.
-
Soon apear confirm screen, if it correct, type ctrl+enter if not, esc.
-
Restart cmdclick in order to reflect the settings
Cmdclick have app directory manager, which is Directory containing shellscript. App directory manager is used in order to add, edit, and delete app directory.
- When exitting app directory manager, type esc.
- Type Alt+c.
- Type alt+a, that way, open gui to set app directory path.
- specify app directory path.
- If it correct, type ctrl+enter if not, esc.
- Move cursor to change direcotry script file name you wont to run by mouse or up or down.
- Enter or double click this.
Cmdclick
can convert shellscript to Gui app.
c [your shellscript make from Cmdclick
]
- c is shortcut for cmdclck
Cmdclick's essence is shortcut usage.
keybind | description | support app directory manager |
---|---|---|
alt +q |
add | o |
alt +e |
edit | o |
alt +k |
description edit | o |
alt +w |
edit by editor | o |
alt +r |
reload list | x |
alt +s |
change app directory | x |
alt +a |
conversely change app directory | x |
alt +d |
delete | o |
alt +c |
launch app directory manager | x |
alt +p |
setting | x |
alt +v |
copy highlited shellscript file path | x |
alt +m |
move | o |
alt +i |
install | o |
alt +g |
descriptoin scroll up | o |
alt +b |
descriptoin scroll down | o |
Kill like bellow command, because leftover cmdclick process is getting in the way
(When starting, cmdclick check current process, and start with nothing)
c -k
-> CommandClick