Posts: 1,062
Dave
Joined: 20 Jan 2010
#1
Made another simple script after getting tired of forgetting the entries for setting key binds
here it is for everyone else

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://daveserver.homelinux.com/antiX/add-key.tar.gz"
linktext was:"add-key.tar.gz"
====================================

extract and set as executable in /usr/local/bin
Last edited by Dave on 22 Mar 2011, 01:57, edited 1 time in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Downloaded and did not have to set as executable as when I extracted package. It was already executable.

Installed in /usr/local/bin

My Icewm simple menu entry to open it is

Code: Select all

prog"Add Key" gksu /usr/local/bin/add-key
Will try it out later. Thanks again Dave.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#3
No problem, just sharing what I have made to make antiX a little easier for myself and others.

Made a little bit of changes to make it more goof proof. ( cannot enter blanks or make duplicate entries ) also added buttons to view the current entries.

Edit: you should not need to use this as root, you can only change your own configs with it
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#4
Very nice addition to antiX. Thanks Dave.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5
Edit: you should not need to use this as root, you can only change your own configs with it
Hmmm.

Code: Select all

prog"Add Key" /usr/local/bin/add-key
won't launch it Dave. That is why I used gksu. It launches then with that prefix command on my box.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
Added Icon while chatting Dave. Menu looks like

Code: Select all

prog"Add Key" /usr/share/icons/gTangish-2.0a1/48x48/categories/redhat-programming.png gksu /usr/local/bin/add-key
Now I have to type in password before it opens. Can live with that.

Update. Works without root after talking with Dave in chat.

Code: Select all

prog"Add Key" /usr/share/icons/gTangish-2.0a1/48x48/categories/redhat-programming.png /usr/local/bin/add-key
Posts: 1,062
Dave
Joined: 20 Jan 2010
#7
Added a delete option to add-key.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://daveserver.homelinux.com/antiX/add-key.tar.gz"
linktext was:"add-key.tar.gz"
====================================


deb download available ( add-key, add-start, wallpaper.sh)

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://daveserver.homelinux.com/antiX-Repository/daves-wm-apps_1.2.0_all.deb"
linktext was:"daves-wm-apps_1.2.0_all.deb"
====================================


Screenshot