It's a simple scripts that opens a XTerm like a dropdown. I also tried Guake, but i didn't like it because it was always running in the background(it didn't kill it when i closed). This scripts kills the process when a window with the name "DropDownTx" is opened, if it doesn't find a window it will start a new fresh one. This dropdown terminal was made for Lubuntu, it might work also on other linux distibutions.
- Features
- Features that i want to add
- Dependices
- Tested in
- Instructions
- Errors and solutions
- Bugs
- Author
- License
- Always stays on top
- When you close it, it doesn't hide only the window, it ends the process
- You can change the speed for the drop down effect, check $delay_dd and $step in the script
- You can customize it, change height, font color, background color. Much more if you know how to use XTerm fields
- transparent background, without using Compiz(let me know if you have some ideas)
What things you need to install the script:
- wmctrl - window manipulation
- xrandr - to get the screen size
- xprop - to get the PID using the ID of a window
- [optional]xbindkeys - to execute the script using a keyboard shortcut
- Lubuntu 17.04, 16.10
- Arch with LXDE
Making the script executable:
$ chmod +x terminal.sh
Installing xbindkeys
$ sudo apt-get install xbindkeys
Create default settings for xbindkeys
$ xbindkeys --defaults > ~/.xbindkeysrc
adding keyboard Shortcut, mine is: "Ctrl + <", after that we restart xbindkeys
Add your path to teh script
$ printf '#DropDownTx\n"/path/to/terminal.sh"\nControl + less\n' >> ~/.xbindkeysrc &&
Restarting xbindkeys, so the changes will take effect
$ killall xbindkeys ; xbindkeys
Installing wmctrl
$ sudo apt-get install wmctrl
- -bash: ./terminal: /bin/bash^M: bad interpreter: No such file or directory **Solution: **
This script was written in Atom, and it may have added other chars so we have to remove them
$ sed -i -e 's/\r$//' terminal.sh
- 1 . If you have a window opened with this name "DropDownTx7683" it will interfere with the script. It may close that window.
- Kznamst - Kznamst
See also the list of contributors who participated in this project.
This project is licensed under the GNU General Public License.