Results 1 to 9 of 9
guys why is that i dont have the .xsession / xsession file on my home directory? ?
[root@vector~]# find /home/me -name xsession
[root@vector~]# find /home/me -name .xsession
no results found ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-20-2006 #1Linux Newbie
- Join Date
- Nov 2005
- Location
- Philippines
- Posts
- 198
xsession missing? ? ?
guys why is that i dont have the .xsession / xsession file on my home directory? ?
[root@vector~]# find /home/me -name xsession
[root@vector~]# find /home/me -name .xsession
no results found .... another one:
[root@vector~]# find / -name .xsession
find: /proc/5753/task: No such file or directory
find: /proc/5753/fd: No such file or directory
BUT i saw the Xsession script on the /etc/X11/xdm in slack is this the one? ? ?
the reason why im doing this is i have a plan of trying fluxbox as my WMP4 1.8, 1G DDR ram, 64mb GF2 MX400, 80G WD and 40G Maxtor, ECS mobo. Playing XP,Slack 12.0 and Vector Linux 5.8 GOLD, STD 6.0 Zenwalk 4.6.1, OpenBSD 3.9
- 07-20-2006 #2
Try this:
The name by itself searches for files with the exact same name, and -iname is a case-insensitive search. 2>/dev/null just suppresses error messages.Code:find / -iname *xsession* 2>/dev/null
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 07-21-2006 #3Linux Newbie
- Join Date
- Nov 2005
- Location
- Philippines
- Posts
- 198
sir, i really did not find it:
[root@vector~]# find / -iname *.xsession* 2>/dev/null
[root@vector~]#
and :
ls -a /home/me
./ .config/ .kde/ .xine/
../ .dmrc .kderc .xmms/
.DCOPserver_vector.linux.vnet_:0@ .fonts/ .local/ .xsession-errors
.DCOPserver_vector.linux.vnet__0 .fonts.cache-1 .macromedia/ Desktop/
.ICEauthority .fonts.conf .mcop/ Trash/
.Xauthority .fullcircle/ .mcoprc downloads/
.Xdefaults .gaim/ .mozilla/ linuxhelp/
.acrorc .gamix/ .mplayer/ nano.save
.asoundrc .gftp/ .openoffice.org2/ walls/
.bash_history .gkrellm2/ .qt/ xtras/
.bash_profile .gtkrc .recently-used
.bashrc* .gtkrc.mine .thumbnails/
.cache/ .icons/ .xchat2/
[me@vector~]$
************************************************** ******
do i have to create a file named " .xsession " (as stated in some forums i saw) ?
btw m using KDE, and have /etc/X11/xdm - there i found the " Xsession " script/ ( m not sure IF its the one )P4 1.8, 1G DDR ram, 64mb GF2 MX400, 80G WD and 40G Maxtor, ECS mobo. Playing XP,Slack 12.0 and Vector Linux 5.8 GOLD, STD 6.0 Zenwalk 4.6.1, OpenBSD 3.9
- 07-21-2006 #4
Go ahead and create the file; then edit it to your needs.
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 07-21-2006 #5create .xsession file... if things not work out... post Xsession script here.....
Originally Posted by icedtea
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-21-2006 #6Linux Newbie
- Join Date
- Nov 2005
- Location
- Philippines
- Posts
- 198
that is my Xsession - i hope u guys can guide me here. . . (as for the documents i have, i stil have to create the < .fluxbox > dir (of course )Code:#!/bin/sh # $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $ # # $XFree86: xc/programs/xdm/config/Xsession,v 1.2 1998/01/11 03:48:32 dawes Exp $ # Modified for Slackware-3.5, 28-Mar-98 volkerdi # Extensively rewritten for Slackware 7.0, 03-Oct-1999 volkerdi # Patched to give priority to $HOME/.xsession, 10-Oct-1999 volkerdi # Merged changes into upstream (XFree86-4.0.2) version, 17-Feb-2001 volkerdi # Fixes for $PATH (from Jim Diamond), GDM/KDM/XDM, 2003-02-07 volkerdi # Add launching any xinitrc.* script if exist, 2003-11-28 Eko M. Budi # # redirect errors to a file in user's home directory if we can for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER" do if ( cp /dev/null "$errfile" 2> /dev/null ) then chmod 600 "$errfile" exec > "$errfile" 2>&1 break fi done userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -r $sysresources ]; then xrdb -merge $sysresources fi if [ -r $sysmodmap ]; then xmodmap $sysmodmap fi if [ -r $userresources ]; then xrdb -merge $userresources fi if [ -r $usermodmap ]; then xmodmap $usermodmap fi # Since xdm doesn't run a bash -login shell (or any other login shell) # we should source these files to set up the user's environment. profile=/etc/profile userprofile=~/.profile if [ -r $profile ]; then source $profile 1> /dev/null 2> /dev/null fi if [ -r $userprofile ]; then source $userprofile 1> /dev/null 2> /dev/null fi # Set the $PATH through the user's preferred shell. case `basename "$SHELL"` in bash|sh|ash) PATH="`( echo 'echo $PATH' | bash --login ) | tail -1`" ;; csh|tcsh) PATH="`( echo 'echo $PATH' | tcsh -l ) | tail -1`" ;; ksh) PATH="`( cat /etc/profile ; echo 'echo $PATH' ) | ksh | tail -1`" ;; zsh) PATH="`( echo 'echo $PATH' | zsh -l ) | tail -1`" ;; *) # We don't know your shell, so we'll set up reasonable defaults. if [ "`whoami`" = "root" ]; then PATH=$PATH:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin else PATH=$PATH:/usr/local/bin:/bin:/usr/bin fi ;; esac # These files (if they exist) are used to set up the X related environment. We used to # exec .xsession at this location, but that can interfere with choosing a session type # through XDM/KDM/GDM so it was moved to after a requested session is started. Since # that means that .xsession might never be run at all when using XDM/KDM/GDM, support # for the xprofile was added to allow a way for the user to customize the X environment. if [ -r /etc/xprofile ]; then source /etc/xprofile fi if [ -r ~/.xprofile ]; then source ~/.xprofile fi if [ -r ~/.xset.sh ]; then source ~/.xset.sh fi # Some people say that an .xsession file should always be given priority, even if a # different window manager was requested in $1. If you want that behavior, uncomment # the lines below. This is not recommended (nor, in general, is the use of an # .xsession file as a default... it should be left for the advanced users). #if [ -x $HOME/.xsession ]; then # exec $HOME/.xsession $@ #fi # if there is xinitrc for the selected session, run it # Added by Kocil for Vector Linux echo "Session = $1" >> $errfile if [ -x /etc/X11/xinit/xinitrc.$1 ]; then echo "Launching xinitrc.$1" >> $errfile exec /etc/X11/xinit/xinitrc.$1 fi # If a particular session type was requested in $1, start that session: case "$1" in failsafe) xsetroot -solid SteelBlue exec xterm -geometry 80x24-0-0 ;; kde|KDE) exec startkde ;; gnome|GNOME) exec gnome-session ;; icewm|IceWM) exec icewm-session ;; fluxbox|Fluxbox) exec fluxbox ;; xfce4|XFCE4) exec startxfce4 ;; windowmaker|wmaker) exec wmaker ;; openwin) exec olvwm ;; fvwm2) xsetroot -solid SteelBlue exec fvwm2 ;; fvwm95) xsetroot -solid SteelBlue exec fvwm95 ;; afterstep) exec afterstep ;; enlightenment) exec enlightenment ;; twm) #xclock -geometry 50x50-1+1 & #xterm -geometry 80x50+494+51 & #xterm -geometry 80x20+494-0 & #xterm -geometry 80x66+0+0 -name login & xsetroot -solid SteelBlue exec twm ;; esac echo "Could not find a suitable WM for session $1" >> $errfile # If we aren't running from XDM/KDM/GDM and no window manager was # specified, then we'll run the user's $HOME/.xsession if it's # executable. This must be set up to run the user's window manager. echo "Trying default $HOME/.xsession" >> $errfile if [ -x $HOME/.xsession ]; then exec $HOME/.xsession $@ fi echo "Trying default $HOME/.xinitrc" >> $errfile if [ -x $HOME/.xinitrc ]; then exec $HOME/.xinitrc $@ fi # If the user doesn't have their own xsession and none was specified in # $1, then run the system default session type: echo "Trying global default /etc/X11/xinit/xinitrc" >> $errfile echo if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi # If a $startup variable is set to define the window or session manager, # then run that: if [ -s "$startup" -a -x "$startup" ]; then exec "$startup" fi if [ -r "$resources" ]; then xrdb -load "$resources" fi # Run xsm as a failsafe. exec xsmP4 1.8, 1G DDR ram, 64mb GF2 MX400, 80G WD and 40G Maxtor, ECS mobo. Playing XP,Slack 12.0 and Vector Linux 5.8 GOLD, STD 6.0 Zenwalk 4.6.1, OpenBSD 3.9
- 07-21-2006 #7Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
why are you having to create the $HOME/.fluxbox directory?
if you install the fluxbox package, it provides this for you.
- 07-22-2006 #8Linux Newbie
- Join Date
- Nov 2005
- Location
- Philippines
- Posts
- 198
really? because it was stated in THEIR own docs that you should separately create the dir for fluxbox. . .hmm is flux ur WM? so wats next after this? as the docu says, i SHOULD have the /home/me/.xsession OR xinitrc file.. BUT i really cnt find this files.. except for xinitrc that is located in /etc/X11/ WHICH points to xinitrc.kde
xinitrc -> /etc/X11/xinit/xinitrc.kde*P4 1.8, 1G DDR ram, 64mb GF2 MX400, 80G WD and 40G Maxtor, ECS mobo. Playing XP,Slack 12.0 and Vector Linux 5.8 GOLD, STD 6.0 Zenwalk 4.6.1, OpenBSD 3.9
- 07-23-2006 #9Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
make one
Code:echo fluxbox > ~/.xinitrc


Reply With Quote
