How to Use Interrupted's File Host on Linux

Interrupted.me provides two options for Linux users to upload files:

  1. Flameshot Uploader Script (ideal for most setups).
  2. Grim Uploader Script (recommended for Arch-based systems or Wayland environments like Hyprland).

Both scripts are pre-configured with your API key when downloaded via the dashboard.

Option 1: Using the Flameshot Uploader Script

  1. Download the Script
    • Head over to the dashboard and download the Flameshot uploader script.
    • Save the script to a location of your choice.
  2. Install Dependencies
    • Flameshot: For capturing screenshots.
    • xclip: For copying the URL to the clipboard.
    • curl: For uploading the file.
    • jq: For parsing the JSON response.
    • Install the dependencies using your package manager:
      • On Ubuntu/Debian-based systems:
        sudo apt install flameshot xclip curl jq
        
      • On Arch-based systems:
        sudo pacman -S flameshot xclip curl jq
        
      • On Fedora-based systems:
        sudo dnf install flameshot xclip curl jq
        
  3. Make the Script Executable
    • Open a terminal window and navigate to the directory where you saved the script.
    • Run the following command to make the script executable:
      chmod +x username_flameshot_uploader.sh
      
  4. Run the Script
    • Run the script using:
      ./username_flameshot_uploader.sh
      
    • The script will automatically upload the screenshot and copy the URL to your clipboard.
  5. Extra Tip
    • You can bind the script to a keyboard shortcut for quick access.

Option 2: Using the Grim Uploader Script

  1. Download the Script
    • Head over to the dashboard and download the Grim uploader script.
    • Save the script to a location of your choice.
  2. Install Dependencies
    • Grim: For capturing screenshots.
    • Slurp: For selecting a region to capture.
    • xclip: For copying the URL to the clipboard.
    • Install the dependencies using your package manager:
      • On Arch-based systems:
            sudo pacman -S grim slurp xclip
        
  3. Make the Script Executable
    • Open a terminal window and navigate to the directory where you saved the script.
    • Run the following command to make the script executable:
      chmod +x username_grim_uploader.sh
      
  4. Run the Script
    • Run the script using:
      ./username_grim_uploader.sh
      
    • The script will automatically upload the screenshot and copy the URL to your clipboard.
  5. Extra Tip
    • You can bind the script to a keyboard shortcut for quick access.

Troubleshooting

  • If the scripts fail to upload, check the log files located in /tmp/flameshot_uploader.log or /tmp/grim_uploader.log.
  • Ensure your system has network connectivity and the required dependencies are installed.

For further assistance, you can open a ticket in our discord server.