 So you're ready to move off of those big heavy bloated desktop environments and you're ready to take the plunge You want to start going window manager only But maybe you're not ready to go tiling window manager just yet Well, you know one of my favorite standalone window managers of all time is a floating window manager called open box So today I thought I would show you guys how to set up open box on Linux mint because maybe you're currently on Linux mint You're running Linux mint cinnamon and you're just not happy with the performance or maybe the function of the cinnamon desktop environment You're looking for something a little more light fast minimal customizable I think you guys will be impressed if you've never taken a look at open box I'm gonna run through installing open box on Linux mint here on a virtual machine But you guys can follow along with me on your physical machines You won't do any damage at all to your actual Linux mint installation by following along with me because You don't like open box after we install it you can always just go back and uninstall it It actually won't touch whatever desktop environment. You're currently running So if you're running cinnamon or XFCE or Monte They will still be on the system for you to log into but you'll have this extra session that you can play with This extra open box session. So let me switch to this VM here This is a VM of Linux mint cinnamon and I'm gonna pull up a terminal So I suggest you guys do the same and let me see if I can zoom in here And the first thing we want to do of course is do some installations of some software So I'm gonna do a sudo apt install and then open box of course for the window manager. We also need OB comp We're also gonna need something to change our GTK themes. So LX appearance is typically the program I use for that with open box. We're gonna need some kind of panel or dock for me I like using a tent to for my panel. It's all one word tend to I know when I blew up the fun It looks like it's two separate words, but it's tent and then the number two after that Also, we're gonna need a compositor because open box does not have compositing built into it So we're gonna need Compton or Pycom depending on how it's named in the debian slash a boon to slash Linux mint repositories I think it's still called Compton though on Arch it would be called Pycom And really I could just go with this here because most of the other programs I mean text editors and web browsers and office suites and things like that are all the programs that are already installed in Linux mint cinnamon, right? I just need the Window manager open box and some open box Specific utilities like OB comp and of course the tent to panel and of course the compositor But one other thing I do want I want a run prompt a run command prompt such as D menu or Rofi For purposes of this video, I'll install Rofi But if you prefer D menu or maybe something else like you launcher or Ganon pie or whatever, you know all those fancy launchers are but it's nice to have a run launcher on your system So I'm just gonna hit enter and go with those programs there And it should just take a few seconds to install these on nothing It's too big as far as these programs So they were all very small minimal kinds of programs and now that that has installed I'm gonna quit out of that terminal and let's go ahead and log out of Linux mint Here. Oh, I'm gonna choose log out here and go back to the login manager and if I go To this symbol here, I can now change the desktop environment or window manager We're in by default. Of course, we ran cinnamon. I also had installed I3 for a previous video I did a while back, but here is our new open box session So choose open box and then of course enter your password and log in and by default This is what open box looks like. It's a black screen, right? A black screen. It doesn't draw a wallpaper by default We should have installed something to set a wallpaper. I didn't think about that. We'll fix that All you have by default out of the box with open box if I right-click on the desktop you do get this right-click menu and I don't know if it's actually Populated with stuff we already have it looks like it is this looks like the actual stuff that is installed on Linux mint So that's great. So on some distributions, though This right-click menu will only have just a handful of applications and those applications are hard-coded as far as in the menu So you may not actually have those programs installed But this actually looks like our true applications menu because I think we have all of this stuff Installed for example, if I wanted to go down to utilities, let me find a terminal because I need a terminal and Maybe it's in the system menu. Yeah, there it is terminal and I'm going to make that full screen the first thing I want to do is run a X rander command here XR and R mate. This is just for virtual box here You guys aren't doing this on physical equipment will not have to do this But I want to pick a better screen resolution here Because this resolution when we logged into open box was really small So let's get back to a more standard resolution. So this is open box by default. It's just the black screen Thankfully, we do have the right-click menu that is populated with some stuff So hopefully you can get a terminal emulator up and running if you need to install Software or launch programs if I wanted to right now I could do tint to space and then a ampersign and see if our tint to panel Runs and it does this is the tint to panel down here at the bottom of the screen now The panel is black by default which matches the black background. It's kind of hard to tell There's a panel there until we settle wallpaper And when I close the terminal the tint to panel disappeared But we're going to fix all that here in a second Let me go and choose terminal emulator here to Open the terminal again and let's see if I can zoom in again here. Yeah So we need to do another sudo apt install And then we need to install something to draw wallpaper force I'm going to install this program here called nitrogen And give it just a second And then once we have nitrogen installed what I'm going to do is I'm going to type nitrogen here in the terminal And let's go ahead and launch it. I'm going to go into preferences. I'm going to add a directory here And the directory I want to add is probably in the root file system and slash user slash share slash backgrounds Linux Mint So we can actually do either one of those Linux Mint directories there. I'll just select one of them And then hit okay, and we should have all those Linux Mint wallpapers that were on our system Previewed here inside nitrogen. So let's go ahead and pick one So I'll just pick this one here just to have something that's not a black screen now All right, that actually worked. I did notice it actually didn't size it correctly though If I right click to get back to the terminal emulator and if I launch nitrogen again I'm going to go back and instead of the automatic sizing. I'm going to do skilled and then hit apply And now it stretches that wallpaper to actually take the entire 1680 by 1050 resolution of this VM Now I'm going to close this terminal And I'm going to actually use some of the graphical applications on the system Since I'm doing this video from the point of view of you guys are used to Your traditional desktop environments and those graphical programs that come installed with them I'm going to try not to do everything in the terminal and at the command line And I'm going to try to avoid using tools like Vim or anything like that on this video But if I right click on the desktop right now and go into applications Let me see if I can find the file manager. Actually, it's under utilities. There it is. It's called files Let me launch that and then what we want to do is if I go into the menu here and I choose view And I click on show hidden files because we need a hidden directory We need a hidden directory in our home directory called dot config go into that directory And just for sake of having more stuff viewed on the screen at a time I'm going to change the default Look from icon view to list view. So we actually get a list Now we need a directory in this dot config folder called open box because that's where your open box config files Need to reside on the system. There is not an open box folder But if I go into the menu system here to file and then create new folder And then it's going to ask me what to name the folder here. I'm going to type open box And now we have dot config slash open box go into the open box folder, which will be empty And I'm going to right click and I'm going to create a new document a empty document And I am going to name it auto start Now I'm going to right click on the auto start file that we just created And I'm going to choose open with text editor and that should launch This empty document in the text editor that was installed by default on linux mint cinnamon I think it's zed if I go to help and about yeah, it's zed, which is xed It's a old fork of um g edit, which is gnomes plain text editor really nice text editor actually Now auto start as the name implies are all the programs that are going to start Every time you log into open box. So when you first log into your desktop, what needs to happen? Well, one of the first things that needs to happen is we need a panel so tent to space Ampersign And then hit enter and then what's the next thing we want? Well, we need a compositor for transparency and drop shadowing and nice effects And it also helps prevent screen tearing So our compositor on linux mint, of course, is going to be comptin Space ampersign and then hit enter to go to the next line And then we need to draw our wallpaper and again nitrogen was our wallpaper setter So do nitrogen space dash dash restore is the command to restore the wallpaper that you had previously set using nitrogen And then of course at the end add the ampersign hit enter And one other thing i'm going to add because I had installed it earlier And this is just so you guys can see how this auto start file works. Let's launch rophy as soon as we Launch open box. So rophy is going to pop up as soon as we log into open box And the command to get the rophy run launcher is rophy space dash show space Run space and then I'll do an ampersign at the end of that as well I'm going to go up here and I'm going to click save the current file And then I'm going to right click on the desktop here and I'm going to choose exit We're going to exit out of open box. It's going to ask, are you sure you want to exit? Yes, we do And I'm going to type my password and log back in and you see our wallpaper was drawn with nitrogen We have the tent to panel which is has some slight transparency and because the transparency is working We know Compton is working and then of course rophy also launched as well So our auto start file did everything that we wanted it to do now I need to go back and fix the resolution here again. So I'm going to open the terminal I'm going to up arrow on the keyboard until I get to that xrander command I ran earlier I'm going to hit enter And the wallpaper is a little funny So I'm going to type nitrogen here in the terminal and to fix the wallpaper I'm just going to pick another wallpaper here and hit apply Just to fix the the weirdness that was going on with that wallpaper Now one thing I don't like here is this applications menu That's nice that it has all everything installed on the system But it is really tough to navigate this thing because I don't know if you guys have noticed this But it is actually not in alphabetical order when I go to the systems category It's not listed alphabetically. So it makes it really tough to find anything you're looking for I guess if you don't know what you're looking for it doesn't matter But most of the time when you're looking through a menu system for an application You know exactly what you're looking for and typically you're going to look for it in alphabetical order and Because it's all jumbled up that menu is kind of tough But typically what you want to do when you run open box is you want to install a third party program called menu maker Which automatically generates a menu system for you So i'm going to launch firefox the browser and there is a quick launcher for firefox by default here At the at the bottom of the screen in our tent 2 panel And what i'm going to do is i'm going to do a search for linux menu maker And let's see there it is what is menu maker and it's hosted over on source forge a menu maker By the way is a menu generation program for x11 window managers and for a lot of them It will create a menu system for open box flux box jwm peck wm window maker I think it works with icwm and a few others to install menu maker. It's it's not in your Repository the devian repository or the mint repository So we're going to have to download the source code and then do a configure make and make install Inside the terminal so i will keep that up so you guys can read what that is but i'm going to open This in a new window here and i'm going to choose to save the file and i'm going to click okay and it downloaded in seconds so It was already through with the download and then copy this these three commands here They're actually all in one command because it's saying hey run configure and and run make and and run make install And now you usually need to be a sudo have root privileges for the make install So so this command actually may not work for me if i just try to do it as is in the terminal Now let me open up our file manager again So i'm going to right click and if i remember correctly it's in under utilities And files let's go into our downloads directory and there is that tar gz file there. It's a archive It's a compressed file of menu maker. I'm going to right click on it Open with archive manager. Yes And we're just going to extract here hit extract one more time and then close And we just extracted that from the archive now what we need to do is in a terminal We need to cd into the menu maker directory and then run that Command configure make make install. So i'm going to close the file manager. We won't need that Let's go ahead and open a terminal and then We zoom in here. What you want to do is cd into the downloads directory So do cd space capital d o w hit tab and it will complete the path for you And then the next thing you want to do is just hit tab again If the only thing in that directory is your menu maker And that's all that's in this is the menu maker directory that we extracted So cd into that and then run dot slash configure Well, I don't think I've ever seen this error before when I do a configure make make install I did the configure and I got an error checking for gcc for the c compiler Checking whether the c compiler works. No was the answer And it says error c compiler cannot create executables. Surely the c compiler is on the system I'm gonna run this command here. So let's uh Just see okay user bin cc. I'm gonna run echo dollar symbol and then two capital C's Uh, nothing was returned when I tried to echo that. You know what? I'm going to just assume There is an issue with gcc here. I'm gonna just do a pseudo apt install g plus plus And let's go ahead and give it my root password All right, I'm gonna clear the screen here and do an ls again Remember, we are in the menu maker directory and I'm going to run dot slash configure And now configure works. All right, and I'm glad we figured that out now after configure You need to run make and then after that you need to do this with root privileges sudo space make space install And it looks like everything worked correctly if everything worked correctly Then we should be able to run the menu maker command and generate our open box menu And now let me go back to the browser here And the command to run is m maker one word m maker and then space the name of your window manager So i'm going to cd back into the home directory Clear the screen so that command is m maker space the name of your window manager in my case open box No terminal emulator specified will use the default I'm not sure if that's a a legit error or just a warning But I have used menu maker enough in the past. I think I can specify a terminal with a dash t flag So I could m maker space open box space dash t space x term because x term is like the standard default terminal emulator for x11 systems says terminal emulator couldn't be found try another one because x term is not on the system So just to get this to actually work Even though I don't plan on using x term Well, it's a fine terminal emulator. I'll go ahead and install it just to make sure this Menu maker command works correctly here Then i'm going to up arrow back to this command here m maker open box dash t x term And then now we also need to give it the dash f flag for force. All right And now if I close all of this And if I right click on the desktop, this is of course the previous menu, you know, nothing has changed What we need to do is in the main screen here reconfigure open box And then when I right click look now we have our new menu that was generated by the menu maker script And it's actually nicely organized by category and everything is alphabetized. So It's this is much easier to navigate and of course this can be done anytime You know if when you install new software or remove software from your system You'll have to go back and rerun that m maker command to generate a new menu system for the the new programs you installed Now that we've got open box set up. We have our menu. We have our wallpaper drawn. We have a task bar Um, the next thing you want to do is you need to get comfortable with how you configure open box So i'm going to right click on the desktop i'm going to go into the utilities category I'm going to go into files. This is our file manager. And again go into the dot config folder Open box and in the open box directory we have our auto start There really should be three config files auto start for auto starting programs the menu dot xml file This is your menu system. So what you see in this right click menu is actually just this big xml file And the other thing you need is a rc dot xml the rc xml is your Configuration as far as setting up key bindings and things like that. There's not one Well, there's not one by default in your dot config slash open box directory But there is one that you can go and get on the system and copy it over into here So i'm going to go into utilities and where is the terminal and maybe it's system where is Still trying to figure out where everything is. There's a shells category terminal. All right, and let me zoom in again So first we need to find where the default rc dot xml is on the system So run this command sudo space find space slash for root. We're going to search the entire directory structure basically for dash i name So insensitive case searching by name and the name we're searching for is rc dot xml And then give it your root password and there it is Slash etsy slash xdg Slash open box slash rc dot xml i'm going to middle click on it to copy it And then go back to the front of this and i'm going to do a cp for copy and i'm going to copy This over to in my case slash home slash dt Slash dot config slash open box Slash rc dot xml Copy that over if i go back to the file manager now we have an rc dot xml And this is where you could go and play with a lot of settings This is where you can set the font as far as the font face font size You could set up your workspaces how many Workspaces you like to use maybe you want two workspaces or four workspaces or whatever you can set all that But really what you want to go in here is and play with are the key bindings There are a lot of default key bindings But maybe you want to change them and this is the file that you would go in and play with that Now i won't sit here and hack on these config files on camera That would be long and tedious, but i have my own config files already out there So for me, it would be very easy to just go and grab my open box config files from gitlab If you guys want to check out my open box config files, you can go grab them too All you need to do is in the terminal type git space clone space https colon slash slash gitlab.com slash dwt one Slash and it's in my dot files repository. So dot files dot git Git is not installed on linux mint out of the box. That's interesting. So let's do a sudo apt install git Now that we've installed that let's go and run that git clone again to get my dot files from my gitlab Maybe it'll take a minute or two because i've got a lot of dot files. Actually it downloaded those rather quickly It just took a few seconds now if I do it ls here in the terminal You see there is a directory called dot files. That is what we just got from my gitlab If i cd into that well actually let's not cd into it what i want to do Let's close the terminal because this is probably what some of you guys will do Is let's just open up our graphical file manager. So i'm going to go to utilities files And look for the dot files directory I'm going to right click on it and i'm going to open it in a new window. So there is my dot files directory Then in this window i'm going to go into dot config open box And then in my dot files dot config Open box And all of this I'm gonna control c to copy go over here control v to paste and it's going to ask me Do I really want to replace all these files with those files? Yes, I do And if that worked correctly, I could right click on the desktop. I could reconfigure And there is My open box config file as far as my settings and everything This is my my custom menu that I hand code. I actually don't use menu maker to make my menu system I just do it all in xml now while we're here. Let's go ahead and grab my config files for Rofi and Tent two so i'm going to click on rofi and then with the control key Held down and i'm going to also click on tent two and then control c to copy And then over here i'm going to do a control v to paste And yeah, we'll just merge everything And replace everything and now once again, we'll just Reconfigure actually what i'm going to do. Let's exit In the virtual machine the resolution got a little funny on me here, but let's log in I hit escape to get out of that rofi menu And what i'm going to do is i'm going to go in here Actually, i'm going to click on a terminal And my terminal emulator that i like to use with openbox apparently was termite It says can't find termite because it's not installed on the system So i'm going to right click and instead of the terminal i'm going to click on rofi Let's launch rofi and i'm going to search for terminal Hit enter and this of course is the system terminal here on linux min I'm going to run that x render command one more time to fix the screen resolution here And yeah, i don't like all of that, but really i don't like that wallpaper anyway I'm going to launch rofi one more time which in my config i think i had it set to mod r super r Yeah So i can just hit super r and then type terminal Zoom back in what i'm going to do is i'm going to run another get clone i'm going to do get clone space htps colon slash getlab.com Slash dwt slash wall papers dot get Let's get my wall papers repository from my get lab because i got better wall papers than the mint guys All right, so we got that wall paper directory from my get lab So if i right click and go into my menu system here and i think i have nitrogen under a preferences category And now i'm going to go into the preferences for nitrogen. I'm going to take that default linux mint directory and delete it I don't want nitrogen to use that directory for wall papers anymore instead I'm going to add a new directory for wall papers And it's going to be in my home directory And it's going to be wall papers and that is what we just get cloned right and my wall papers So there's about 300 wall papers in that directory So let's select those and hit okay And now nitrogen is going to load 300 wall papers Yeah, these are all of my wall papers And i'm just going to pick one that I think is appropriate because i'm doing a dark theme with the tent tube panel I'm probably going to do a dark open box theme and a dark GTK theme as well Let's pick a light wallpaper to go with our dark themes So i'm going to choose that one right there It's probably going to be really nice against a dark theme once I have a dark open box theme I don't have one yet. So let me get back into the terminal I have a open box theme on my git lab as well So i'm going to up arrow and i'm going to get cloned gitlab.com slash dwt one slash dt dash dark dash theme dot git And now we've got my Dark gtk theme and my dark open box theme They're not going to be activated though until I open the lx appearance tool remember We installed a program called lx appearance And this is it and somewhere in the gtk themes here. I should see dt Dash dark themes no it won't appear there because it's in my home directory, but that's not where it needs to be Let me Launch rophy again, and i'm going to open files and let the name of our file manager the generic name We have dt dash dark dark theme here But that needs to be in the root directory at slash users slash share slash themes And we'll put it in that directory if you're on a multi user system So everybody has access to that theme if you just want your user to have access to this theme What you could do is copy it and instead of going to slash user slash share slash themes you could go into your home directory dot local share themes and there's no themes directory. Let's create one So if you create a themes directory and dot local slash share slash themes and then paste dt dash dark theme And then close and then let's open The lx appearance tool again and now dt dash dark theme is down here Uh, let me go ahead and click on it hit apply and nothing happens when I do that it may be a permission problem I think I may have put it in the wrong directory It's not necessarily the wrong directory But I think on ubuntu and ubuntu base systems instead of putting that thing in dot local share themes what I should do Is put it in the home directory under dot themes I'm going to create a folder in the home directory called dot themes And then in dot themes. I'm going to paste dt dash dark theme All right, click and go into lx appearance Now it actually works. All right. That's weird. It doesn't work in dot local share themes But it does work in the home directory slash dot themes. All right, and that is my dt dark theme That's a gtk2 theme that I've been holding on to for years It's really dark not everybody likes a really really dark theme But I like it now I have an open box theme as well to go with the dart gtk theme because this is the gtk theme What you see inside the window but the border of the window the top bar and of course the right click menu That is actually open box. That's part of the open box window manager So we need to look for a program called ob conf for ob config I think I have it in my menu system Under administration Open box config right there if I click enter This is the ob conf tool and I need to go to appearance actually I need to go to theme And then go down until you see dt dark theme And then you see the title bar is no longer blue. It's a dark color And that's all I wanted to do my Right click menu of course is now dark as well It's a very black with some green highlighting to match the tint to panel. It's colored the exact same way So yes, I planned it that way. I do notice the fonts are a little weird in lx appearance here I don't know if it's a problem of maybe some fonts in my config that I have set that aren't installed on the system out of the box, but That's all I'm going to play with today But this is a little bit of what you can do with open box open box is a really cool Program a window manager. It's really attractive and it's really light. It's really fast It's great on memory as far as ram usage I mean it loads up in like 200 megs of ram Or less, you know, depending on how stripped down you want to get with open box So those of you that are looking for a good alternative from things like gnom and cinnamon Again, those big heavy desktop environments If you want to go something lighter something far more customizable as well We didn't really customize it to its full extent on this video This was more of an introductory kind of video for setting up open box But open box is extremely customizable. You can set key bindings to do anything you want to do with your windows Now before I go I need to thank a few special people I need to thank the producers of the show Michael Gabe Corbinia Mitchell Devin Fran arch 55 30 a commie channel Chuck Claudio Dylan George kelv devils lewis paul robert Scott somebody else willy I threw some extra names in there and I probably forgot some names in there at that time But yeah, I want to thank all these guys all these names you're seeing on the screen They're the producers of the show. They're my highest tiered patrons over on patreon I also want to thank each and every one of these ladies and gentlemen These are all my supporters over on patreon because this channel is supported by you guys the community You'd like to support my work look for distro tube over on patreon. All right guys peace