Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tcim

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcim

terminal commands in menus

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

tcim - terminal commands in menus

An easy way to call hard to remember or complex terminal commands or scripts from a menu.

supported menu systems

  • dmenu
  • xdg desktop menu

files

commands.tsv contains your commands and is located in ~/.config/tcim. It can be edited using the menu (see usage) or manually using your favourite text editor. Since it is a .tsv file, you could even use a spreadsheet program like libreoffice calc.

file format

commands.tsv is a tab-separated values file:

name <tab> comment <tab> command

example:

list filesystems	report file system space usage	df -h

If you don't want to keep the terminal open after the command has finished, prepend the command with [NOKEEP]. If you don't want to run the command in a terminal, prepend the command with [NOTERM].

The command can't contain double quotes ". If you need double quotes, move the command into a script file and use it in the command field.

installation

pip install tcim

usage

dmenu

Call tcim-dmenu to list the available commands in a dmenu. Currently xterm is used to display the result of the command and it is expected to be installed.

xdg desktop menu

Call tcim-update-xdg-menu to update your desktop menu, used by many desktop environments. Once called, everything (e.g. editing the commands-file) is available from the menu.

uninstall

pip uninstall tcim doesn't uninstall .desktop menu entries created by tcim-update-xdg-menu. You can use this command to get rid of them:

xdg-desktop-menu uninstall command-menu.directory ~/.local/share/applications/command-*

todo

  • new field for optional working directory
  • support more menu systems (e.g. rofi, openbox)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc