drestebon / papageorge

Simple client for the Free Internet Chess Server
GNU General Public License v3.0
5 stars 1 forks source link

How to run papageorge from icon #25

Closed enricoT closed 9 years ago

enricoT commented 9 years ago

from xfce4-terminal is possible to exec the command: xfce4-terminal -H -e "papageorge" and papageorge ask for login/password this way is possible to run papageorge from desktop file or from launcher, while the next works only from terminal window xfce4-terminal -H -e "papageorge $(head .icsrc)" the script is ignored on the launcher, and ask again login & password.

drestebon commented 9 years ago

I believe you should use -x instead of -e and without the double quotes

enricoT commented 9 years ago

:100:

enricoT commented 9 years ago

this is papageorge.desktop [Desktop Entry] Type=Application Version=1.0 Name=papageorge GenericName=Chess Fics Client Icon=papageorge.png Exec=xfce4-terminal -H -x papageorge $(head ./icsrc) Categories=Game;BoardGame;

it worked before upgrade with latest AUR repo, note that ./icsrc is in the home, and is icsrc not .icsrc i can run it from cd and terminal even with: Exec=xfce4-terminal -H -x papageorge $(head /home/enrico/icsrc) not working

drestebon commented 9 years ago

I think this doesnt work because the substitution is a bash feature. I could run papa from a laucher in xfce if i put the whole command xfce4-terminal -H -x papageorge $(head ~/icsrc) In a script in ~/bin and create a launcher for that. Tell me how it goes ;) On Oct 2, 2015 9:36 PM, "enricoT" notifications@github.com wrote:

this is papageorge.desktop [Desktop Entry] Type=Application Version=1.0 Name=papageorge GenericName=Chess Fics Client Icon=papageorge.png Exec=xfce4-terminal -H -x papageorge $(head ./icsrc) Categories=Game;BoardGame;

it worked before upgrade with latest AUR repo, note that ./icsrc is in the home, and is icsrc not .icsrc i can run it from cd and terminal even with: Exec=xfce4-terminal -H -x papageorge $(head /home/enrico/icsrc) not working

— Reply to this email directly or view it on GitHub https://github.com/drestebon/papageorge/issues/25#issuecomment-145134534 .