Oooh! Yes, I like that. Making the change.
Announcement
Collapse
No announcement yet.
boot into CLI, but not by... [explained in thread]
Collapse
This topic is closed.
X
X
-
Windows no longer obstruct my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
-
- Top
- Bottom
Comment
-
Nano is a very good cli based editor. It has got me out of trouble when I have borked the display with an error in xorg.conf, (when I used xorg.conf).Linux because it works. No social or political motives in my decision to use it.
Always consider Occam's Razor
Rich
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish



- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
- Top
- Bottom
Comment
-
hahahaha Only on prime-numbered days of the month. ;-) I don't see what makes you say that, though. Vim can be used the same way as nano (which is pretty much what I do at this point, as I'm not yet accustomed to all the shortcuts), the only difference being hitting 'i' in the beginning. And :wq is much more elegant than ctrl-X and then confirming changes.Originally posted by oshunluvr View PostYikes. Do you pull your fingernails out too?
So to get back to the topic of this thread--I took the first couple suggestions and set my default runlevel to 2. Then when I want a gui, I useas root. This is working very well for me.Code:init 5
So I get put into tty1 by default, but issuing "init 5" automatically switches me to tty7. Before issuing "init 5", tty7 is empty--not even a login prompt.
This can help save battery power, right? This was my main motivation for it, so that when I'm just taking notes in my classes (which I do in vim), I don't burn the battery needlessly.I run Kubuntu 18.04 LTS.
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish



- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
Modal vs. non-modal editors. Choice is good! Wars are sillyOriginally posted by rybnik View PostVim can be used the same way as nano (which is pretty much what I do at this point, as I'm not yet accustomed to all the shortcuts), the only difference being hitting 'i' in the beginning. And :wq is much more elegant than ctrl-X and then confirming changes.
That's expected. init spawns six instances of getty, one on each of tty1..6. Take a look:Originally posted by rybnik View PostSo I get put into tty1 by default, but issuing "init 5" automatically switches me to tty7. Before issuing "init 5", tty7 is empty--not even a login prompt.
I've modified all of mine to include the --noclear option, which prevents the screen from clearing:Code:ls -al /etc/init/tty*.conf
Code:steve@t520:~$ [B]cat /etc/init/tty1.conf[/B] # tty1 - getty # # This service maintains a getty on tty1 from the point the system is # started until it is shut down again. start on stopped rc RUNLEVEL=[2345] and ( not-container or container CONTAINER=lxc or container CONTAINER=lxc-libvirt) stop on runlevel [!2345] respawn exec /sbin/getty -8 38400 [COLOR="#B22222"]--noclear[/COLOR] tty1tty7 is blank because no process has been assigned to it. The X display manager, when started, automatically chooses the next available TTY on the system (64 are defined in /dev, numbered 0..63). Because tty7 is the next available, that's where your graphical desktop will start.Originally posted by rybnik View Postissuing "init 5" automatically switches me to tty7. Before issuing "init 5", tty7 is empty--not even a login prompt.
Probably not. Graphical compositors only redraw changed portions of the screen. In some ways, they might be more efficient than framebuffers, which is what text-mode TTYs use. But I could be wrong -- you'll need to experiment and find out.Originally posted by rybnik View PostThis can help save battery power, right? This was my main motivation for it, so that when I'm just taking notes in my classes (which I do in vim), I don't burn the battery needlessly.
- Top
- Bottom
Comment
-
So far, using runlevel2 does seem to conserve battery power, although in light of what you said, I suspect it might be largely because that runlevel does not have networking or wifi.Originally posted by SteveRileyProbably not. Graphical compositors only redraw changed portions of the screen. In some ways, they might be more efficient than framebuffers, which is what text-mode TTYs use. But I could be wrong -- you'll need to experiment and find out.Originally posted by rybnikThis can help save battery power, right? This was my main motivation for it, so that when I'm just taking notes in my classes (which I do in vim), I don't burn the battery needlessly.I run Kubuntu 18.04 LTS.
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish



- Jul 2011
- 9625
- Seattle, WA, USA
- Send PM
Yes, disabling network interfaces -- especially those with radios -- will reduce overall power usage.
- Top
- Bottom
Comment
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.





Comment