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

Fedora :: Adding LibX11 Permanently To Linker Command Line

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

General :: Shell Scripting: Parse Parameters From Command Line?

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

Ubuntu Multimedia :: RipperX Command Line Parameters Selecting Which Drive?

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

Programming :: Write A Script StoredList That Takes Two Command Line Parameters?

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

Fedora :: Killing Desktop Windows From The Command Line?

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

Programming :: Pass Ip Address, Port Address And Some Parameters From Command Line?

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

Ubuntu :: Unity 0.2.46 - Adding Launchers To Panel

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

General :: Adding A Live USB To A Repository Via Command Line [Kubuntu 10.04]?

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

Software :: Adding Programs To Gnome Tool Bar From Command Line?

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

Programming :: Open Two Text Files - Read Them Line By Line And Update Parameters Of The 3rd File ?

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

General :: Get N-variable Parameters In Bash

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

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

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

Ubuntu :: New Launchers In Unity - Nautilus Icon - Group The Launchers?

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

Programming :: Insert Line Using Sed Or Awk At Line Using Line Number As Variable

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

Ubuntu :: Get Desktop Launchers Back?

Jan 12, 2010

For My Computer, Home and Trash.

And can I get them back?

View 4 Replies View Related

Fedora :: Replace A Certain Line Of A File With A Variable?

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

Ubuntu :: Desktop - No Launchers Present, Right Click Does Nothing?

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

Ubuntu :: Wineprefix Command Won't Run From Launchers - Just Terminal

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

Ubuntu :: Command Line Prompt Available On The Desktop?

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

Ubuntu :: Command Line Gone After Removing Desktop?

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

CentOS 5 :: How To Install Command Line Instead Of Desktop

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

Software :: Grep Query To List 1 Line (which Is Fixed) And The Next Line After It (variable Text)

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

Ubuntu :: Synaptic - Apt - Not Placing Correct Command On Launchers ?

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

Ubuntu :: Start The Desktop Environment From The Command Line?

Mar 14, 2010

how to start the desktop enviorment from the command line.

View 2 Replies View Related

Ubuntu :: Change Desktop Icon Via Command Line?

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

Ubuntu :: Turn On Remote Desktop Via Command Line?

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

Ubuntu :: Change Desktop Environment From Command Line?

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

General :: Remote Desktop With Vinagre On Getting Command Line?

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

Debian Multimedia :: Where Are Desktop Files For Panel Launchers Located

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







Copyrights 2005-15 www.BigResource.com, All rights reserved