LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 11.04 Fluxbox .xinitrc? (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-11-04-fluxbox-xinitrc-4175420738/)

Innervision 08-06-2012 09:50 PM

Ubuntu 11.04 Fluxbox .xinitrc?
 
Hi everyone,

I have a distro based on Ubuntu 11.04, and the default window manager is OpenBox / LXDE. I want to use Fluxbox instead.

All I want to do is tell Ubuntu to use Fluxbox as the default window manager, instead of OB / LXDE. In Arch Linux, there are simple config files that you can use to accomplish this, like .xinitrc ("exec startfluxbox &") - but I don't see anything like that in Ubuntu.

Also, I don't want to use the Login screen session manager - I want to override the OpenBox / LXDE startup with a Fluxbox startup using a config file. I KNOW there is a way to do this, I just can't find the correct file.

Please help?

Innervision 08-07-2012 06:11 AM

Any help on this? I feel like there should just be a local config file which overrides the system-wide behavior of starting OpenBox / LXDE by default.

RockDoctor 08-07-2012 09:08 AM

Run lxsession-edit and change the window manager to fluxbox.

Innervision 08-07-2012 09:24 AM

Well, that half-worked. Now it appears that I have two window managers running at the same time. For example, now when I right-click, I get the LXDE-OpenBox context menu, AND the Fluxbox menu, overlapping each other.

RockDoctor 08-07-2012 02:00 PM

Perhaps toggling the Show menus provided by window managers when desktop is clicked option on the advanced tab of
Code:

pcmanfm --desktop-pref
will help (or perhaps not, but it shouldn't cause any irreparable harm)

bonixavier 08-07-2012 02:18 PM

Have you tried writing a ~/.xinitrc file for that? I'm pretty sure it will get read.

Innervision 08-07-2012 02:25 PM

As far as I can tell, X server isn't even installed on this distro. xinit and startx are unknown commands. I have no idea what is dictating the launch of OpenBox-LXDE.

@RockDoctor: That command had no effect :(

@bonixavier: Since X server is not installed, a custom xinitrc script won't work here.

273 08-07-2012 02:35 PM

I thought it was as simple as selecting Fluxbox form the login manager, so it becomes the default for the next and subsequent sessions, then setting the login manager to log in your user automatically? Or are you trying something more specific?

bonixavier 08-07-2012 02:55 PM

If you don't have xorg-server installed, how can you login to lxde?!?

RockDoctor 08-07-2012 03:28 PM

There's always
Code:

apt-get remove openbox


All times are GMT -5. The time now is 12:44 PM.