Ubuntu :: Adding Multiple Commands To Launcher (cd & Mono)
Feb 7, 2011
so I am trying to make a launcher under application/Games menu for OpenBVE. In this launcher I need it to run 2 commands in the terminal:
Code:
cd /home/username/OpenBVE
and
Code:
mono OpenBve.exe
[Code]....
View 4 Replies
ADVERTISEMENT
Jan 27, 2011
I created a application launcher (type:terminal) to replace the index.php on my apache server (/var/www/) with the index I keep updated on my desktop.
This is the exact script I'm using on the launcher:
My idea was the launcher would delete the current file at /var/www/, and then copy the file on /home/andre/Desktop.
But its not behaving properly, it is deleting both the file in my /var/www/ AND my desktop.
View 2 Replies
View Related
Oct 15, 2010
I have just completed a clean install of Ubuntu 10.10 on my Acer Aspire Netbook. The first program I installed was WINE and then I installed "Spotify for Windows". All works well, but I need to start it by opening a terminal and typing - Wine "C:Program FilesSpotifySpotify.exe" which is a little cumbersome.
I want to add a shortcut to the launcher but I cannot find a way to do this. I have found a "Main Menu" option in Applications, but the options and items in there don't seem to correspond to the launcher in any way.
Is there a way of adding something to the launcher or to get the main menu to display so I can customize it from the Main Menu utility.
View 9 Replies
View Related
Apr 12, 2010
I was wondering if there was any way that I could add a launcher for an application that has to be launched from a specific directory. Not particularly a Desktop launcher, but perhaps under the Applications/Games tab in Gnome at the top. I want to be able to drag that launcher down to my AWN dock.
View 10 Replies
View Related
Sep 23, 2010
I'm trying to create a launcher that's doing two separate commands. Here's currently what I have.
Code:
rm ~/Games/Nintendo DS/NO$Zoomer.ini; wine ~/Games/Nintendo DS/NO$Zoomer.exe
Now, the reason I have to delete the .ini file, is for some reason the file gets corrupted every time (it's a well known problem, from what I've read.) and I can't start up the program until it's removed. Now, it works fine in Terminal, but when I run it through my Launcher icon, it does nothing.
View 4 Replies
View Related
Apr 30, 2011
After launching an application, if I choose to "Keep in Launcher", it appears to work fine; however, on the next boot, its gone. Also, dragging an icon appears to work, but it too disappears on the launcher after the next boot/login.
View 2 Replies
View Related
Jun 14, 2011
I'm finally getting around to configuring my Xfce desktop environment and I'm having a lot of trouble having applications remember their last position. I did some Googling and found this is either not a supported feature or it depends on the application if they want to support it or not.
I'm trying to make my default terminal start in the center of the screen.
I found that you can add the command line parameter
Code:
For example and it should open at a 70x20 size in the 20+30 position. I added that to my panel launcher's command and ended up with
Code:
However the terminal isn't opening at all.
After further reading, I discovered the default launchers use your preferred applications so I just used replaced the launch command with the following and it worked perfectly:
Code:
View 5 Replies
View Related
Aug 24, 2010
So, I have compiled a C# program on Linux using MonoDevelop. When I try to execute the resulting binary, my system tries and fails to run it as a windows executable, with wine. Wine gives me the following message:
$ ~/bin/MyMonoApp
wine: Install the Windows version of Mono to run .NET executables
~/bin/MyMonoApp: command not found
I can only convince it to run by explicitly calling mono:
$ mono ~/bin/MyMonoApp
So, how can I make this the default, so I don't have to explicitly call mono every time?
View 1 Replies
View Related
Feb 28, 2010
I would like to know if anyone has run more than one version of mono concurrently. I want to host a Battlefield 2 server with bf2ccd that requires mono 1.1.12. CentOS 5.3 repos provide mono 1.2.4 which is neither new enough nor old enough to support bf2ccd. I have considered compiling a newer version or an older version to accommodate this but I think that the only fully supported version is the 1.1.12 and I want to have the newer mono for other projects. I have used Slackware exclusively up to now and am not familiar with CentOS yet so I would like to avoid compiling if I can. The server is an unmanaged dedicated server so I'm not certain of all of the details. AFAIK it is a standard CentOS 5.3 install.
View 4 Replies
View Related
Sep 7, 2011
I just installed tomcat server in linux and for shutdown and startup, i have to run the script inside $tomcat/bin folder (startup.sh and shutdown.sh) manually.
I want to add tomcat as service and i want to execute as service commands like /sbin/service tomcat start/stop.
View 7 Replies
View Related
Jun 16, 2011
I have recently dual booted an Old Toshiba laptop with Ubuntu 11.04 (Natty Narwhal) It was recommended to me by a friend after XP was becoming unstable. To the Problem : I have downloaded Chromium as the web browser as I am not a fan of Firefox, but every time I launch Chromium... It launches into a random work space and not the one I am working in.. So I cannot open multiple Chromium windows.. So to find where it has launched it, I have to click work space switcher and find it.. If I click Maximise, instead of maximizing it to the work space limits... it makes it go over 2 seperate work spaces..
View 1 Replies
View Related
Jan 21, 2010
I am in the process of coverting some video files to motion jpeg (Wii) files with ffmpeg (great program by the way). I have been successful and so the majority of my work is over. My question is simple (I think) but complex to me so... here it goes. Is there a way on one command line to "batch" convert 8 or 9 files together instead of one by one. I just don't know what to put on the command line. I took one UNIX class a long time ago and the terms pipe and such come to mind... but I forget. Any takers? That was I can write what I want the computer to do in the morning and just come back after work and voila...
View 6 Replies
View Related
Sep 1, 2011
With xterm, I can do the following, and the scripts are executed sequentially in a single xterm: xterm -e 'script1.sh;script2.sh' But with gnome-terminal, when I do: gnome-terminal -e script1.sh;script2.sh It runs them in parallel in 2 different terminals. I've tried a few combinations of ", and ', around the scrips, but no difference.
View 2 Replies
View Related
Jul 26, 2010
I like background commands in scripts:
Code: sudo apt-get update& I also like multiple commands in scripts:
Code: sudo apt-get update && sudo apt-get upgrade
How would I combine these? Could I do it with functions?
View 9 Replies
View Related
Aug 28, 2010
Searched the forums for solution & am not seeing oneWrote a simple script to find Trash folders on Lucid and delete them
Code:
#!/bin/bash
sudo find / -regex ".*Trash[-]?[0-9]+?" | while read -e line
[code]....
View 1 Replies
View Related
Sep 21, 2010
I'm trying to write a bash script that will simultaneously ping a host and execute a traceroute at the same time. I would like the results to output to a text file.
View 6 Replies
View Related
Jun 1, 2010
I want to add users from the command line, I know I can use the adduser for individual users, but if you have 50 or more there must be another way. I'd rather not use the GUI.
View 2 Replies
View Related
Jan 11, 2011
I'd like to convert some of my backed up ripped DVDs to an .avi with separate subtitle file. I have been looking at MEncoder but I can't get my head around the commands or how multiple .VOB files become a singular .avi file.
View 2 Replies
View Related
Jul 15, 2010
I'm setting up a server on Ubuntu 10.04 for development. It all seems to work nicely, I just have one thing that's bugging me. I have a project in /var/www/portfolio, which is as you may guess my portfolio. Instead of the link http://localhost/portfolio I'd like to use http://portfolio.nl. So I set up a file 'portfolio.nl' under sites-available and a symlink on sites-enabled containing this: To get this to work on my local machine I set up this in /etc/hosts:
[Code]...
View 2 Replies
View Related
Apr 23, 2011
One of the things I wanna do is create a partition which spans across multiple HDD's. is this possible? would I need to cluster the HDD's first then add the cluster to the partition?
View 3 Replies
View Related
Jul 28, 2011
I have a desktop which has both windows and ubuntu. I want to add some users in ubuntu, say Me (first user),B and C. i) Certain folders should remain inaccessible from windows partition.ii)Me should be able access both B and C home folder, but not otherwise.iii) user B can access user C, but user C cannot access user B.
View 5 Replies
View Related
Oct 26, 2010
Idealy I want to create a batch file which would read the list and create a user and a password.
I know i need to create the file using the vi command and using the useradd facility to add the users however where i go from there i am lost.
View 5 Replies
View Related
Jan 22, 2011
I'm trying to run multiple commands on things I have found, how can I achieve this? find . -exec cmd1; cmd2 does not seem to work; it instead runs cmd2 after cmd1 has been executed on every file.
View 2 Replies
View Related
Jul 12, 2010
I am using putty to connect to some servers. Is there a program that let you connect to say three servers and when you write your commands to server1, server2 & 3 also gets the command? So I don't have to log in to all three servers to do the exact same thing.
View 2 Replies
View Related
May 21, 2011
I am trying to get 2 things to operate on the same line, for example echo Current Version: [cat /file/ver.txt] is there a way to do this?
View 1 Replies
View Related
Dec 18, 2009
In a script I am writing I am trying to add logic so that the script can figure out if a remote server uses rpm or dpkg and then run the appropriate command to print a list of installed packages. This works locally, but I need to get it to work through SSH and I have no idea how to do that. The relevant portion of the script is below. It would also be nice to find a way to not need the full path to the executables but I'm not real concerned about that.So anyone know how to make this code work via SSH?
Code:
if [ -x /usr/bin/dpkg ]; then
dpkg --get-selections
[code]...
View 4 Replies
View Related
Jan 11, 2010
I am curious of how to make a GUI interface that uses multiple programs and commands. I have found wxwidgets as the most likely candidate for making my own interface.Is this the best programming language for a beginner?
View 3 Replies
View Related
Oct 23, 2009
hHow would I add my SSH server to run levels 3,4,5? I have been trying to search google for this answer to my problem for hours and cannot have any luck.
View 2 Replies
View Related
Jun 3, 2011
I have several commands in a bash script, and in the middle of the script there are several commands whose output and error streams I want to redirect to a file. I think I could simply add '>> myfile.txt' to the end of every command, but is there a way to set it before that block of commands, then reset the streams to their original state at the end of that block?
View 1 Replies
View Related
Sep 21, 2010
Okay so I have an alias that looks like this:
Code:
ALIAS sorigin {
MSG sorigin Test1
[code]...
View 1 Replies
View Related