Newsgroups: comp.os.linux.x Date: 15 Apr 2003 12:41:22 -0700
Newsgroups: comp.os.linux.x Date: 15 Apr 2003 12:41:22 -0700
> I'm using Red Hat 8.0 with Gnome. But now I have installed Pekwm and > want to use it. The problem is that I can't start it. I have tried to > do this by making the file .xinitrc (by default this file doesn't > exist) and include: > exec pekwm > but this didn't work and I read somewhere that I have to do the same > with the file .xsession. So I included the line: > exec pekwm > but it doesn't work this time either. > What am I doing wrong?
Thanks a lot folks. I just managed to start the damn windowmaker :) Cause I use gdm ( I figured that out now :) ) a good way to solve the problem was the way Achim telled me.
Create the file Xclients.pekwm in /usr/share/apps/switchdesk/ and include the line exec pekwm and then create the file pekwm in /etc/X11/gdm/Sessions/ and include the line exec /etc/X11/xdm/Xsession pekwm. Then I had to change permission for the files with the comman chmod 755.
So by now I can choose pekwm as session from the graphical login menu. Nice!
Stefan
Newsgroups: comp.os.linux.misc
>In order to change window managers, before I run startX, I edit my >.Xclients file and uncomment the one I want. It looks like this: >Is this the *right* way to do it?
It depends. When you do that, various desktop switchers lose control. Since I never used a desktop switcher, this was of no consequence. The redhat one (gnome?) uses an entry in .wmstyle (.wm_style?) to tell .Xclients what the "preferred window manager" is.
xdm or gdm or kdm or whatever); it's only invoked if you "startx". .Xclients takes its place for a graphical login.
Dave Brown
> I type 'startx' to go into X.
startx calls xinit; xinit calls $HOME/.xinitrc, if not found, calls /etc/X11/xinit/xinitrc; xinitrc calls $HOME/.Xclients, if not found, calls /etc/X11/xinit/Xclients; Xclients looks for your window-manager setting.
If you're using a display manager, you intercept the above sequence at the .Xclients/Xclients level, since the display manager starts the Xserver (otherwise the function of xinit).
So if you use "startx", and put in .xinitrc a line "startkde", that will start KDE. But if you did a graphical login, .xinitrc is not read. If you don't have an .xinitrc, then .Xclients takes over. Then you could put in .Xclients "startkde" to start KDE. That would affect both "startx" and graphical login.
I do believe that the contents of the default files, xinitrc and Xclients are probably distribution-dependent.
Dave Brown
Newsgroups: comp.os.linux.setup > After a standard install of TurboLinux 6.0 I notice that I have a > ~/.Xdefaults file in my home directory, but no ~/.Xresources > file. On the other hand, my ~/.xinitrc script loads the > ~/.Xresources file but not the ~/.Xdefaults file, so the settings > in ~/.Xdefaults never get loaded. This does not seem right -- or > am I missing something? Are .Xdefaults and .Xresources > interchangeable, or are they for different purposes?
I think .Xdefaults is used by xdm and .Xresources is used by startx. I tend to symbolic link one to the other and not worry about it.
Prasanth Kumar
From what I read just today .Xdefaults is pretty much the same as .Xresources but now obsolete.
I don't have/use an .Xresource file and .Xdefaults is used even though there's no reference to it in .xinitrc. As the other reply mentioned you could just symlink them. I also do the same for .xsession/.xinitrc (I don't use xdm anyway).
Marc D. Williams
As I missunderstand it, .Xresources are merged one time if you have it your startup script.
Every time an xterm starts it merges .Xdefaults.
I have the least commands in .Xdefaults to make the xterm launch fast as possible.
On some Sun systems, I had to name .Xdefaults as .Xdefaults-node_name_here This did allow me to have the same NIS home directory, with different default colors for different nodes.
BitTwister
http://www.mojavelinux.com/wiki/doku.php?id=notebook:xstartup
One of the most misunderstood workflows is the scripts that lead up to the start of the window manager. At least, I have always found myself at a loss of what actually takes place. This page details some of my findings when working with the Fedora and Debian distributions. In then end, I should hope that you know where to stick that environment variable setting so that it evaluates on X login (window manager environment).
GDM (the login manager) presents the user with a graphical login screen (alternatively, startx can be invoked from a virtual console)
X sessions started by xinit (startx) use the global configuration file /etc/X11/xinit/xinitrc
xinitrc immediately hands off the login to the /etc/X11/Xsession script
Xsession defines two user session scripts, $HOME/.xsession and $HOME/.Xsession
Xsession runs through the /etc/X11/Xsession.d/ directory and executes the scripts in numeric order (allows the control of execution order)
The /etc/X11/Xsession.d/50xorg-common_determine-startup script checks if the user session script exists (and is executable), and if so stores that script in the $STARTUP variable
otherwise, the value of $STARTUP is set to a system default window manager (usually controlled through symlinks)
the very last script, /etc/X11/Xsession.d/99xorg-common_start executes the $STARTUP variable by running exec $STARTUP
Note: Fedora calls the exec command with the login flag (-l), which triggers the shell profile scripts to execute. Debian, on the other hand, uses a raw exec call, so it is necessary to create a $HOME/.xsession script in order to execute the shell login scripts, such as ~/.bash_profile
documented on: 2006.07.22
Fluxbox is yet another windowmanager for X.
It's based on the Blackbox 0.61.1 code. Fluxbox looks like blackbox and handles styles, colors, window placement and similar thing exactly like blackbox (100% theme/style compability).
Configurable window tabs.
Iconbar (for minimized/iconified windows)
Wheel scroll changes workspace
Configurable titlebar (placement of buttons, new buttons etc)
KDE support
New native integrated keygrabber (supports emacs like keychains)
Maximize over slit option
Partial GNOME support
Slit dockap ordering
http://fluxbox.sourceforge.net/
Newsgroups: comp.os.linux.x
> is there any window manager (for linux) similar to Solaris CDE?
Aaron J. Ginn
./configure --prefix=/usr/local --datadir=/usr/local/share --sysconfdir=/etc/X11 make
pkg=xfce make -n install | tee ../../logs/$pkg.log.0 make install | tee ../../logs/$pkg.log.1
xfce_setup
Run xfce_setup to set up replacement files in user's home directory. These files will fire up xfwm and xfce every time the user starts an X session (through startx or through xdm).
The previous configurations files are saved in a hidden directory .xfce_bckp/
As XFce supports Native Language Supports (NLS), make sure the environment variable LANG is correctly set for your country.
E.g.:
bash : export LANG="fr"
http://nyi.linux.tucows.com/x11html/preview/019-013-004-005C.html
Tkgoodstuff for the X Window System is a utility panel or button bar that can easily be configured using a GUI preferences manager. Written in Tcl/Tk, tkgoodstuff includes "clients:" an analog/digital alarm clock, a new mail indicator, a log file watcher, a web browser launcher, a dialup network dialer and status indicator, a note taker/manager, a calendar program alarm daemon, and more. In addition to the clients, you can configure buttons to run commands and you can embed any X program window in your bar.
http://nyi.linux.tucows.com/files/x11/xwin/tkgoodstuff8.0-final.tar.gz
./configure make
pkg=tkgoodstuff make -n install | tee /export/pub/installs/logs/$pkg.log.0 make install | tee /export/pub/installs/logs/$pkg.log.1
No use to specify —prefix:
./configure --prefix=/opt/tkgoodstuff
still installs to /usr/lib/tkgoodstuff/…
Newsgroups: comp.os.linux.x Date: Mon, 18 Nov 2002 16:31:24 -0500
> ...to use with a very slow CPU, a 486-66. Is 'twm' it?
TWM is a most excellent window manager. It can bet left as-is or polished up and decked out to a sophisticated desktop… with in reason of course.
I play herd master to a bunch of laptops… the low, low end ones run TWM. I've added a copy of the system.twm resource file I use on them.
For an in depth view of twm and other window managers, have a loot at: http://www.plig.org/xwinman/
Here's a copy of the/X11/twm/system.twmrc file I use:
# # $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp $ # # A little $HOME/.twmrc by Thomas Eriksson brummelufs@hotmail.com # # twm... the original and the best... # # Modified (quite a bit) by Dan Mills <dm@cs.duke.edu> # on Sun Nov 14 10:48:51 EST 1999 # # Modified (a bit more) by Jerry McBride <mcbrides9@comcast.net> # # # Fonts # Some not used.. # TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" # # Misc options # NoGrabServer DecorateTransients NoTitle # No title bars on any windows NoRaiseOnMove # Drag underneath windows OpaqueMove # Show contents while dragging BorderWidth 0 # No borders on any windows ClientBorderWidth 0 ButtonIndent 2 NoHighlight AutoRelativeResize FramePadding 0 Zoom 500 # # Icons # IconManagerGeometry "800x24+0+0" 4 # up/left, four icons per row ShowIconManager # Use the icon manager IconifyByUnmapping # Don't show other icons IconManagerDontShow { "xconsole" "panel" "XMMS" } DontIconifyByUnmapping { "XMMS" } # # Colors # Color { BorderColor "black" DefaultBackground "darkblue" DefaultForeground "white" TitleBackground "navyblue" TitleForeground "white" MenuBackground "midnightblue" MenuForeground "white" MenuTitleBackground "white" MenuTitleForeground "darkblue" IconBackground "darkblue" IconForeground "white" IconBorderColor "darkblue" IconManagerBackground "navy" IconManagerForeground "white" PointerForeground "navy" PointerBackground "white" } # # Cursor settings # Cursors { Frame "left_ptr" Title "left_ptr" Icon "left_ptr" IconMgr "left_ptr" Move "fleur" Resize "fleur" Menu "hand1" Button "hand2" Wait "clock" Select "dot" Destroy "pirate" } # # Define some useful functions for motion-based actions. # MoveDelta 1 Function "move-or-lower" { f.move f.deltastop f.lower } Function "move-or-raise" { f.move f.deltastop f.raise } Function "move-or-iconify" { f.move f.deltastop f.iconify } # # Set some useful bindings. Sort of uwm-ish, sort of # simple-button-ish # Button1 = : root : f.menu "prg" Button2 = : root : f.delete Button3 = : root : f.menu "window" Button1 = m : window|icon : f.function "move-or-lower" Button2 = m : window|icon : f.resize Button3 = m : window|icon : f.iconify Button1 = : title : f.function "move-or-raise" Button2 = : title : f.raiselower Button3 = : title : f.iconify Button1 = : icon : f.function "move-or-iconify" #Button2 = : icon : f.destroy Button3 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.destroy Button3 = : iconmgr : f.iconify # This is for the window bar #LeftTitleButton "/usr/X11/include/bitmaps/checkmark.xbm" = f.delete #RightTitleButton "/usr/X11/include/bitmaps/menu12" = f.resize # # And a menus with the usual things # menu "prg" { "Tab Window Manager" f.title "xterm" f.exec "xterm &" "Email" f.exec "sylpheed --geometry=202x69+0+48 &" "Mozilla" f.exec "mozilla -viewer &" "Xosview" f.exec "xosview +net &" "Xcalc" f.exec "xcalc &" "Network" f.menu "internet" "Graphics" f.menu "graphics" "Music" f.menu "music" } menu "internet" { "Network" f.title "GFTP" f.exec "gftp --geometry=202x69+0+48 &" "GTK-Gnutella" f.exec "gtk-gnutella &" "VNC:1" f.exec "vncviewer -noauto -geometry 800x600 -depth 16 -passwd /root/.vnc/passwd spyro:1 &" } menu "graphics" { "Graphics" f.title "XV" f.exec "xv &" "Gimp" f.exec "gimp &" } menu "music" { "Music" f.title "XMMS" f.exec "xmms &" "Aumix" f.exec "aumix &" } menu "window" { "X Windows" f.title "Kill Window" f.destroy "Delete Window" f.delete "" f.nop "Maximize" f.fullzoom "Minimize" f.iconify "Resize" f.resize "Move" f.move "Raise" f.raise "Lower" f.lower "" f.nop "Focus" f.focus "Unfocus" f.unfocus "Show Iconmgr" f.showiconmgr "Hide Iconmgr" f.hideiconmgr "" f.nop #"Screensaver" f.menu "screensaver" "Redraw" f.refresh "Restart" f.restart "Quit" f.menu "quit" } menu "quit" { "Really Quit?" f.title "No" f.nop #"Yes" f.quit "Yes" f.exec "killall -9 xterm" } menu "screensaver" { "ZZzz..." f.title "xscreensaver-nolock" f.exec "xscreensaver-command -activate &" "xscreensaver-lock" f.exec "xscreensaver-command -lock&" "" f.nop "Laser" f.exec "xlock -nolock -mode laser &" "Qix" f.exec "xlock -nolock -mode qix &" "Star trek" f.exec "xlock -nolock -mode star &" "Galaxy" f.exec "xlock -nolock -mode galaxy -wireframe&" "Pyrotechnical" f.exec "xlock -nolock -mode pyro -wireframe &" "Swarm" f.exec "xlock -nolock -mode swarm &" "Linux" f.exec "xlock -nolock -mode flag &" }
Jerry McBride
fvwm-1.24r, fvwm version 2, blackbox should all be OK. choices. as i remember from early 90s, fvwm-1.24r is lighter than twm.
Johan KULLSTAM