Results 1 to 4 of 4

Thread: XGL BERYL on DEBIAN etch/sid

  1. #1
    Member registered user
    Join Date
    Mar 2004
    Location
    Buenos Aires, Argentina
    Posts
    79

    XGL BERYL on DEBIAN etch/sid

    Finally I 've testing this beautiful eye candy on my Debian BOX because I didn't use KDE or GNOME (prefer fluxbox) I wait till I came up with a XFCE GUIDE for the testing.

    For installation on Debian Etch/Sid go to: This Post from the Beryl Prokect Forum It install correctly, but it's only for gnome!.

    If your prefer other Desktop Manager, after:
    Download the .debs
    - Install the dependencies
    - Install the .debs all at once, otherwise you will get dependency errors because they need each other.
    - Add the options to your xorg.conf file:
    DO NOT RESTART X OR RESET COMPUTER..

    FOR KDE
    $Now for Beryl start automatically
    $ nano ~/.kde/Autostart/startberyl.sh

    inside:
    #!/bin/bash
    beryl-manager
    (save and exit nano)

    Last:
    $ chmod +x ~/.kde/Autostart/startberyl.sh

    FOR XFCE:
    $ sudo nano /etc/X11/session/xfce4.desktop

    inside:

    [Desktop Entry]
    Encoding=UTF-8
    Type=XSession
    Exec=~/.xsession
    TryExec=startxfce4
    Name=XFCE4
    (save and exit nano)

    $ nano ~/.xinitrc

    inside:

    #!/bin/sh

    #
    # ~/.xinitrc
    #
    # Executed by startx (run your window manager from here)
    #

    . /etc/profile
    . $HOME/.bashrc

    is_running() {
    for pid in $(pidof “$1″); do
    if kill -0 $pid 2>/dev/null; then
    return 0
    fi
    done
    return 1
    }
    xrdb $HOME/.Xresources

    # start a dbus session bus, if it is not already running
    if ! is_running dbus-daemon; then
    dbus-launch –sh-syntax > $HOME/.dbus-env
    fi
    source $HOME/.dbus-env

    # start beryl and beryl-manager
    beryl-manager &
    emerald &
    startxfce4
    IMPORTANT For XFCE: If you are editing the files when inside an XFCE sessión, you must not save the session on exit or the changes will not work

    It works it's more shocking that viewing some videos, Hey my computer can make that wow, it's not slow, not sluggines, runs smooth ( Duron 1GHZ Geforce2 MX ) but on my opinion it's too much distracting for my liking, being from a Fluxbox WMG. XFCE with beryl is like a rollercaster :P something new, refreshing on my desktop beautiful, shiny on the end only a new experience to see someting new.

    Call me old, call me too simplist, I 've come back to my Fluxbox WMG. Beryl is good, it really does what it preach but at the end of 25 minutes of testing, I realized that I didn't need it.

    TESTED KDE 4:3.5.5.2 & XFCE 4.3.99.2, Debian etch


    I hope this guide help others

    ** Correction KDE config

  2. #2
    Junior Member
    Join Date
    Feb 2004
    Posts
    9
    Hi, i've followed this post to install beryl+xgl on sid but when i choose xgl session nothing happens (kde splash doesnt appear). Could u help??

    startxgl.sh
    Code:
    #!/bin/sh
    /usr/bin/Xgl :1 -fullscreen -ac -br -dpi 96 -accel xv:fbo -accel glx:pbuffer &
    sleep 2
    export DISPLAY=:1
    exec startkde
    xgl.desktop
    Code:
    [Desktop Entry]
       Encoding=UTF-8
       Name=xgl
       Exec=/usr/bin/startxgl.sh
       GenericName[en_US]=
       Icon=
       Type=Application
    Also i've beryl-manager on startup in kde and all files have execute permissions.

    Thanks!

  3. #3
    Member registered user
    Join Date
    Mar 2004
    Location
    Buenos Aires, Argentina
    Posts
    79

    XFCE & Beryl

    you only need ~/.kde/Autostart/startberyl.sh

    The only problem I encounter on KDE & XFCE was that I 've to change my depth color from 16 to 24, for Beryl to show the windows decorations :P

  4. #4
    Senior Member registered user
    Join Date
    Jul 2006
    Posts
    122
    Hi guys...

    I use this for my start-beryl.sh
    Code:
    #!/bin/bash
    
    DRI=""
    DRI=$(glxinfo |grep "direct rendering" |grep -o -i "yes" )
    
    if [ -z $DRI ]; then
      echo "No Direct Render support found..." >~/.beryl/beryl-xsession.log
    else
    if [ -f ~/noberyl ]; then
      exit 0
    else
    echo "Starting Beryl..." >~/.beryl/beryl-xsession.log 
    /usr/bin/beryl-manager >>~/.beryl/beryl-xsession.log &
    fi
    fi
    this way beryl-manager is loaded by default..... UNLESS Direct Rendering is not available or ~/.noberyl is present.

    To disable the auto-loading of beryl you would do something like echo "" >/home/onemyndseye/.noberyl (simply create a file named ".noberyl" in the home directory of the user that you DONT want autoloading beryl.

    Also useful for when Beryl freaks out... sometimes I've noticed if it crashes while I'm using it.. SOMETIMES (and not often) it tries to default back to the beryl desktop (instead of the fallback desktop).. where it could crash again (and probably will if it crashed well enough to get you to this point once) right off the bat...sending you back to the Login manager..... so when this happens I just quickley create the file ~/.noberyl and restart KDE/KDM... beryl is gone until I remove the file.

    Also, for sysadmins ...this way start-berly.sh can be included in the /etc/skel (default files for all users).... even if you dont want ALL users using it... to disable auto-loading just add the ~/.noberyl file as root. (this ofcaorse will only stop it from being auto loaded.....not stop it from being run)

    This came about because I load beryl-manager at startup.... but beryl is configured to use the KDE desktop by default .. Because for the most part I like beryl, but I like to be able to quickly turn it off/on (to show it off mostly...lol).... ... anyways - one day after compiling a new kernel that in-turn broke my direct rendering support I tried to login to KDE only to see beryl crash from the start (even though beryl desktop wasnt the default) and return me to KDM login...the above script is the result.

Similar Threads

  1. beryl
    By zaiko2000 in forum General Support
    Replies: 1
    Last Post: 07-21-2008, 07:18 PM
  2. BERYL
    By Jamsh in forum Hardware & Booting
    Replies: 0
    Last Post: 02-09-2007, 04:42 PM
  3. POSSIBLE bug with LOADLIN and ETCH (Knoppix 5.1)
    By onemyndseye in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-05-2007, 10:23 AM
  4. [Solved] Etch & i810 issues.
    By RandomGoon in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 10-25-2006, 04:27 PM
  5. Knoppix 4.02 Upgrade to Etch (Testing)
    By zenarchist in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 02-05-2006, 04:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45 picture

DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45

$232.97



Dell PowerEdge R630 Dual Intel Xeon E5-2603 v3 1.60GHz 64GB RAM No HDD H330 picture

Dell PowerEdge R630 Dual Intel Xeon E5-2603 v3 1.60GHz 64GB RAM No HDD H330

$174.50



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



Dell PowerEdge R420 2x Xeon E5 -2440 V2 1.90GHZ 128GB DDR3-1600MHZ 2x 550W PSU picture

Dell PowerEdge R420 2x Xeon E5 -2440 V2 1.90GHZ 128GB DDR3-1600MHZ 2x 550W PSU

$110.95