Fedora :: Adding Variable Command Line Parameters To Desktop Launchers?
Mar 15, 2010
I have added an application launcher to my desktop and it works fine. However, I want to be able to feed parameters to the launcher before I launch the application. So, for instance, if the command is normally "/usr/bin/foo something" I want to be able to add the "something" parameter dynamically after clicking the launcher but before the application launches. Is this possible in Fedora?
View 2 Replies
ADVERTISEMENT
Mar 15, 2011
I've been compiling a lot of games recently and most of them requires me to add libX11 to the linker command line. I can't think of nothing but to take a look at the Makefile and add -lX11. It works, but now, I'm compiling from a git repo, and I know the change will removed once I update the my working copy.To make it short, is it possible to add libX11 permanently to the linker command line?
View 7 Replies
View Related
Mar 12, 2010
myscript [-a a-arg] [-c c-arg] [-b] [-e] somedirectory
Given that I want my shell script be invoked at the command line using the above parameters - where [these brackets] denote that they are optional - what is the best method to parse them?
View 1 Replies
View Related
May 28, 2011
with the current Musicbrainz fiasco with Rythmbox and Sound Juicer I am now using RipperX. I like RipperX, but I would like to know if there are any command line parameters or some way of selecting the CD/DVD drive. It appears that RipperX can multi-task which would save me some time.
View 1 Replies
View Related
Nov 28, 2010
This is the following exercise:Adapt this to write a script storedList that takes two command line parameters. The first parameter is the name of a directory, the second parameter is the name of a directory should be store i.e# ./storeList.sh /etc etcFilesListHow can you refer to the variables that represent the words passed in on the command line?
My Script's file:
#!/bin/bash
if test $# == 2
[code]...
View 4 Replies
View Related
May 22, 2011
What's the best procedure to kill a desktop window from the command line? I'm having the problem on a FC 12-64 machine that using the File Browser window locks up most of the desktop. This might be software problem or it could be due to a defective mouse. I haven't had time to see if other windows cause the same problem. To do that, I'd like to kill the File Browser window.
The only windows that work are terminal windows. So I tried using the command line from a terminal to kill the file browser. When I do a kill -9 on the process involving nautilus, the process dies, the File browser window flickers off and back on, and then a new process involving nautilus appears in the list displayed by ps -ef. Is there a way to kill the File Browser window and make it stay dead?
View 4 Replies
View Related
Apr 1, 2011
I want to pass ip address,port address and some parameters from command line using python script.The ip address and port address for establishing socket connection and remaining parameters to execute different connection.
View 1 Replies
View Related
Apr 21, 2011
I'm currently using Unity 0.2.46 on Ubuntu 10.10. Installed from a ppa. The only way I have found to add an application launcher to the panel is to actually launch the app, then right click it's icon on the panel and click "Keep in Launcher". This is great but I've noticed at least one of my applications (Mumble) doesn't give me that option. Is there an alternative method? (see screenshot for example)
View 1 Replies
View Related
Sep 3, 2010
Couple of days I go I setup VLC using Kubuntu's graphic software manager, and installed the 3 plug-ins, one of which was related to pulse. After doing this sound stopped working in flash videos. I had read, not sure where, that Kubuntu didn't use pulse (which slipped my mind when setting up VLC).
So I make the mistake of removing everything which had pulse in it's name (again, via the graphic software manager). A message popped-up saying that some packages needed to be removed/edited (a LONG list, a big clue that I was doing something stupid I guess). I let it run it's course and after that it won't boot properly.
If I boot it normally it hangs at the Kubuntu screen with the five dots filling endlessly. If I press F1 it's stuck at "checking battery status."
Recovery mode boots, but the recovery option does nothing.
So I was wondering if I could boot into recovery mode and go into the terminal and add a live USB as a repository for apt, and try to salvage the install?
Or should I admit defeat and reinstall?
View 1 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
Oct 18, 2010
I have two txt files containing x and y coordinates: xcoord.txt & ycoord.txt. I need to open them; read them line by line to get each coordinate; then each time I need to update Xs and Ys parameters inside another file called "dc.in" with the grabbed values.
Finally each time I need to run two exe files ( dc_2002 and st_vac) and produce corresponding output for each Xs and Ys ( dc.in is an input file for this exe files)
I have written the following code but it does not work:
View 14 Replies
View Related
Mar 21, 2011
I've a script that it's invoked with n-variable parameters. Here's an examples:
Code:
./myprogram.sh inputdir FIELD1 FIELD2 ... FIELDN outputfile In the script I would like to get the FIELD names that were passed.
View 4 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
May 2, 2011
I just installed Ubuntu 11.04 and this is my first experience with Unity. I have managed to create launchers in .local/share/applications and drag them to the launcher to add desired shortcuts. Here are two questions I have:
1) I am adding many shortcuts to various directories I frequently use; the shortcut's have commands like nautilus /home/user/some/dir. Despite the fact that I change their icons, when I drag them to the launcher they all use the Nautilus icon. Is there a way to fix this?
2) Is there a way to group the launchers? For example, having a group for office applications, and a group for directory launchers?
View 5 Replies
View Related
Jul 25, 2011
I want to insert a line at a particular line number using sed or awk. where line number is not fixed and is in form of variable.
I want to use variable in sed or awk command.I tried something like below, but no luck.
View 7 Replies
View Related
Jan 12, 2010
For My Computer, Home and Trash.
And can I get them back?
View 4 Replies
View Related
Nov 26, 2009
I want to replace a certain line of a file, my bash script looks like:
#!/bin/sh
sentence="if [ -e /home/inf/Download/$playlist ]"
sed '4c
$sentence' oldfile > newfile
mv -f newfile oldfile
But the variable $sentence can not be identified in ' ' . And also you can see I just want to update the old file. But the sed command can not save the file for me ,so I need to write them to a new file and over write the new file .
View 14 Replies
View Related
May 29, 2010
OS: LucidSymptoms: Launchers are in Desktop folder, but they are not on the desktop. Also, when I "right click" on desktop, nothing happens (no pop up menus). Attempts to add new launchers to desktop (via "add launcher to desktop" or "click-n-drag") are notsuccessful.Symptoms the same on both monitors.Possible Cause: I just completed a problematic install of 2nd monitor (NVidia X Server). Currently running in TwinView. After install was completed I noticed launchers were missing.Info: Desktop folder is owned (RW) & group (R) to my user, execute is enabled, and Others is R, as are all files in folder.
View 1 Replies
View Related
Jul 25, 2010
I've been happily playing League of Legends, but recently, I've only been able to open it from the terminal. I can run it without WINEPREFIX, like this: Code: wine-1.2-rc7 "/home/peter/.wine-1.2-rc7/drive_c/Program Files/League of Legends/lol.launcher.exe"
However, when I try to add the WINEPREFIX nothing opens. But this command works great in the terminal: Code: WINEPREFIX=$HOME/.wine-1.2-rc7 wine-1.2-rc7 "C:/Program Files/League of Legends/lol.launcher.exe" When I even tried doing "run in terminal" option for taskbar launchers nothing pops up except an empty terminal and an error: "There was an error creating the child process for this terminal."
Not really sure that this is a wine problem or a problem associated with WINEPREFIX, but it was working fine a few days ago, and I've completely reinstalled the .wine-1.2-rc7 directory to no avail.
View 1 Replies
View Related
Mar 27, 2010
is it possible to have a command line prompt available on the desktop, operating sort of like conky?
View 5 Replies
View Related
May 25, 2010
i'm running a 9.1 server. I had the ubuntu-desktop installed for training purposes and I decided to remove it.I followed these steps:URL...Now when I restart the server, I do not have access to my command line. Or more correctly, I dont have a prompt to enter anything into. the last thing it shows on startup is:restarting OpenBSD Secure Shell server sshd.I can login remotely with no issue. Apache is working fine. MYSQL is working fine, Memcached is working fine. But no clue how to manage the server from the server itself.
View 3 Replies
View Related
Jul 27, 2010
Just got the new Dual Quad Server and after the installation was completed, It was the destkop edition... Can I get a reference on how to install the "Command Line Only" version of CentOS, OR Can I run the desktop edition and still be able to host VPS's and Web Servers, etc...
View 3 Replies
View Related
Jan 20, 2011
How can I list the following with grep. I want to extract 2 lines fron a text file The fixed known part if it exists will static text and the text line after it will change.
A sample file
.
.
textline1
[code]....
If the fixed part does Not exist how can I return error code 1
View 3 Replies
View Related
May 21, 2011
After a recent update on my Xubuntu 11.04 any new applications I install don't sym-link correctly.
For example if I install a game, we'll call it "game", normally you could just type
Code:
In terminal which is the same command assigned to the launchers in menu. Now that fails and the only way to launch is with full path e.g.
Code:
I'm not sure what changed because applications were installing and launching correctly until now.
View 1 Replies
View Related
Mar 14, 2010
how to start the desktop enviorment from the command line.
View 2 Replies
View Related
May 28, 2010
What is the command to change a desktop icon's image to a custom image? Also, is it the same for a link and launchers?
View 4 Replies
View Related
Oct 4, 2010
I have to access my laptop and transfer files but the screen is broken. The only protocol that I know for certain that's on that machine is rdp. Since the screen is broken I can't test anything else.
View 9 Replies
View Related
Jun 13, 2011
I installed the latest version off the download site yesterday, when first booting an error message came up that my hardware does not support the most recent desktop environment so I should switch to classic. After a bit of googling I found out how to do this.
The problem is that my hardware really doesn't support the current desktop environmet, I can't get the windows to appear, I just get black rectangles in the middle of the screen instead, so the GUI is inaccessable.
I am looking for instructions on changing the desktop environment from a command line (which I can boot to).
View 3 Replies
View Related
Sep 23, 2010
I'm playing around with trying to access a Fedora 13 system from a Ubuntu 10.04 system. Both are relatively new vanilla installations.I went into System - Preferences - Remote Desktop on the Fedora system and enabled Remote Desktop. When I connect with the Ubuntu system (ssh), I can login, but all I see is an ssh terminal session. I was expecting the desktop environment (GNOME right?) to come up.
View 4 Replies
View Related
Jul 4, 2015
I have made some custom launchers on my Xfce panel and was wondering where their .desktop file was located. I checked /usr/share/applications but they were not there.
View 6 Replies
View Related