Starting "beryl-manager" at login

Greg Booth bootgr at gmail.com
Wed Jun 27 22:41:47 BST 2007


fi ends an if block in bash scripting.

if <condition>
then
  statements...
fi

On 6/27/07, Chris <kubuntu at eportel.com> wrote:
> On Wed, 2007-06-27 at 16:30 -0400, Chris wrote:
> > On Wed, 2007-06-27 at 07:07 -0700, John L Fjellstad wrote:
> > > Chris <kubuntu at eportel.com> writes:
> > >
> > > > Ok well I see the option when I login...but it doesn't actually start
> > > > the "beryl-manager".
> > > > I added the first file in the .kde/Autostart by navigating to it in the
> > > > GUI not the terminal I created this file by right mouse clicking and
> > > > choosing "create new text file....does it matter?
> > > > Here is the contents of that file.
> > > >
> > > >
> > > > #!/bin/bash
> > > >
> > > > if [ $DESKTOP_SESSION == "beryl-kde" ]; then
> > > >         /usr/bin/beryl-manager
> > > > fi
> > > >
> > > >
> > > >
> > > > The saved name of this file within the Autostart folder is "beryl.sh"
> > >
> > > Make sure this file is executable.  If you use the GUI, just right click
> > > on it and look at the Properties for the file.  Make sure that under
> > > Permissions tab, the is executable is selected.
> > >
> > > >
> > > > The other file is located in usr/share/xsessions and is named
> > > > "beryl-kde.desktop".  This file contains:
> > > >
> > > >
> > > > [Desktop Entry]
> > > > Encoding=UTF-8
> > > > Name=Beryl-KDE
> > > > Comment=This session starts KDE using beryl as window manager
> > > > Exec=/usr/bin/startkde
> > > > Icon=
> > > > Type=Application
> > > >
> > > >
> > > >
> > > > Is this correct, or should the "Exec=/usr/bin/startkde" be something
> > > > else?
> > >
> > > No, it should be startkde
> > >
> > > Do you get the diamond in the system tray?  If so, you have to tell
> > > beryl manager to use the beryl window manager and not kwin (the KDE
> > > windows manager).
> > >
> > > Do you see any difference?  What happens when you try to run
> > > beryl-manager manually?  Open a terminal, and just type beryl-manager.
> > > Does it print any error messages on the terminal?  Does it work?
> > >
> > > --
> > > John L. Fjellstad
> > > web: http://www.fjellstad.org/          Quis custodiet ipsos custodes
> > >
> Thanks John for your efforts,
> No the Beryl icon is not in the tray..and yet when I run it from command
> it runs find.
>
> There are no errors when starting Beryl from the command line. It works
> fine.
>
> John is the last line of the Autostart file "beryl.sh" suppose to be
> "fi"?
>
> Thanks Chris
> >
>
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>



More information about the kubuntu-users mailing list