LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2010, 10:10 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Run gui applications in X without window manager or DE?


I've seen some things that say that it's possible to run gui programs with X, but no DE or windowmanager with commands such as :
Code:
X && xterm

### or 

(X &) && firefox
I find this intriguing if not altogether practical, but so far when I do one of the commands above, from a console (runlevel 3) the screen blanks as if X is starting, but then it just fades to a darker black. Killing X or changing terminals is all I can do to get out.

Is what I'm trying to do actually possible, and if so how would I go about getting it to work?
 
Old 04-24-2010, 10:35 PM   #2
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Well so far I've been able to kind of get this going by creating a new file, in this case to launch firefox, in /etc/X11/xinit called xinitrc.firefox that is just xinit.fluxbox with the last line changed to
Code:
exec /usr/bin/firefox
I would like a solution that isn't so "hard coded" that would allow me to choose any program I want without having to create a file first.
 
Old 04-25-2010, 01:16 AM   #3
Mol_Bolom
Member
 
Registered: Nov 2008
Location: S.W. Kansas
Distribution: Slackware64 14.0 / 14.2
Posts: 243
Blog Entries: 2

Rep: Reputation: 41
You could always edit an environment variable. Such as...

.xinitrc
Code:
exec /usr/bin/$YOUR_ENV_VARIABLE_HERE
And in your ~/.profile add something like
Code:
function xrun() {
$YOUR_ENV_VARIABLE_HERE=$1
}
Then all you'd have to type would be "xrun firefox", or whatever program you want.

<Edit> Also, you might have a look at the xinit man page.

Last edited by Mol_Bolom; 04-25-2010 at 02:15 AM.
 
Old 04-25-2010, 08:36 AM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,285

Rep: Reputation: 1646Reputation: 1646Reputation: 1646Reputation: 1646Reputation: 1646Reputation: 1646Reputation: 1646Reputation: 1646Reputation: 1646Reputation: 1646Reputation: 1646
Or use ratpoison. http://www.nongnu.org/ratpoison/
 
Old 04-25-2010, 08:56 AM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Just run 'xinit /usr/bin/xterm' (or whatever program you want to run).

Adam
 
  


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
Small linux with no gui(maybe a window manager), for a macbook, any idea's? rhysaj92 Linux - Newbie 2 03-16-2010 03:27 AM
can we run window applications without wine... sreedharan_menon Linux - Newbie 11 06-21-2007 10:54 AM
GUI/window manager for debian mythTV to show off linux? case1984 Linux - General 2 03-08-2005 06:38 AM
Can't run gui applications as root vdogvictor Linux - General 26 08-19-2004 08:24 PM
window manager applications xviddivxoggmp3 Linux - Software 5 03-22-2004 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration