I would like to use the console a lot more than I do. The problem is that if I run Gnome or another desktop system, I never use the console and end up relying on doing things only in the GUI environment.
Ideally, it would suit me if I could just start an X11 application from the console, whenever I need it. For example, suppose I want to use xine to watch a video or firefox to browse the web. Now after I have finished watching the video or browsing the web, I want to return to the darkness of the console.
I know I could simply do something like: 'startx' then in the default window manager I could start my X11 application and simply quit the default window manager afterwards. Is there a way that I could automate this by a script in my home directory that will be invoked if I start an X11 application?
I do not know anything at all about writing script commands and would be grateful if you could help me with this.
Ideally, it would suit me if I could just start an X11 application from the console, whenever I need it. For example, suppose I want to use xine to watch a video or firefox to browse the web. Now after I have finished watching the video or browsing the web, I want to return to the darkness of the console.
I know I could simply do something like: 'startx' then in the default window manager I could start my X11 application and simply quit the default window manager afterwards. Is there a way that I could automate this by a script in my home directory that will be invoked if I start an X11 application?
I do not know anything at all about writing script commands and would be grateful if you could help me with this.