Git Product home page Git Product logo

sup-r's Introduction


A beautiful GTK+ Run prompt clone built with bash.


What is Sup-'R' ?

This is a program that tries to mimic Windows' Run prompt. It's incredibly lightweight and allows you to run anything that xdg-open can.

Sup-R is a play on words with Win+R and Linux's Super key. Combining the two, ultimately I came up with Sup-R.

Tested Distros

The program has been tested and works on the following Linux distros:

  • Ubuntu 22.04 - 22.10 ✅  -QuarTheDev, manOnWebs
  • Fedora 36 [~] -QuarTheDev

If this program works on your distro but is not listed here, please fill out this form to both help Sup-'R' development and get credit for it!

Dependencies

  • zenity (for GTK+ dialogs)
  • xdg-utils (for opening directories and files)
  • sed (for identifying distro)*

sed will no longer be a requirement in later releases.

Features:

  • Open any file, directory, and most websites
  • Browse for any file or directory (including network drives)

Installation

Open your terminal and enter the following command;

bash <(curl -sSL https://raw.githubusercontent.com/QuarTheDev/Sup-R/main/install/init.sh)

A command line will open, which will automatically retrieve essential items that it needs for installation, and will install Sup-'R' in ~/.run-prompt/.

What now?

You now have a functional Run prompt in Linux! Congratulations.

If you'd like to take it a step further and make it run when you press ❖ + R, you should be able to assign the shell script to that keybind in your distro's keyboard settings.

For Ubuntu, go to:

Settings › Keyboard › View and Customize Shortcuts › Custom Shortcuts › Add Shortcut

Add the following path:

/bin/sh /home/$USERNAME/.run-prompt/run.sh

Then select the Set Shortcut... button, and bind it to ❖ + R, or really anything you want. Enjoy!

Uninstall:

Close the run prompt completely, then run the following command in your terminal:

bash <(curl -sSL https://raw.githubusercontent.com/QuarTheDev/Sup-R/main/uninstall/init.sh)

Future features

In the future, I plan to work on the following features:

  • An option to hide the terminal so only the run dialog is visible
  • A way to automatically assign ❖ + R to launch Sup-R
  • A yad port for more features (see v1cont/yad)

Known Issues

There's a small list of known issues. They are currently being worked on or investigated;

  • On Ubuntu, adding the script to a keybind results in only the first dialog appearing.
  • On some systems, double-brackets are interpreted as a command when ran as a standalone shell script rather than curling from GitHub.
  • On Fedora Workstation, all dialog boxes appear in a light mode regardless of user settings.

Questions

Will there be a Mac release?

No, I've never touched an Apple-made PC before and that probably won't change.

I found a small error that won't affect the overall execution of SpotX-GUI. What do I do?

I encourage you to make an issue regardless of the severity. General syntax errors are fine, but anything else feel free to make an issue.

Did anyone really ask these questions?

Nope

Thanks for checking this out!

sup-r's People

Contributors

quarthedev avatar

Stargazers

 avatar

Watchers

 avatar

sup-r's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.