pavement

.xinitrc

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(minor updates)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This configuration file, which should reside in your home directory, tells [[startx]] what to run aside from starting the X server and client -- e.g., a desktop environment like [[KDE]], [[gnome]], [[xfce]], etc.
+
This configuration file, which should reside in your home directory, tells [[startx]] what to run aside from starting the X server and client -- e.g., a desktop environment like [[KDE]], [[gnome]], [[xfce]], etc. Another version of this, which is /usr/local/etc/X11/xinit/xsession , provides the same function, but it is overridden by ''.xinitrc''. The home file should be edited, as editing the other file can break the configuration setting easily.
  
 
If you want to start KDE, you'll have to put this line in it:
 
If you want to start KDE, you'll have to put this line in it:
Line 15: Line 15:
 
  alias gui='startxfce'  
 
  alias gui='startxfce'  
 
in your .bash_profile will let you start XFCE by typing in "gui" from the CLI.
 
in your .bash_profile will let you start XFCE by typing in "gui" from the CLI.
 +
 +
Alternatively, the identical file [[.xsession]] will start the window manager from a login manager.
  
 
[[Category: FreeBSD for Workstations]]
 
[[Category: FreeBSD for Workstations]]
 
== 15 Life Changing Lessons to Learn from Wayne Dyer ==
 
 
Some of the most powerful and life changing lessons I have learned so far came from this great man, Wayne Dyer and today I would like to share with you some of these lessons. The lessons are in no particular order as all of them are equally important.
 
 
[[http://goodvillenews.com/15-Life-Changing-Lessons-to-Learn-from-Wayne-Dyer-rnH16X.html 15 Life Changing Lessons to Learn from Wayne Dyer]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== A Savior At the Grocery Store ==
 
 
Numbly, I left my husband, Marty, at the hospital where I had been visiting two of my children and headed for the grocery store. Since it was eleven p.m., I drove to the only store I knew was open twenty-four hours a day. I turned my car motor off and rested my head against the seat.
 
 
[[http://goodvillenews.com/A-Savior-At-the-Grocery-Store-XTmcwi.html A Savior At the Grocery Store]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Worth Our Weight: The Taste of Compassion ==
 
 
Its a sunny Saturday morning, and my wife and I turn into a residential neighborhood of Santa Rosa, California the only sign of commerce is a beleaguered shopping mall a few hundred feet away. I glance down at my GPS to make sure this is where we want to be and in doing so I almost pass my destination. There it is tucked away to the left, sandwiched between two homes: Worth our Weight (W.O.W)
 
 
[[http://goodvillenews.com/Worth-Our-Weight-The-Taste-of-Compassion-qYcZwK.html Worth Our Weight: The Taste of Compassion]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Paths Are Made By Walking ==
 
 
2012s Baccalaureate speaker at the University of Pennsylvania was an unconventional choice for an Ivy League school. To address their newly-minted graduates, aspiring to dazzling careers, they picked a man who has never in his adult life, applied for a job. A man who hasnt worked for pay in nearly a decade, and whose self-stated mission is simply "to bring smiles to the world and stillness to my heart".
 
 
[[http://goodvillenews.com/Paths-Are-Made-By-Walking-CMdEh4.html Paths Are Made By Walking]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Cat Saves Owner Hours After Adoption ==
 
 
A newly-adopted cat repaid his owners loving gesture earlier this month by saving her from a medical emergency just hours after he was brought home, the Green Bay Press Gazette reports.
 
 
[[http://goodvillenews.com/Cat-Saves-Owner-Hours-After-Adoption-ixHpp7.html Cat Saves Owner Hours After Adoption]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 

Latest revision as of 17:47, 17 December 2014

This configuration file, which should reside in your home directory, tells startx what to run aside from starting the X server and client -- e.g., a desktop environment like KDE, gnome, xfce, etc. Another version of this, which is /usr/local/etc/X11/xinit/xsession , provides the same function, but it is overridden by .xinitrc. The home file should be edited, as editing the other file can break the configuration setting easily.

If you want to start KDE, you'll have to put this line in it:

exec startkde

If you want to start XFCE, you'll have to put this line in it:

exec startxfce

If you want to start Gnome, the line is:

exec gnome-session

If your .xinitrc has one of these lines in it, it will execute the Desktop Environment when you run startx. Otherwise you'll have to run startx and feed it the Desktop Environment as an argument or run the desktop init script manually.

Another approach is to alias the desktop script to another command in your shell profile; such as placing

alias gui='startxfce' 

in your .bash_profile will let you start XFCE by typing in "gui" from the CLI.

Alternatively, the identical file .xsession will start the window manager from a login manager.

Personal tools