I am trying to use a command to open a partition or disc from the top like open up external drive, and not have to be externaldrive/videos or whatever. The reason being is to use in cairo dock, I have tried to drag n drop like i am able to with regular folders, but no good. I seen the option to run a command, and figured I would try it that way.
I have the partitions and discs i want to access mounted. they are:
External Drive (/dev/sdc1)
Storage (/dev/sdb1)
Windows (/dev/sda2)
I tried to open them in terminal, /media/storage: no such file or directory;
/dev/sdc1: Permission denied;
open /media/storage or /dev/sdc1
Couldn't get a file descriptor referring to the console;
se7en@PC:~$ nautilus /media/storage or nautilus /dev/sdc1 .....
Along with a pop-up saying 'the location is not a folder'.
I have a problem that I can't seem to figure out. I can easily create a .sh file that will execute a command in Terminal, but as soon as it executes the terminal disappears. How do I get it to stay? My idea is to have the keyboard shortcut "ctrl+alt+del" open a .sh file with the contents "ps ax". Then it would be just like having a task manager; the terminal would open with "ps ax" already executed, and all I would have to do is kill the process number.
In Xubuntu 9.04 I could right click in any directory folder and have the option of opening a terminal window "there". So the terminal command line would open preloaded to that directory. I know, I'm lazy, but it sure made life (and command line work) easier. But it's not available in my new install of Ubuntu 10.04. Now, I know that my gui environment has changed from xfce to gnome, but I would have expected MORE features, not less.
I have the following rsync command for making some backups: Code: rsync -r --progress --delete -H --numeric-ids -a --exclude=.gvfs /source /media/Backup If I paste that in my Terminal, it will perform a backup of all the files and show me what's going on in the Terminal window. But how can I make that into a launcher? I have made a launcher on my desktop with that code in its Properties, but double-clicking it starts the rsync process (I can see HDD activity) but a Terminal window won't open.
I have an "error", its not really and error, every time I open the terminal, it shows this: Reading: command not found Building: command not found Reading: command not found *****@****-****:~$
I just switch to fedora from windows recently. And I love the terminal of fedora alot. The problem is when I run some command on the terminal, I need to wait for that command to finish before executing another command. This is very inconvinient, say If I open eclipse using the terminal, this eclipse program will hog to the terminal until I closed it. So if I want to use terminal again I have to open another one.Hence the question is: Is there any way open multi processes(command) using only one terminal?
I'm having Ubuntu Kramic Koala and i want to create a custom application launcher on the panel so when it is clicked it should open a terminal window and run the following command and then show the output for 5 secs and then closes the terminal... how can i do this?
Code: cat /proc/sys/vm/laptop_mode && sleep 5
the above command is what i want to be executed at time of running the custom application launcher. if i paste the command in a terminal, it will show the output for 5 secs and then terminates... that's almost what i want. what i exactly want is that, i want it to work like when i click on the shortcut launcher, it should open a terminal and then exectues that command, show the output for 5 sec, pause, and then exits the teriminal.
Every time I boot up ubuntu I usually open 3 terminal windows and ssh into the same server. I would like to either click a shortcut, or run a single terminal command that will do the equivalent.
I came across the "gnome-terminal" command, but I was unable to get it to trigger an ssh command.
Ideally I would like to have a script that I pass in the number of windows I want to open and the server I would like to ssh into for each window.
When I open a terminal and start the 'top' command to view the running processes, in the summary view I get 4 users. I guess that in addition to my account the root runs in the background but who are the other 2??
When I try and run gedit command through terminal to edit files it won't open them
Quote: (gedit:4113): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.
However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.
I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.
A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash # #TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
I transfered some mysql databases from an 8.04 partition to a 10.04 partition. They wouldn't open because the ownership & group was root:root since I transfered them as root. I looked at the original ownership of the files on 8.04 & found they were all "sane:124 ". I changed everything to mysql:mysql on the 10.04 partition & everything works O.K. now but I have no idea where that owner & group came from.
Two things I don't understand:
1 -Why I had to change ownership from root:root when I was logged in as root in mysql & the databases didn't show up? 2 - Where did the original "sane:124" ownership come from?
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
I am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code: #! /bin/bash # #TODO write this for gnome and xterm USAGE=" ${0##*/} [-x] [-g] code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code: gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
when i double click a .txt file, i dont want gedit to open it, and instead, i would like it to open in terminal with it's output displayed (like cat .txt). how do i do this?
when i click on the .txt, i can get gnome-terminal to run, but i can't get it to open the .txt.
how i can open .bat or .sh files in the terminal application. Of course i tried the "open with" button but for some reason terminal dosnt come up in there. is there a way to get terminal to be an option in there? or just a way to open those file types in terminal.
how I can gain access to folder in Ubuntus 9.10 terminal. when I use a command like ./ Documents or ~/ Documents The terminal only states that "There is a folder named Documents" but never lets me enter. I can create a folder using the mkdir command and I can navigate that folder as long as that terminal session is active. When I close out the terminal and try to reopen it denies acces the same way as mentioined above. Do I need to set some type of access permissions or?
I would like to open a folder using the terminal. In case of confusion, I dont mean to cd into the folder, but a command that opens the GUI of the folder.
I have some adlib music files I want to be able to double click from Nautilus.. the command line program that will play them is adplay.. However, if I just do that, then when I double click, the music plays, but no way to stop it!I tried "gnome-terminal adplay --output=oss" as the custom command but it doesn't seem to work.. I need it to open the terminal with adplay so i can stop the music when im done, since there's no GUI front end for this program..ALSA is the default for this app, but it skips horribly, and OSS was the only output device that works..
After pressing ctrl+shift+F1 I go to the tty1 cmd line terminal.But I am not able to open firefox or chromium browser by typing their name in cmd line terminal.How to open the browser from cmd line.?Also in /media directory I am not able to automatically mount my C: D: E: drives. I need to click Places and then drive name to mount the drives.My C: D: E: are windows drives and need to automatically mount in ubuntu after starting?
I looked all over the internet on how to figure this out and I couldn't find it.
How did I figure it out? I'm running Xubuntu 10.04 and it doesn't seem to let you just drag and drop the shortcut into a panel from the applications menu. You have to add the panel shortcut manually. To do this, right-click a panel and select Add New Items > Launcher. Then right-click the launcher click properties...
Here's where I got stuck. To make a good launcher/shortcut you need to know the command and put in an icon. I couldn't find the command at first so I put in the icon first instead by clicking on the icon icon (not a typo) in the launcher's properties. Select All Icons from the drop-down menu at the top of the icon selection window. Arbitrarily click on any icon and type chromium. Here's where you find your chromium icon and guess what the name of it is? "chromium-browser" This is how I figured out what the heck the command was to open the stupid thing.