WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: X without WM  (Read 4421 times)

Offline blue horse

  • Newbie
  • *
  • Posts: 31
X without WM
« on: May 10, 2012, 09:25:02 PM »
I was trying different WMs, out of curiosity, I decided to not load any WM onboot.
Now I have a X window without WM, and absolutely no place to start any application.
Given this situation, is there a way to get access to onboot.lst and edit it?
Thanks.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: X without WM
« Reply #1 on: May 10, 2012, 09:33:58 PM »
Hi blue horse
You could use  vi, or if you have mc installed, it will run without a WM.

Offline blue horse

  • Newbie
  • *
  • Posts: 31
Re: X without WM
« Reply #2 on: May 10, 2012, 09:51:01 PM »
Rich, how can I go to text mode? it goes straight to X window, but without WM.

Offline blue horse

  • Newbie
  • *
  • Posts: 31
Re: X without WM
« Reply #3 on: May 10, 2012, 09:52:04 PM »
I am hoping there are some special key to press during bootup and lead to text mode.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: X without WM
« Reply #4 on: May 10, 2012, 09:55:06 PM »
Boot with the text option, and add a program to .xsession like aterm.  Then you can launch X programs from that.

Offline blue horse

  • Newbie
  • *
  • Posts: 31
Re: X without WM
« Reply #5 on: May 10, 2012, 10:01:59 PM »
how to "boot with text option"?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: X without WM
« Reply #6 on: May 10, 2012, 10:13:21 PM »
It depends on the boot loader.
Either enter 'E' or <TAB> at the boot prompt and add 'text' to the boot line.

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: X without WM
« Reply #7 on: May 10, 2012, 11:32:08 PM »
ctrl-alt-backspace or ctrl-alt-delete kills the X-server and
drops me back into the console on my 'machine'.

It works for the X-server, Xfbdev,
does it not work across the board?

then to edit u can use 
busybox vi (will always be present on Core)
or select your editor of choice from ab
(the command-line appbrowser).

cheerio,
solorin

p.s. aw shucks. i thought this was going to be a post about   
       https://github.com/patrickhaller/no-wm
« Last Edit: May 14, 2012, 12:16:25 AM by solorin »
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: X without WM
« Reply #8 on: May 11, 2012, 01:49:05 AM »
I've been learning a lot of keyboard shortcuts lately,  like  Ctrl + Alt + Backspace  and  Ctrl + Alt + F1   both go to text mode  (maybe).   Additionally Ctrl + Alt + F1  was used to go back to text mode then Ctrl + Alt + F2  to return to X  immediately  :)

I haven't mastered vi  yet, not even by a long shot..  I tent to boot a live cd/usb and gain access to modify files that way,  or boot another VM but the principle is the same.
« Last Edit: May 11, 2012, 01:52:43 AM by coreplayer2 »

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: X without WM
« Reply #9 on: May 11, 2012, 08:00:06 AM »
ctrl-alt-F1
oi. nice one. coreplayer
can't believe it took this long to discover that.
maybe i did try virtual consoles in console mode once,
but i think it's not implemented.
correct me if I'm wrong.

cheat.errtheblog.com/b
has a nice collection of concise reference sheets,
vi being one of them.

i use torsmo to keep the one i'm learning
in the rootwindow, above the wallpaper
and just switch workspaces when i need to refer.

okay, narry a word more from me here.
i gotta stop hijacking other people's threads.
sorry OP & mods.
« Last Edit: May 11, 2012, 08:07:49 AM by solorin »
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline blue horse

  • Newbie
  • *
  • Posts: 31
Re: X without WM
« Reply #10 on: May 13, 2012, 09:53:18 PM »
Thank you all, I finally got into text mode with ctrl+alt+backspace.
by the way, my TC is running on VMware hosted by Windows7.