Ubuntu :: How To Make Command Line Auto Run On Boot Up
Dec 20, 2010
In dealing with the Nvidia Powermizer, I have to set it to "Prefer Maximum Power" mode from adaptive mode in order that I can avoid laggy in using my GUI. However, it doesn't save this setting so I have to manually tweak it everytime........
Someone on the web taught me to use the following command line:
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1
running it in the terminal it will set to the mode I want.
Would I be able to make my computer run the above command in terminal everytime it starts? I tried to put the command in the start up applications and it seems not working.
View 5 Replies
ADVERTISEMENT
Nov 5, 2009
I've got an install of CentOS 5.3 in a VM which was installed without X or Gnome.I've added X (yum groupinstall 'X Window System') and Gnome (yum groupinstall 'GNOME Desktop Environment) and can now run startx no problem.However on boot I get a command line login rather than the graphical login screen one normally gets if Gnome is included at install time.What do I need to do to get the graphical login after boot?
View 3 Replies
View Related
Feb 22, 2010
I've Ubuntu installed on a SD card running on my Eee PC 1000H and have to type in, everytime after startup, this line:
Code:
sudo hdparm -B 1 -S 1 /dev/sda
to turn off the noisy HDD. How can I auto execute this command?! System>Startup Applications didn't work
View 3 Replies
View Related
Mar 2, 2010
I have installed opensuse on VirutalBox , during installation I said "yes" to autologin as normal user.After installation and restart , it shows follwing message "Logging in Laks ...Cannot enter home directory . using /"I can login as single user by passing "single " in grub.
View 9 Replies
View Related
Jan 22, 2011
I just recently installed ubuntu server. I want to be able to install packages and such but can't until I connect to Internet. I tried wifi but couldn't figure out how (I'm a n00b) but now I have ethernet and can't figure out how to make it work. So my question is, how do I connect to my Ethernet with ubuntu server, I could if I had graphical, but I can't get that until I have Internet. I didn't configure network during install, so how do I do it now?
View 3 Replies
View Related
May 4, 2010
know how to get ADF ( Auto Document Feeder ) on a printer to work from command line?
Running F12 and my printer is HP OfficeJet 7310xi
---------- Post added at 10:57 PM CDT ---------- Previous post was at 10:17 PM CDT ----------
I found this scanimage -b --batch-scan=yes > output.pnm
View 2 Replies
View Related
Aug 25, 2010
I have the issue of getting the Kubuntu getting booted first if I do not select manually in 7 sec. how to make that auto selection to XP so that, I can leave the computer and let it select Windows.
View 4 Replies
View Related
Jul 2, 2010
To hide the user input to be displayed on screen, use the terminal line setting command stty -echo, whatever the user enters after this command will not be displayed in the screen. to make the input characters get displayed on the screen use stty echo.
View 1 Replies
View Related
Oct 20, 2010
I am trying to figure something out as part of something else I am going to do. I was just wondering the easiest and quickest way to run a loop at the Linux command line which will make x amount of symbolic links when I need them.
I am using Debian 5.
I figure its something as easy as ~# foreach statement, then I just do a loop with the command to make a sym link.
View 5 Replies
View Related
Apr 12, 2010
The GUI for network configuration of Fedora is marvellous such that the configuration is almost fool-proof. But how can I make the connection by hand in the command line mode? It goes okay except the very last step. When I disconnect the eth0 interface from the right-hand side of the desktop GUI, I tested how to bring it back by command line but I failed. When disconnected, the ifconfig still shows the eth0 interface, with just the ip address portion changed.
I tried "ifconfig eth0 192.168.1.xx" to give it an ip address but the connection is still down even if the ifconfig shows an ip address for the eth0 interface. Then I tried "/etc/init.d/network restart" and "ifup eth0" and also "route add defaut gw 192.168.1.1" but none of these could accomplish the same work as a single click on the GUI to connect. I am very curious about how to do it in the terminal.
View 1 Replies
View Related
Nov 4, 2010
Out of curiosity and stupidity, I configured 2 extended partitions to LVM in gparted. Now, I can't boot into X window, and there's only GRUB command line during boot.
View 5 Replies
View Related
Jan 24, 2011
I use a program which makes a large image which I have to scroll to view. The program has no way to save the image, and I have no access to the source to modify it. The only way I have to get the image from the program is by screenshot. My goal is to save the full size image without having to piece together individual screenshots. I'm using this script to try taking a screenshot:
#!/bin/bash
window=$(wmctrl -l | grep "Program$" | awk '{print $1}')
wmctrl -v -i -r $window -e '0,0,0,6030,5828'
wmctrl -i -a $window
import -window $window ~/Desktop/screenshot.png
This uses wmctrl to get the window id ($window) for a window named "Program". It then tries to resize the window to the desired dimensions. It uses imagemagick (import) to save a screenshot.png on the user's Desktop. All of this works except the resize step. I can resize the window using wmctrl -r -e, but sizes greater than the screen size don't work. I'm using Ubuntu 10.04 and the Gnome Desktop. I run two monitors, but I've tried this with one of them disabled. Is there a way to resize the window larger than my screen to get a huge screenshot?
Part II: I tried using xrandr to set up screen panning, so as to have a bigger desktop than my monitor. xrandr --output LVDS --panning 2600x2500 This command makes the laptop screen pan over a 2600x2500 size desktop, even though it can only show 1440x900 at one time. To turn off the panning, I can use a similar command to set total size and with zeroes for the panning section. This gives me back my original laptop display behavior. xrandr --fb 1440x900 --output LVDS --panning 0x0 This is all done with xrandr, and does not require any Xorg.conf changes (my Ubuntu system doesn't even have an Xorg.conf).
My video card seems to only allow about 6.5 million pixels, even though the maximum dimensions are 8192x8192. That maximum seems to be the maximum for either dimension, but there is a limit to how many pixels can be drawn, which is the width multiplied by the height. Once I did the screen resize, I tried my script again and got a screenshot. The screenshot however is totally scrambled. I'm not sure if it's unable to take a screenshot of an off-screen window or if it is unable to handle the large dimensions of the window. With the panning display, the window should think it is visible, and the window manager should think it is on-screen. So there is a pixel buffer somewhere with those pixels in it, so there should be a way to get a screenshot.
View 1 Replies
View Related
Feb 20, 2010
Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?
View 1 Replies
View Related
Jan 26, 2010
How, using the command line can I detect my wireless card and make it work under SUSE Enterprise Desktop? The wireless card works in Win XP.
View 8 Replies
View Related
Mar 4, 2010
Is there something I can add to my "menu.lst" file to give me the option to boot Ubuntu into command-line only without needing to edit system files every time I want to switch
View 6 Replies
View Related
May 24, 2011
Despite my best efforts to have them use debian or ubuntu server, a client wanted ubuntu 11 on the new server they built. It runs all the services I need it to, but would be nicer to have that server boot to command line. It seems nothing is going to work. I have tried:
1. changing /etc/default/grub to "quiet splash text"
result: blank screen
2. sudo update-rc.d -f gdm remove
result: no change
3. echo manual | sudo tee -a /etc/init/gdm.override
result: blank screen
Has anyone gotten Ubuntu 11.04 to boot to command line out there?
View 3 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Mar 14, 2010
EDIT: sudo /etc/init.d/gdm stop worked, not sure why it did not before. Sorry for the whining!
I need to boot Ubuntu into a non-x, command line mode. So I can install an nvidia driver for my new GeForce GTX 260 (I had a GeForce 7900 running on my Ubuntu system using the synaptic open source 185 driver for nvidia, but there is no driver except the one I downloaded just now from nvidia's site for the GTX 260 card). That requires there be no X session running, not even in a separate domain so to speak. There is no rescue mode in Grub2. Recover mode in Grub still boots an X session (Gnome). Alt+F1 appears to be a clean command line terminal but even that does not work because the nvidia driver installer script sees through that ruse and knows there is an active Gnome session. I tried sudo /etc/init.d/gdm stop and that did not work. I tried ctr+alt+backspace and that did nothing.
What can I do? I tell you some days linux is just too frustrating, about to just toss the baby with the bath water and go back to Winblows. Bought a new graphics card today, and here I am stuck not being able to even install the driver from a command line prompt, geesh.
View 3 Replies
View Related
Aug 8, 2010
Just installed Ubuntu 10.04 LTS as a VM on MAC OSX. I want to auto boot to the command line, but the GUI keeps coming up. I ran "sudo update-rc.d -f gdm remove", but it didn't work.
View 8 Replies
View Related
Mar 12, 2010
Running 11.2, Is it possible to configure it to boot directly to a command line, outside of the GUI....as a default
View 9 Replies
View Related
Jan 9, 2010
i have successfuly installed ubuntu karmic inside my windows 7. After an update, i restarted it. but it didnt boot ubuntu. instead it shows grub's command line. what should i do? all of my java projects/programs is in there.
View 2 Replies
View Related
Mar 13, 2010
I have used the below command to do that successfully for the previous version of ububunt, but this time I failed to do that with Ubuntu 9.10. I know I can do that manually by "sudo /etc/init.d/gdm stop" command. I try to change the name of /etc/init.d/gdm files, but the problem still exist.m"sudo update-rc.d -f gdm remove"
View 3 Replies
View Related
Apr 6, 2010
I just installed a fresh install of 9.10 on my amd64. when it starts it locks up right away. i know that this has to do with my nvidia card. i've had to do this in the past. but since it locks up i have no way to get into the command line. ctl-alt-F1 does not work. is there a way to just have it boot right to the command line without loading up gdm?
View 1 Replies
View Related
Sep 1, 2010
I did a clean install of Lucid from the alternate installer, onto a generic Intel/Celeron PC box. I used a command line only install, and used the entire hard disk; there's no other OS and no other partitions on the disk. Install goes along and finishes fine, reboots, and I can log in. But if I call sudo reboot, or shut down the machine then restart it, the boot process hangs. I see the POST screen, then a flashing cursor on a black screen for a few seconds, then the monitor goes into standby. I see no messages or any kind of output to the screen. I get the same problem using the Lucid Server installer and also when installing on a different box (Dell Intel/Celeron). I also tried running all the updates after install but before any kind of reboot...same thing.
This only seems to be happening using a command line only version of Lucid. Lucid GNOME/XUBUNTU install and work OK on both boxes. I can boot from a CD or USB key, but not sure where to look or what to check.
View 1 Replies
View Related
Jul 8, 2011
Would be possible to have a dual boot with Ubuntu only loading the things necessary for command line use of emacs?
I thought it might be good to be able to take notes for class on a quickly booting command line. (It has the added benefit of being less distracting)
Does it work like that? Could a pared down command-line only install be sufficiently faster on boot-up? Might another flavour of Linux be more suited to the task?
View 4 Replies
View Related
Sep 1, 2011
I don't recall my Ubuntu password.**
I found instructions regarding recovery.
They involve pressing Ctrl-Alt-F1 while booting the Ubuntu live CD.
If I allow the live CD to boot, I arrive at a Ubuntu GUI.
However, if I press Ctrl-Alt-F1, the monitor (HDMI TV) goes blank and indicates "no signal
correcting the password from a GUI (can I just go to a command prompt from there somehow, and work from that command prompt?) or getting my video to display when I press Ctrl-Alt-F1?
** (I remember trying to set up the system with NO password).
It's absurd to require one.
Especially so if a person with a live CD can simply change it (I guess at least the change would be detected).
View 1 Replies
View Related
Jul 28, 2014
What is the simplest way to boot to command line rather than gdm ?
I've seen post to change
# The default runlevel.
id:2:initdefault:
to
id:3:initdefault:
and
update-rc.d -f gdm remove
update-rc.d -f kdm remove
update-rc.d -f xdm remove
View 7 Replies
View Related
Aug 20, 2010
I am following an instruction on the Internet to set up a timer=1. "You can force use of the timer interrupt by using the timer=1 module arameter (or oprofile.timer=1 on the boot command line" When I type "modprobe oprofile timer=1" at the command line, I got a warning message saying that "Deprecated config file /etc/modprobe.conf" So i want to try other way by setting it at the boot command line.
View 2 Replies
View Related
Sep 29, 2010
I recently updated, and now when I boot it only goes as far as grub command line. There is no grub menu. The computer is a Dell Inspiron 8600 laptop with only Ubuntu installed -- no dual boot, no weird partition schemes. Originally installed Ubuntu 09.04 on this computer, upgraded a couple times and it currently has (had) 10.04.1 LTS running. The update should have upgraded from kernel 2.6.32-23 to 2.6.32-24. I can boot with a live CD and mount the hard drive. The drive seems fine, so it appears to be simply a grub config issue. I have to boot with live cd to get online to check for potential solutions. So I'm taking some notes on how to use grub.
View 4 Replies
View Related
May 27, 2011
When I turned on my laptop today, instead of showing me the boot menu..it show grub command line..ie
Code:
grub>_
I have no knowledge about grub command line..still i tried to boot into my fc14 ..using these steps given here
[Code]...
Thus boot configuration files have been lost..i think I have to install Fedora again
View 2 Replies
View Related