DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd June 2008
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Thanked 3 Times in 3 Posts
Default Howto start the Xfce?

Howto start the Xfce?
I have installed several packages for xfce but how i can start it?

For the moment i have only fvwm.
Reply With Quote
  #2   (View Single Post)  
Old 3rd June 2008
cubo cubo is offline
Real Name: Luca
Port Guard
 
Join Date: May 2008
Location: Italy - Torino
Posts: 21
Thanked 0 Times in 1 Post
Default

if you use "startx" edit in your home directory the file .xinitrc, if you use xdm edit file .xsession
and put there "startxfce4" (if I remember well)
Reply With Quote
  #3   (View Single Post)  
Old 3rd June 2008
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Thanked 3 Times in 3 Posts
Default

I don't see file .xinitrc or .xsession on my directory.

I have utilized the command:
ls -al
Reply With Quote
  #4   (View Single Post)  
Old 3rd June 2008
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Thanked 14 Times in 6 Posts
Default

You have to create the files on your own.
#echo "/usr/local/bin/startxfce4" > ~/.xinitrc
or
#echo "exec startxfce4" > ~/.xinitrc
Reply With Quote
  #5   (View Single Post)  
Old 3rd June 2008
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Thanked 3 Times in 3 Posts
Default

Thanks.
Reply With Quote
  #6   (View Single Post)  
Old 3rd June 2008
ocicat ocicat is online now
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by aleunix View Post
I don't see file .xinitrc or .xsession on my directory.
~/.xinitrc and/or ~/.xsession are not present on default installations. Either is simply a text file you create yourself.

Studying /usr/X11R6/bin/startx should answer a number of questions about how X starts. startx determines whether ~/.xinitrc exists & if it does execute it. If not, execute /etc/X11/xinit/xinitrc. If you look at the latter, this has a number of initializations followed by starting a number of X client applications followed by the fvwm(1) window manager.

You can simply edit /etc/X11/xinit/xinitrc & be done with it, but this is a crude solution. The point of looking at the code for startx is to point out that the intention is to allow users to have customized X environments while leaving a default configuration available.

So one could copy /etc/X11/xinit/xinitrc into one's home directory as ~/.xinitrc & customize it locally. Some people simply place whatever applications they want to run into ~/.xinitrc without all the cruft specified in /etc/X11/xinit/xinitrc. It's your choice, but heed how applications are started in the background before the window manager. Failure to understand this can result in a mess.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Lightest XFCE - Making XFCE lighter and faster vermaden Guides 27 2nd September 2010 12:24 PM
HOWTO: XFCE MacOS-like menu plugin vermaden Guides 13 20th April 2009 06:40 AM
Installing Xfce rex FreeBSD General 9 4th September 2008 04:46 AM
xfce darken FreeBSD Ports and Packages 4 31st July 2008 05:28 PM
How to take a screenshots in xfce? aleunix OpenBSD Packages and Ports 11 2nd June 2008 04:42 AM


All times are GMT. The time now is 04:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick