Re: No title bar

Massimo Canonico <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>

Ron DuPlain wrote:
> That startfluxbox line looks odd:
> /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "startfluxbox"
>
> Could you post your ~/.startup and the gdm xsession files?
>   
I do not have ~/.startup but I have ~/.fluxbox/startup.

The two files that you required are attached.

Thanks,
M
> -Ron
>
>
> On Tue, Feb 3, 2009 at 9:18 AM, Massimo Canonico <[email protected]> wrote:
>   
>> mmm something weird happens here.
>>
>>  From a xterm, If I run "ps aux |grep flu" I got
>> mex 3471 0.1 0.0 4804 1136 ? Ss 15:11 0:00 sh /home/mex/.fluxbox/startup
>> mex 3697 0.0 0.0 4808 496 ? S 15:11 0:00 /bin/bash /etc/gdm/Xsession
>> startfluxbox
>> mex 3704 0.0 0.0 6744 612 ? Ss 15:11 0:00 /usr/bin/ssh-agent /bin/sh -c
>> exec -l /bin/bash -c "startfluxbox"
>>
>> but not title and/or application bar. I can note that fluxbox is running
>> since some of the application that I wrote on .fluxbox/startup are
>> actually running (i.e., conky and 4 xterms).
>>
>> If I run "fluxbox" from a terminal, I got my nomal fluxbox desktop with
>> everything.
>>
>> .xsession-errors file si empty and the other file follows:
>> -----------------------------
>> [mex@shrek ~]$ more /usr/share/xsessions/fluxbox.desktop
>> [Desktop Entry]
>> Encoding=UTF-8
>> Name=Fluxbox
>> Comment=Very small and fast window manger
>> Comment[pl]=Ma?y i szybki zarza;dca okien
>> Exec=startfluxbox
>> Terminal=False
>> TryExec=fluxbox
>>
>> [Window Manager]
>> SessionManaged=true
>> # vi: encoding=utf-8
>> -----------------------------
>>
>> Any idea?
>>
>> Thanks,
>> M
>>
>> Ron DuPlain wrote:
>>     
>>> Hi,
>>>
>>> Esteban has some tips in his mail.  Could you check to see if you have
>>> a file at ~/.xsession-errors?  This might have some clues.
>>> Good luck,
>>>
>>> Ron
>>>
>>>
>>> On Tue, Feb 3, 2009 at 3:26 AM, Massimo Canonico <[email protected]> wrote:
>>>
>>>       
>>>> Hi,
>>>> yesterday I update my fedora 10 (yum update) and after a reboot I have
>>>> some problem.
>>>>
>>>> I do not see any title bar on my windows. Right-click does not work. No
>>>> autofocus.
>>>>
>>>> What can I do?
>>>>
>>>> Thanks,
>>>>  M
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
>>>> software. With Adobe AIR, Ajax developers can use existing skills and code to
>>>> build responsive, highly engaging applications that combine the power of local
>>>> resources and data with the reach of the web. Download the Adobe AIR SDK and
>>>> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
>>>> _______________________________________________
>>>> Fluxbox-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/fluxbox-users
>>>>
>>>>
>>>>         
>>> .
>>>
>>>
>>>       
>> ------------------------------------------------------------------------------
>> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
>> software. With Adobe AIR, Ajax developers can use existing skills and code to
>> build responsive, highly engaging applications that combine the power of local
>> resources and data with the reach of the web. Download the Adobe AIR SDK and
>> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
>> _______________________________________________
>> Fluxbox-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/fluxbox-users
>>
>>     
> .
>
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

_______________________________________________
Fluxbox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
startup (text/plain, 1.3 KB)
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.

# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# fbsetbg -f /home/mex/pictures/wallpaper.png
#
# This sets a black background

/usr/bin/fbsetroot -solid black

# This shows the fluxbox-splash-screen
# fbsetbg -C /usr/share/fluxbox/splash.jpg

# Other examples. Check man xset for details.
#
# Turn off beeps:
# xset -b
#
# Increase the keyboard repeat-rate:
# xset r rate 195 35
#
# Your own fonts-dir:
# xset +fp "/home/mex/.fonts"
#
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
#
# Change your keymap:
# xmodmap "/home/mex/.Xmodmap"

# PER LE LETTERE ACCENTATE
xmodmap -e "keycode 133 = Multi_key"

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &

/usr/bin/xterm -geometry +0+0 &
/usr/bin/xterm -geometry +719+10 &
/usr/bin/xterm -geometry +0+410 &
/usr/bin/xterm -geometry +719+410 &
/usr/bin/conky
/usr/bin/gnome-power-manager
#/usr/bin/nm-applet &
#/opt/wicd/tray.py &


# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.

exec /usr/bin/fluxbox
# or if you want to keep a log:
# exec /usr/bin/fluxbox -log "/home/mex/.fluxbox/log"
Xsession (text/plain, 3.3 KB)
#!/bin/bash
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

# redirect errors to a file in user's home directory if we can
if [ -z "$GDMSESSION" ]; then
    # GDM redirect output itself in a smarter fashion
    errfile="$HOME/.xsession-errors"
    if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null ); then
        chmod 600 "$errfile"
        exec > "$errfile" 2>&1
    else
        errfile=$(mktemp -q /tmp/xses-$USER.XXXXXX)
        if [ $? -eq 0 ]; then
            exec > "$errfile" 2>&1
        fi
    fi
fi

SWITCHDESKPATH=/usr/share/switchdesk

# Mandatorily source xinitrc-common, which is common code shared between the
# Xsession and xinitrc scripts which has been factored out to avoid duplication
. /etc/X11/xinit/xinitrc-common

# This Xsession.d implementation, is intended to obsolte and replace the
# various mechanisms present in the 'case' statement which follows, and to
# eventually be able to easily remove all hard coded window manager specific
# content from this script.  See bug #142260 for additional explanation and
# details.  All window manager rpm packages and desktop environment
# packages should be modified to provide the Xsession.d/Xsession.$wm scripts
# to start themselves up.  In the future, the legacy switchdesk mechanisms
# and hard coded window managers and desktop environments will be removed from
# this script. 
XCLIENTS_D=/etc/X11/xinit/Xclients.d
if [ -d "$XCLIENTS_D" -a "$#" -eq 1 -a -x "$XCLIENTS_D/Xclients.$1.sh" ]; then
    exec -l $SHELL -c "$SSH_AGENT $XCLIENTS_D/Xclients.$1.sh"
else
# now, we see if xdm/gdm/kdm has asked for a specific environment
case $# in
1)
    if [ -x "$SWITCHDESKPATH/Xclients.$1" ]; then
       exec -l $SHELL -c "$SWITCHDESKPATH/Xclients.$1";
    fi;

    case "$1" in
	failsafe)
	    exec -l $SHELL -c "xterm -geometry 80x24-0-0"
	    ;;
	gnome|gnome-session)
	    # lack of SSH_AGENT is intentional, see #441123.  though
	    # the whole thing should really happen in xinitrc.d anyway.
	    exec -l $SHELL -c gnome-session
	    exec /bin/sh -c "exec -l $SHELL -c \"gnome-session\"" 
	    ;;
	kde|kde1|kde2)
	    exec $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"startkde\""
	    ;;
	twm)
        # fall back to twm
	    exec $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"twm\""
	    ;;
	*)
       # GDM provies either a command line as the first argument or
       # provides 'failsafe', 'default' or 'custom'.  KDM will do the
       # same at some point
	    if [ "$1" != "default" -a "$1" != "custom" ]; then
		exec $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"$1\""
	    fi
	    ;;
    esac
esac
fi

# otherwise, take default action
if [ -x "$HOME/.xsession" ]; then
    exec -l $SHELL -c "$SSH_AGENT $HOME/.xsession"
elif [ -x "$HOME/.Xclients" ]; then
    exec -l $SHELL -c "$SSH_AGENT $HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
    exec -l $SHELL -c "$SSH_AGENT /etc/X11/xinit/Xclients"
else
    # should never get here; failsafe fallback
    exec -l $SHELL -c "xsm"
fi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.