0
votes
1answer
45 views

What is the meaning of this message in bash commandline?

I did gnome-open document.pdf on my bash shell and I getting this following message :- " ** (evince:11832): WARNING **: Error setting file metadata: No such file or directory" What is ...
0
votes
1answer
16 views

Open gnome terminals programmatically with a script that requires a doublequote

I am trying to use a wrapper.sh script spawn separate terminals for a script that takes params in doublequotes, like so: #!/bin/bash gnome-terminal -e "./script.py -d "somevalueforscriptpy" $1" ...
0
votes
0answers
26 views

Desktop Gone in Centos 6

I had a third party library created a ~ folder (a bug there), and I tried to delete it by "rm -rf ~". And apparently, it is a mistake -- my session got rebooted and then when I went back in, all the ...
0
votes
1answer
28 views

.bashrc used in gnome not just terminal

I've recently started using the Anaconda Python distribution for software development and I want it to be the default Python distribution when I run something in the terminal. In order to do this, ...
1
vote
0answers
116 views

xdotool : close all windows except the one that is active (infront)

I would like to execute a command that will close all windows except the one that is currently active. i would likely to place this command in the gnome-panel which means when i click on the button, ...
1
vote
0answers
62 views

Automatically closing idle windows in Gnome

Can open windows automatically close themselves if they have not been used for X seconds in Gnome? For example, right now I have some Firefox windows and some other file browser windows etc open ...
3
votes
2answers
3k views

Permanently disable screensaver Fedora 19

I am creating a bash script that will 'setup' a client machine running Fedora 19 (GNOME). I need to be able to permanently disable the screensaver with no user input. I found some (granted, old) ...
2
votes
1answer
610 views

Ubuntu RFID Screensaver lock-unlock

So, I have this el-cheapo RFID scanner and some RFID tags. I thought to myself, You know what would be neat? Enabling and disabling the lock screen with this thing. So the package arrived and I tore ...
4
votes
3answers
2k views

How to find the default file manager?

as a Linux user, I see that some applications can request a path to be opened and this causes a file manager to be launched. I'd like to do this programmatically, but how can I know which is the ...
1
vote
0answers
402 views

Is it possible to run an interactive script before shutdown Linux in a GNOME session?

I wrote some utility interactive scripts and want them run before shutdown. For a terminal-login session, I just add some entry in ~/.bash_logout, my login shell is bash BTW, which works. However, I ...
3
votes
1answer
583 views

How do I edit previous lines in a multiple line command in GNOME Terminal?

When entering a command which spans multiple lines in Bash, how do I edit previous lines? I'm a Linux Mint (Lisa) user using GNOME Terminal. For example, let's say I type: $ echo "foo bar > baz ...
5
votes
3answers
4k views

Gnome: Change title of current terminal from bash command line

I know there are options to start a new terminal with a specified title, and that is is possible to change the title from a terminal using the menu: 'Terminal' -> Set Title. However, I want to change ...
8
votes
2answers
963 views

indistinguishable active tab in gnome terminal

I am running Gnome 2.30.2 and Gnome Terminal 3.0.1 on my Debian Sid and recently the active tab became almost indistinguishable from other tabs. It is actually the same colour. Changing the themes ...
12
votes
5answers
33k views

How to automatically execute a shell script when logging into Ubuntu

How do I get a script to execute automatically when I log in? Not when the machine starts up, and not for all users, but only when I (or any specific user with the script) login via the GNOME UI. ...
3
votes
3answers
10k views

Ubuntu/ Gnome : Open an application in a specific workspace

How do tell an application to open in a specific workspace? More info: I like to have my C++ IDE in workspace 2, my Java IDE in workspace 3, and my email, browser and miscellaneous in workspace ...
3
votes
2answers
532 views

gnome-terminal: how to preserve symlinks of working directory when opening new tab?

If I'm using gnome-terminal in a working directory whose path includes symlinks and I open a new tab, the symlinks will be expanded to their destinations in the working directory of the new tab. Is ...
0
votes
2answers
125 views

How can I better manage my console windows?

I'm using Gnome/Debian and I'm constantly always opening new console windows ( I have my Windows key mapped to invoke gnome-terminal ). It's a bit frustrating because after a few hours of work I'll ...
15
votes
2answers
5k views

Bash command to focus a specific window

Is there a way, in bash command line, to give focus to a specific window of a running process. Assume I know the process' name, number, and anything else I need. For instance, if I have a single ...
2
votes
3answers
5k views

How do I create a Launcher in Ubuntu 9.10 that runs a shell script?

Here's my situation: New to Ubuntu (just installed 9.10 Karmic Koala 64 bit) Purpose: to easily run PyCharm without too much typing (ie. cd... ./pycharm.sh) Want to create desktop Launcher instead ...
2
votes
1answer
891 views

Ubuntu Login Screen Reloads

I am trying to login to my Ubuntu desktop after updating a bunch of packages and rebooting. I know I am authenticating successfully but what seems to happen is that after I enter my username and ...
2
votes
2answers
835 views

Shortcut for reset on bash

I seem to be entering reset command on bash way too often. I want to configure it to a keyboard shortcut. Say Ctrl+r or something like that. How to do it. Update: To answer the question, why I ...
6
votes
4answers
16k views

How can I add menu items to the Gnome “Applications” menu from the command line?

I'm using Ubuntu 9.10, and I'd like to automate the addition of some menu items the Ubuntu "Applications" menu. I know that I can use alacarte to make one-off additions, but I'm looking to automate ...