General :: Start GUI Programs From The Command Line?
Aug 18, 2010
In Windows, if I have a console window open, type winmine, and press enter, Minesweeper will appear, completely separate from the cmd program. The Minesweeper instance is not tied to the command prompt in any way that I know of, with the exception of Minesweeper's parent being set to that instance of the command prompt. It's different in Linux, however.
In Linux, if I have a console window open, type emacs and press enter, Emacs will open, but it seems tied to the command line. Specifically, it appears that I can't use the command line anymore until that instance of Emacs is closed. Is there a way to replicate the Windows behavior in Linux?
View 11 Replies
ADVERTISEMENT
Aug 23, 2010
I just started using ubuntu after being a long time windows user.
what i find really interesting is that in command line, i can type many programs and commands, eg firefox can be run via command line from anywhere. In windows cmd prompt, im used to having to run the .exe file by first navigating to it, then being able to run the .exe.
what i wanna know is how does linux know all the programs at the command line?
View 5 Replies
View Related
Jun 16, 2010
i'm using ubuntu with the GUIi have a .pps (power point presentation) on the desktop. I installed the powerpoint viewer and made it the default program for opening the file.when i double click on the file everything works.my problem is i need this on a schedule so i downloaded scheduled task.in scheduled task they ask me the command line i want to execute and that's where it doesn't work. I checked the "allow executing file as program" box on the file but i get the error cannot execute binary file.
View 1 Replies
View Related
Jan 22, 2010
I have a nearly 10 years old iMac at home and installed Lenny on (somehow, I had to thrash Mac OS 9.2 :-P). Everything was successful until now, but on entering "startkde", the screen fills withkpersonalizer: cannot connect to X serverlines. Upon looking at other threads here I tried mdetect, installing X11... but to no avail
View 14 Replies
View Related
Sep 25, 2010
How do I find out which command line programs are installed and what do they do?
View 9 Replies
View Related
Mar 10, 2011
I wish to append a text at the start of every line and save it to another file without changing the original file.know the command
For example:
Orignal.txt
a.txt
[code]...
View 5 Replies
View Related
Mar 8, 2011
I'm trying to run a home radio server here, and when I run one of the programs.. It continues to run and I cant go back to type any other commands to finish the process. Is there a special key combination that'll get me back to to the command line without killing or stopping the process?
View 2 Replies
View Related
Nov 10, 2010
On our server we have a certain directory, say /storage, that contains many large files. They are all compressed (gzip). Many of our users are not computer-savvy, and so when one of these files is needed, they will copy it to their own directory. Consequently, we have multiple terabytes of duplicate data. I'd like to enforce an alias whereby if someone tries to use cp on a file from /storage, they will instead create a symbolic link. My idea was something like:
alias cp='cp.storage'
File cp.storage:#!/bin/sh
truePath=$(readlink -f "$1")
[code]....
The conditional checks whether the file being copied begins with "/storage". The problem with this is that if someone wanted to use cp with any options on a file not in /storage, those options would be obliterated. Can someone guide me as to a good way to accomplish this? Either a way to get the options from cp into cp.storage, or another approach not using alias this way. Everyone will be using bash.
View 2 Replies
View Related
Oct 23, 2009
I'm trying to create a liveCD/USB for use of myself and my family. The idea is to set up the LiveCD to look like their used to seeing it. I know I can just copy the homedirectory but I wanted to do it via script so new user accounts could also have the common bells and whistles we use.So really I have two questions.1. Is it possible to add programs to the Gnome Tool Bar from command line? aka via a script2. Is it possible to modify the default panel template so new users get my changes?
View 1 Replies
View Related
May 4, 2011
I may need to handle a Red Hat server soon and thought that has the same command line.Where do I start if I wanted to learn the command line? Especially, how do you connect to a Redhat / Fedora Server using console on windows and do C programming
View 6 Replies
View Related
Feb 5, 2010
if is posible to start a VM from the command line?
[code]...
View 3 Replies
View Related
Apr 23, 2010
Ubuntu 9.10 (Karmic Koala) 64 bitlaptop Asus f5n vidio: GeForce 7000MI try to remove piton2.6, but system freeze, after these ubuntu show massage (after reboot)"Ubuntu is running in low-grahics mode our screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself"I press "ok"and give me next list of options"run ubuntu in low-graphics mode for just one session" -- system freeze "regonfigure graphics" -- no resultI try to reinstall graphic driver "nvidia-glx-185" -- no result
View 3 Replies
View Related
Jan 26, 2015
I'm trying to automate two command lines, a synclient and a syndaemon. They both work well if I type them manually in a terminal, but if I do a littre script to do this, tap to click and scrolling don't work anymore.
This is the script I wrote:
Code: Select all#!/bin/bash
synclient VertEdgeScroll=1
syndaemon -d -t -K
exit 0
So I made a chmod +x on the file, placed it in ~/bin then change PATH to include the directory. Then I added this file in "Startup applications".
The scripts run ok, mais it has a different effect than if I run the commands manually.
View 10 Replies
View Related
Mar 14, 2010
how to start the desktop enviorment from the command line.
View 2 Replies
View Related
Sep 19, 2010
Is it possible to instruct Ubuntu to start up (GUI) Graphical User Interface mode from (CLI) Command Line Interface mode? In the old days, you can type "win" in DOS to get into Windows - something along that line. Is it possible for Ubuntu in this case?
Yes, you can reboot to switch between the modes, but shouldn't there be a command for this?
View 2 Replies
View Related
May 20, 2010
I've been searching for hours now on how to start compiz from command line and configure the plugins. I just want to use the compiz core package in Slackware (no add-ons for now). I've figured out starting compiz
Code:
compiz --replace
and the windows decorator
Code:
gtk-window-decorator --replace
kde-window-decorator --replace
for gtk based or kde respectively. I know how to start the plugins (by putting their names in the compiz command), but not what all of their command line names are.
What I'm looking for is all the console names of the base plugins (and eventually the others too), the order they need to be started in (if any), how to automatically start compiz when X starts, and how to change plugin settings (all without ccsm). How to do the above stuff without the use of a graphical tool.
View 14 Replies
View Related
Jun 28, 2010
I'm wanting to be able to run the Open Suse start menu from the command line.king remotely, I have found that I have faster response time by only running specific X components instead of an entire desktop (particularly useful under Windows 7 Cygwin). Specifically, I'd like to invoke the start menu from a ssh command line.On Linux Mint,line command is:mintmenuWhat is the equivalent command to bring up the Slab Start Menu on Open Suse?
View 8 Replies
View Related
Jul 10, 2011
How to stop/start KDE from the command line (Terminal) on opensuse 11.4?
View 9 Replies
View Related
Feb 14, 2010
I just booted into Linux and the Update Manager prompted me to restart. After the restart the GRUB interface I expect to see is no longer there and now it is just a command line that says press tab for more options.I have not got a clue with shell language as I have had no time to learn it as of yet. Do I need to uninstall and reinstall Linux or is there a command that can be typed that boots up the operating system.Even better is there something I can do that can return me to seeing the interface like I was used to.
View 3 Replies
View Related
Apr 2, 2011
Last night my system rebooted and dropped screen resolution to 800*600. I was unable to change that from no where. I tried to install nvidia driver and now no gui, only command line. Starting xorg by using 'startx' fails. How I can get back to normal with normal resolution?At the moment I am logged in via live cd. Let me know if any log files needed (if I can locate those).
View 9 Replies
View Related
Oct 12, 2010
I have a GUI for Samba already as it most likely installed, the problem is I don't have a shared folder in admin menu. I have told samba what folder to share and what user to have access to it. As well I have looked at the config file to make sure what was in the gui printed into the config file. However I cannot start, stop, restart samba via command line. I will try config package and hopefully that drops down everything,
[code]...
sudo service smbd restart unrecognized service, nmbd same thing. Now it is installed, but has no script file or the script file is not in the init.d folder like it should be still trying to figure I have come to the conclusion that the daemons are not installed and am trying to figure out what those script files look like or a way to import them off a ftp, however no luck with google so far. But the scripts files don't exist on my box. how do you install samba daemons when it says samba is already installed.
View 7 Replies
View Related
May 28, 2009
I am trying to attach my server to 2 diferent networks, with fixed ip addresses,
eth0 = 192.168.0.2 255.255.255.0 with gateway 192.168.0.1. This is currently working, and I can ssh o the machine on this address
eth1 = 192.168.150.5 255.255.255.0 with gateway 192.168.150.1
When I try and start eth1 with ifconfig eth1 up, I get the error message "eth1: unknown interface: no such device"
I have configured eth1 using system-config-network-tui and /etc/sysconfig/networking/devices/ifcfg-eth1 looks correct
GATEWAY=192.168.150.1
TYPE=Ethernet
DEVICE=eth1
BOOTPROTO=none
[Code].....
View 2 Replies
View Related
Jun 4, 2011
I have a problem with YaST Partitioner. When I launch it, a window opens, a dialog (to confirm that I know what I am doing) pop-ups, I choose "Yes", the application starts to initialize, and after 0.5-1s the window is closed without any error message. Does anybody know how to at least find out what is wrong? .. or how to launch it from command line to get some output?
View 8 Replies
View Related
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 24, 2011
I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
View 5 Replies
View Related
Aug 22, 2011
How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt
View 1 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 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Apr 30, 2011
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
View 1 Replies
View Related
Apr 24, 2010
I've been working with Macs nowadays and noticed that programs load like "instantly" once it has been open and closed.
I don't know if MAC is pre-fetching them to somewhere but it is good to start Firefox right after you closed it.
what MAC actually does and how this could be implemented ? I have 6gb of ram on my laptop. Running Kubuntu 10.04 RC1.
View 3 Replies
View Related