pavement

.xinitrc

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(minor updates)
 
(6 intermediate revisions by 4 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]]
 
== A Bicycle Nomad Prepares for Re-entry ==
 
 
In 2010, Manjula Martin and her partner set out to see the world the old-fashioned way: by bicycle. With little money, no itinerary, gadgets or training, they traversed five countries and 3,500 miles and discovered a world filled with generosity. In this article, Manjula Martin describes the transition from bike to home with four rules for re-entry that are strikingly authentic, grounded, and universal.
 
 
[[http://goodvillenews.com/A-Bicycle-Nomad-Prepares-for-Re-entry-S6sLCO.html A Bicycle Nomad Prepares for Re-entry]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Reuse of Wastewater May Improve Drinking Water Supply ==
 
 
With recent advances in technology and design, treating municipal wastewater and reusing it for drinking water, irrigation, industry, and other applications could significantly increase the nations total available water resources, particularly in coastal areas facing water shortages, says a new report from the National Research Council.
 
 
[[http://goodvillenews.com/Reuse-of-Wastewater-May-Improve-Drinking-Water-Supply-SD47qe.html Reuse of Wastewater May Improve Drinking Water Supply]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Would Gandhi Use Social Media? ==
 
 
If Gandhi were alive today, would he use social media? He was never anti-technology, or even anti-changing with the times. Quite the opposite, actually. If Internet technologies and social networks were around, he would certainly have embraced them -- but with a conscious mindfulness of their strengths and weaknesses.
 
 
[[http://goodvillenews.com/Would-Gandhi-Use-Social-Media-J39i2S.html Would Gandhi Use Social Media?]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Top Five Regrets of the Dying ==
 
 
For many years I worked in palliative care. My patients were those who had gone home to die. Some incredibly special times were shared. I was with them for the last three to twelve weeks of their lives.
 
 
[[http://goodvillenews.com/Top-Five-Regrets-of-the-Dying-3L0XOd.html Top Five Regrets of the Dying]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Awakening Our Collaborative Spirit ==
 
 
The physicist, David Bohm, while researching the lives of Einstein, Heisenberg, Pauli and Bohr, made a remarkable observation. Bohm noticed that their incredible breakthroughs took place through simple, open and honest conversation. He observed, for instance, that Einstein and his colleagues spent years freely meeting and conversing with each other.
 
 
[[http://goodvillenews.com/Awakening-Our-Collaborative-Spirit-AjXaD8.html Awakening Our Collaborative Spirit]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 

Latest revision as of 16: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