LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-23-2014, 11:29 AM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,413

Rep: Reputation: Disabled
making files/programs start at login in XFCE


In XFCE, how do I make files open or programs start automatically after I log in? I've done it once, making a certain text file on the desktop open as soon as I login, but I forgot how I did it (if I even did it on purpose) and have been unable to do it again for something else I want to open at login.
 
Old 03-23-2014, 02:05 PM   #2
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
You can set this either by using the Xfce Session Settings GUI interface (xfce4-session-settings), or by putting a "<name>.desktop" file in the following directory (create it if needed):

Code:
~/.config/autostart/
The file must include the Exec key, followed by the command you want to launch, roughly as if you would do in a command line interface (you may need to escape or quote reserved characters).

Code:
[Desktop Entry]
Name=Startmydoc
Exec=emacs myfile.txt
Terminal=false
Type=Application
StartupNotify=false
A lot of related information is here:
Autostart Of Applications During Startup
Desktop Entry Specification

Last edited by Philip Lacroix; 03-23-2014 at 07:19 PM. Reason: forgot the "4" in "xfce4"
 
1 members found this post helpful.
  


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
[SOLVED] How open programs to start with XFCE hackum Linux - Desktop 4 07-03-2011 02:25 AM
XFCE, start programs automatically on startup? malloc Linux - Software 1 12-28-2010 06:51 AM
I want to start making my own programs aaronlong Linux - Software 1 09-05-2009 06:33 PM
How do I make my programs auto start on login? martinr Fedora 2 04-11-2006 11:00 AM
Making programs start on power-on orange400 Linux - General 6 05-26-2004 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:45 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
Open Source Consulting | Domain Registration