pavement

.xinitrc

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(minor updates)
 
(8 intermediate revisions by 5 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]]
 
== The Art of Motivating Employees ==
 
 
Could a simple five-minute interaction with another person dramatically increase your weekly productivity?In some employment environments, the answer is yes, according to Wharton management professor Adam Grant. Grant has devoted significant chunks of his professional career to examining what motivates workers in settings that range from call centers and mail-order pharmacies to swimming pool lifeguard squads.
 
 
[[http://goodvillenews.com/The-Art-of-Motivating-Employees-oTveQ5.html The Art of Motivating Employees]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== The Business 9 Women Kept A Secret For Three Decades ==
 
 
Somewhere in West Tennessee, not far from Graceland, nine women -- or "The 9 Nanas," as they prefer to be called -- gather in the darkness of night. At 4am they begin their daily routine -- a ritual that no one, not even their husbands, knew about for 30 years. They have one mission and one mission only: to create happiness. And it all begins with baked goods.One of us starts sifting the flour and another washing the eggs,
 
 
[[http://goodvillenews.com/The-Business-9-Women-Kept-A-Secret-For-Three-Decades-hOoGN8.html The Business 9 Women Kept A Secret For Three Decades]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Starting A Slow Story Movement ==
 
 
"It is said that we become the stories that we tell among ourselves. This might have been true before we became salespersons. For a few decades now, I think we have become numb to the stories that we tell among ourselves. So stories have become shorter and crisper to the length of a tweet. We are so committed to telling a story to the point that finally what remains is a dimensionless point.
 
 
[[http://goodvillenews.com/Starting-A-Slow-Story-Movement-V4LmVD.html Starting A Slow Story Movement]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== The Relationship Between Gifts & Community ==
 
 
Wherever I go and ask people what is missing from their lives, the most common answer (if they are not impoverished or seriously ill) is "community." What happened to community, and why dont we have it any more? There are many reasons the layout of suburbia, the disappearance of public space, the automobile and the television, the high mobility of people and jobs and, if you trace the "whys" a few levels down, they all implicate the money system.
 
 
[[http://goodvillenews.com/The-Relationship-Between-Gifts-Community-zbK8gw.html The Relationship Between Gifts & Community]]
 
 
[[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]]
 

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