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.
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.
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.
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.
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:
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?
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.
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.
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..
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...
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.
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.
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.
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.
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:
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?
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.
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.
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.
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
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?
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.
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?