LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-04-2006, 10:30 AM   #1
Eshindi
LQ Newbie
 
Registered: Mar 2006
Location: NY
Distribution: Suse, Fedora
Posts: 4

Rep: Reputation: 0
.desktop file to start xterm


i want to create a autostart .desktop file to start a xterminal running a script

is this correct at all?
[Desktop Entry]
Name=Me
Exec=xterm --geometry 850x600+85+70 file:/path/to/my/script
Type=Application/x-executable
Icon=none
Terminal=1

can someone please tell me if this is kinda correct?
thank you
 
Old 04-04-2006, 11:02 AM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
I don't know much about .desktop file syntax, but it looks like the Exec line is incorrect.
To open a particular file in an x terminal, use "-e /path/to/my/script"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm does not start as regular user aeruzcar Linux - General 1 05-31-2005 08:38 AM
creating desktop application with same xterm code degraffenried13 Linux - Newbie 3 05-28-2005 02:52 PM
Xterm does not start in root directory mystique98ls Linux - Newbie 2 12-14-2004 06:45 PM
xterm start with sh instead of bash freeindy Linux - Software 4 04-25-2004 11:58 AM
Automatic Start of XTerm secprovider Linux - Newbie 1 03-30-2004 04:00 AM


All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration