Code Monkey home page Code Monkey logo

x11-window-scripts's Introduction

A selection of handy X11/XFCE4 scripts

For personal use or use by anyone who is interested.

Custom command templates for Thunar

Templates for integrating custom commands into thunar.

Create image placeholder

Name:     Generate a place holder image
Command:  xfce4-terminal --color-bg="#FF7F7F" --color-text="#000000" --hide-menubar --hide-toolbar --hide-scrollbar --drop-down --title "Generate Placeholder" --working-directory=%f -e "bash /home/paul/myscripts/X11-window-scripts/dl-img-placeholder.sh"

Shortcut window

Required installed software:

  • xdotool
  • notify-send
  • zenity

Allows binding keys to windows to activate a given window and send arbitrary keyboard inputs to a shortcutted window. The window-manager need to be used in to create keybindings for invoking the script.

Usage:

shortcut-window.sh store [key]

Stores the currently active window under name [key].

shortcut-window.sh activate [key]

Activates the windows stored under name [key].

shortcut-window.sh rec_key [key] [shortcut-key]

Creates a keysequence to be sent to window bound to name [key]. The name of the stored keysequence will be [shortcut-key].

shortcut-window.sh send_key [shortcut-key]

Sends the named keysequence [shortcut-key] to the window that was associated with the keysequence using rec_key.

x11-window-scripts's People

Contributors

mrapplejuice avatar pkcakeout avatar sjoerdk avatar

Watchers

 avatar  avatar

Forkers

sjoerdk

x11-window-scripts's Issues

Commit eb1ff66cd1 breaks shortcut_window.sh shortcut key invocation in KDE plasma

shortcut_window.sh works well enough when invoked directly from a terminal. Fails however when invoked from KDE plasma keyboard shortcut

This is a terrible, almost insurmountable problem. Not being able to use custom window switching forces me to actually use alt-tab an excessive number of times. Sometimes I even have to use the mouse. My work has come to a grinding halt and my life is in tatters.

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.