I have my Raspberry Pi 2 hooked up to my TV monitor. I am very new to using it but want to use it to learn programming on but the feature of using OSMC to playback videos from a flash drive is also very beneficial. I don't need OMSC for anything else just to play back my video files. Is there any way I can set up my raspberry pi 2 to playback video in good quality like OSMC but still be able to boot up into the Raspbian GUI so I can work on learning programming when I'm not watching TV?
there are several ways to do this:
the easiest would be to work with two SD cards and swap them every time you change your need.
sure if this happens several times a day this could become annoying, and so there is another option...
and if changing the OS without changing the SD card is also too slow/annoying for you...
with a little bit more extra work (since OSMC is based on Debian) you can access the terminal (while shutting down OSMC) and (after installing) start nearly every desktop environment from the Debian Repositories.
...or work without any DE and just the Terminal.
BUT if you really just want to play a video you can for example also use
omxplayer (the player used/created by Kodi) or some other player within Raspbian! maybe you have to install it (
sudo apt-get update && sudo apt-get install -y omxplayer) first.