Difference between revisions of "Starting KDE"

From CBLFS
Jump to navigationJump to search
(Create page)
 
m
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
Back up your existing ~/.xinitrc file and create a new .xinitrc file to start KDE:
 
Back up your existing ~/.xinitrc file and create a new .xinitrc file to start KDE:
  
echo "exec startkde" > ~/.xinitrc
+
echo "exec startkde" > ~/.xinitrc
  
If you have [[DBUS]] installed, you can start the D-BUS session daemon here as well. Starting the session daemon here has the added bonus that it will exit when you log out of your KDE session. If you wish to start the daemon here, use the following command instead of the one shown above:
+
If you have [[D-BUS]] installed, you can start the D-BUS session daemon here as well. Starting the session daemon here has the added bonus that it will exit when you log out of your KDE session. If you wish to start the daemon here, use the following command instead of the one shown above:
  
echo "exec dbus-launch --exit-with-session startkde" >> ~/.xinitrc
+
echo "exec dbus-launch --exit-with-session startkde" >> ~/.xinitrc
  
[Note]
 
 
Note
 
Note
  
Line 17: Line 16:
 
If you installed the [[Desktop-file-utils]] package, ensure the XDG_DATA_DIRS and XDG_CONFIG_DIRS environment variables are configured properly as explained in that package and update the MIME-type application database (as root):
 
If you installed the [[Desktop-file-utils]] package, ensure the XDG_DATA_DIRS and XDG_CONFIG_DIRS environment variables are configured properly as explained in that package and update the MIME-type application database (as root):
  
update-desktop-database
+
update-desktop-database
  
 
Ensure all libraries can be found with (as root):
 
Ensure all libraries can be found with (as root):
  
ldconfig
+
ldconfig
  
 
At this point you can bring up KDE with:
 
At this point you can bring up KDE with:
  
startx
+
startx
 
 
"Last updated on 2007-04-04 14:42:53 -0500"
 

Latest revision as of 05:53, 28 June 2008

The following is from the svn-20080121 version of the BLFS book. (http://lfs-matrix.org/blfs/view/svn/kde/config.html)

Configuring

Back up your existing ~/.xinitrc file and create a new .xinitrc file to start KDE:

echo "exec startkde" > ~/.xinitrc

If you have D-BUS installed, you can start the D-BUS session daemon here as well. Starting the session daemon here has the added bonus that it will exit when you log out of your KDE session. If you wish to start the daemon here, use the following command instead of the one shown above:

echo "exec dbus-launch --exit-with-session startkde" >> ~/.xinitrc

Note

Check the ~/.xinitrc file and ensure you have no other window managers or other X applications mentioned before KDE.

If you installed the Desktop-file-utils package, ensure the XDG_DATA_DIRS and XDG_CONFIG_DIRS environment variables are configured properly as explained in that package and update the MIME-type application database (as root):

update-desktop-database

Ensure all libraries can be found with (as root):

ldconfig

At this point you can bring up KDE with:

startx