I normally avoid the whole problem and just use the package xorg-x11-xinit-session to let me launch a ".xsession" script. That sets up my environment and then called ".xinitrc".
Though my ".xinitrc" script does get more complicated. It sets up my display, sets up a logout control button (which can re-launch all my applications without logging out), calculates my desired tiling of terminal windows (I'm old fashioned) selecting the appropriate font so my terminal are readable on these new high resolution screens, then calls "client" script based on hostname, to set any specific client applications. I do all this as I synchronise my home across multiple machines, which have different requirements and application needs. On Mon, Sep 12, 2016 at 7:28 AM, Aaron Sloman <[email protected]> wrote: > > I have some minor problems launching gnome (gnome3?) facilities using ctwm > in F22. I use the xfce distribution because it seems to be relatively > lightweight. > > I wonder whether I am not setting up ctwm initialisation properly, and have > been searching unsuccessfully for a web site providing relevant advice. > > Can anyone advise on a generic web site for linux window manager > initialisation? > > I think I know enough about ~/.ctwmrc > > I also know how to launch ctwm at the end (or near the end) of > > ~/.xinitrc > > I suspect I am not setting up enough of the environment before .xinitrc > runs. > > Based on advice from this list some time ago I have a file > > /usr/share/xsessions/ctwm.desktop > > containing only: > > [Desktop Entry] > Name=Ctwm > Comment=Log in using the ctwm window manager (without a session > manager) > Exec=$HOME/.xinitrc > Icon= > Type=Application > > > This allows me to select ctwm from the login page that is run by 'init 5' > > I seem to get almost full functionality by starting ctwm by logging in > using non-graphical mode (mode 3) and then doing: > > startx > > or > xinit > > There are a number of symptoms that I am doing something wrong. > > 1. I have commands to run gnome menus of various sorts, e.g. > > gnome-control-center sound > gnome-control-center network > > or just > > gnome-control-center > > These can be launched from ctwm menus or function keys, or using shell > commands in an xwindow. > > Mostly they work but sometimes the text does not display properly on the > panels that come up. I can't find any pattern in this. When it happens, > re-starting X may or may not fix it. > > Also if I launch gnome-control-center from the command line it works, but > comes up with all the icons black. However, if I select one of the items on > the panel it up comes up in full colour. Also if I run it with an argument, > e.g. > > gnome-control-center network > > it comes up with proper colours (as far as I can tell). > > I wonder if I am somehow failing to set up something crucially > required for xdm or xdg or xinit or ... > > Although I have been using this stuff for years, these problems are > relatively new (like the focus problems I have previously reported). > > I know very little about the system start up processes and I wonder whether > something has changed that I need to read about. > > Perhaps the XFCE package leaves out some crucial facilities that are needed > by those who don't use the xfce window manager? > > I wonder if I should try using fedora 24 with the default package and then > switch to ctwm. I always delay upgrading as long as possible for obvius > reasons... > > Thanks. > > Aaron > >
