Results 1 to 9 of 9

Thread: remaster, change windowmanager?

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    8

    remaster, change windowmanager?

    I have set up a Suse9.0 box and made it a "kiosk" (web browser only) box.
    I found it pretty simple in suse. The change I made was to edit the .xinitrc
    file in the user home directory. Suse by default uses this to start the
    windowmanager with a command and variable called:
    exec $WINDOWMANAGER

    i commented out this line and added:
    while [ 1 ];
    do
    /usr/bin/firefox
    done
    failsafe="/usr/bin/firefox"

    So in my knoppix 3.4 remaster I want to do the same thing.
    Where do i disable where/how kde loads so I can add my /usr/bin/firefox line?
    Thanks

  2. #2
    Junior Member
    Join Date
    Jun 2004
    Posts
    8
    How about this question. Where, in the knoppix OS is KDE loaded?
    How can I change that in a remaster? I have yet to find this setting.

    Thanks
    Brad B

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    /etc/X11/Xsession.d/45xsession

    I have edited that file so many times that i wrote a script to put it in an editor with the simple command of 45edit.

    The vast majority of it is for KDE and alot of workarounds for many KDE *cough* features. Here's my 45xsession for XFCE4 & ROX desktop and note that it has not even one single line from the original file in it:
    Code:
    xfce-mcs-manager
    xfwm4 --daemon
    
    # Start-up stuff from ~/Desktop/Autostart directory, if it exists
    # (as it seems to be the new standard)
    if test -d "$HOME/Desktop/Autostart"; then
      for i in `ls -1 -L ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
        if test -x $HOME/Desktop/Autostart/$i; then
          $HOME/Desktop/Autostart/$i &
        fi
      done
    fi
    
    xftaskbar4&
    rox -p desktop&
    xfcalendar&
    panel=`which xfce4-panel`
    case "x$panel" in
            x|xno*)
                    ;;
            *)
                    $panel
                    ret=$?
                    while test $ret -ne 0; do
                            xmessage -center -file - -timeout 20 -title Error <<EOF
    A crash occured in the panel
    Please report this to the [email protected] list
    Meanwhile the panel will be restarted
    EOF
                            cat >&2 <<EOF
    A crash occured in the panel
    Please report this to the [email protected] list
    Meanwhile the panel will be restarted
    EOF
                            $panel
                            ret=$?
                    done
                    ;;
    esac
    
    xsetroot -bg white -fg red  -solid black -cursor_name watch
    Now.....if you want a choice of desktops then you have to do a littel more work but it's all right there in 45xsession.

  4. #4
    Junior Member
    Join Date
    Jun 2004
    Posts
    8
    Awesome! That's exactly what I needed. I'm on the right track now.
    With any luck in the next few days i'll have a remastered knoppix version
    that boots straight to a locked down firefox web browser!

    Thanks a LOT mzilikazi!!!!!!!!!!!


    Brad B

  5. #5
    Junior Member
    Join Date
    Jul 2004
    Posts
    1

    change default wm through /etc/init.d/knoppix-autoconfig

    If you just want to change the default window manager, but not the details of how this window manager is called, you can look for the following lines in /etc/init.d/knoppix-autoconfig:

    Code:
    case "$DESKTOP" in kde|wmaker|gnome|xfce|icewm|twm) ;; *) DESKTOP="kde"; ;; esac
    (I reconstructed from my own changed file, so it might be slightly different on the original.)
    This checks if the user has specified a value for desktop at the boot prompt. If this value is one of the option in the list kde,wmaker,gnome etc, it will keep that value. Otherwise, it will use kde. If you change 'kde' (in DESKTOP="kde"), you change the default window manager. You can also delete options that you deinstalled (or want to disable at the boot prompt for some reason).

  6. #6
    Junior Member
    Join Date
    Aug 2004
    Posts
    5

    Re: change default wm through /etc/init.d/knoppix-autoconfig

    [quote="syboor"]If you just want to change the default window manager, but not the details of how this window manager is called, you can look for the following lines in /etc/init.d/knoppix-autoconfig:

    Code:
    case "$DESKTOP" in kde|wmaker|gnome|xfce|icewm|twm) ;; *) DESKTOP="kde"; ;; esac
    Just out of curiosity, would changing DESKTOP="kde" to DESKTOP="bash" give me an X-enabled shell without actually loading a window manager?

  7. #7
    Senior Member registered user
    Join Date
    Apr 2003
    Posts
    220
    don't set ff as wm. You won't be able to move windows without a proper wm.

  8. #8
    Junior Member
    Join Date
    Sep 2004
    Posts
    6
    If you only want to run firefox, then fluxbox could be a good alternative for a window manager. Its small and you will be able to move windows that firefox creates (like the download window).

  9. #9
    Junior Member
    Join Date
    Sep 2004
    Posts
    1

    Fonts

    Making a kisok style boot cd, are they are tips for making the fonts attractive?

Similar Threads

  1. how can i change name in my remaster
    By remeses4 in forum Customising & Remastering
    Replies: 2
    Last Post: 08-29-2005, 11:39 PM
  2. lazy way to change settings in a remaster
    By nvgringo in forum Customising & Remastering
    Replies: 1
    Last Post: 01-19-2005, 07:42 PM
  3. No Windowmanager
    By DeepThought in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 09-11-2004, 02:59 PM
  4. Change file associations in remaster.
    By jkrohn in forum Customising & Remastering
    Replies: 0
    Last Post: 09-10-2003, 10:20 PM
  5. KDE 3.1 + Windowmanager Poll
    By monkymind in forum The Lounge
    Replies: 8
    Last Post: 02-14-2003, 01:50 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 EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack) picture

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)

$1599.95



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard) picture

DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard)

$399.95



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$484.99



Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots picture

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots

$745.00



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Windows Server 2025 Standard Edition - 24 Core License picture

Windows Server 2025 Standard Edition - 24 Core License

$238.00



MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed picture

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed

$136.87