Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-07-31 09:04:04

71mambo
Member
Registered: 2017-04-27
Posts: 5

Problem during execution on file.desktop

Hello,

I'll try to customize a new desktop menu, using a file like this one

[Desktop Entry]
Name=AREACATSF8LNX
Exec=xterm -T "WORK AREA" -bg B4F8F8 -cm -fg black -cr red -ms red -bd black -fn 10x20 -e ssh -X USER@`hostname`
Comment=
Icon=gnome-xterm
NoDisplay=false
Type=Application
Categories=Utility;

but it doesn't work.

Have You any suggestion regarding my issue?

Many thanks in advance

     Regards

    Luciano

Offline

#2 2017-07-31 13:23:02

71mambo
Member
Registered: 2017-04-27
Posts: 5

Re: Problem during execution on file.desktop

I need to open a new xterm with this setup

xterm -T "WORK AREA" -bg B4F8F8 -cm -fg black -cr red -ms red -bd black -fn 10x20 -e ssh -X USER@`hostname`

but I cannot do it with my .desktop file.

Can You help me to solve this issue?

   regards
   
   Luciano

Offline

#3 2017-07-31 16:31:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Problem during execution on file.desktop

Try this:

xterm -T "WORK AREA" -bg "#B4F8F8" -cm -fg black -cr red -ms red -bd black -fn 10x20 -e 'ssh -X USER@`hostname`'

Fixed the bg colour code and added single quotes for ssh command.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB