0
votes
0answers
18 views

disable all hotkeys with dconf-editor

I'm building a deb package that will create a kiosk user account. When you login to this account, the browser automatically starts and navigates to a pre-given website. Also all the hotkeys should be ...
0
votes
2answers
29 views

How do I get my shell script to automatically accept prompts?

I made a simple shell script (that I run as root) to download essential apps that I might need whenever I reinstall ubuntu: It looks like this: apt-get install docky && apt-get install geany ...
0
votes
1answer
86 views

How to alias one command to be resolved into another command?

AFAIK alias is usually used to make 'shortcut' for long command. But what to do if I want to alias one command to another? I need this because I replaced gnome-screensaver with xscreensaver, so the ...
2
votes
1answer
73 views

Automatically start Bash script when opening a graphical program

I want to start a shell script automatically when I'm starting, e.g., LibreOffice. The problem is that I don't know how. Where would I build the trigger to start the script in. Is there a ...
2
votes
1answer
153 views

Run .bash_profile script at login

i'm working on a deb package that allows the administrator to create another account and run that account automatically in kiosk mode. I created the user, specified a shortkey and put that in a hidden ...
3
votes
0answers
72 views

Bash History Search (CTRL+R) in Ubuntu Suggestions?

Is there an extension of some kind which ties Bash's history search (which you get with CTRL+R in a terminal) into the Ubuntu search suggestions generated when searching via the Windows key (in ...
0
votes
0answers
49 views

Terminator - Bash character encoding - problem visualizing content of some files

I'm using Terminator to manage several bash shells. If I print the content of some files, some characters are bad displayed. Even if the character encoding is setted to UTF-8. Below there is the ...
0
votes
0answers
19 views

how to pass uubaa{qv} arguments to gdbus?

I found the way to pass a {sv}, that is working well, (thanks to aport), but my arguments are more complex. uubaa{qv} I tried to pass it like that: "1 1 0 [[{160: <46.52>},{161: ...
0
votes
1answer
256 views

Start Terminator via shell script in broadcast mode

I currently use a small script to start a terminator window as a background process which has multiple splits specified with a layout. terminator --layout=My_layout & I want to execute a ...
0
votes
0answers
44 views

Various search path settings in gnome terminal missing default folders

I'm running Ubuntu 12.04 LTS. When I open a gnome terminal ( Ctrl+Alt+T ) the path settings for things like LIBRARY_PATH, C_INCLUDE_PATH, etc. are all set to just :/usr/local/lib or the like. The ...
1
vote
1answer
144 views

How can I force the backlight to never turn off?

I'm using Ubuntu 13.10 with GNOME 3.10 on a Packard Bell EasyNote-TK37 (Intel GM45 Express graphics), and I've had significant problems with my backlight. Initially, upon booting the backlight would ...
0
votes
0answers
58 views

How to auto-run a script each time a Global Keyboard Shortcut is used in Ubuntu?

I don't want to reassign the Global Keyboard Shortcut keys. They should be doing their what they were meant to do. But in addition to that, I would like a bash script to run every time the particular ...
2
votes
1answer
61 views

Is there a way to access a live command shell for Ubuntu server online?

I have setup a LAMP server with ubuntu server that I plan to do some game hosting with. Right now I am using Webmin for remoting in to my server. One major problem with webmin however, is that you can ...
0
votes
2answers
342 views

how to pass a{sv} arguments to gdbus?

i have problem to passing the arguments of the function in a dictionary format (string,variant); i try to run a screencast in gnome and to start the function i need to pass these asrguments: -method ...
3
votes
1answer
168 views

Shell script errors?

I am trying to create an interactive bash shell script to make it easier to install and configure a postfix mail server,But have them still enter the commands and then the shell run them, but I keep ...
0
votes
2answers
73 views

Shell script compsrison does not work as intended

The follwing code is for to compare two strings or variables. But, I cannot do it. I did a lot of googling, but no use. Here, output doesn't depend upon the changing of inputs. Can any one correct ...
0
votes
1answer
142 views

Why does my shell script only execute in execution mode “Display output”?

I wrote a bash script (here) for extracting EXIF GPS coordinates from an image and displaying those coordinates as a pointer in Google Maps. It works perfectly when used like this in the terminal: ...
3
votes
1answer
757 views

Unable to apply wallpapers

We are unable to apply wallpapers, we are getting the following error. How do i fix it?? Error: Error setting value: Can't overwrite existing read-only value: Value for ...
6
votes
2answers
7k views

How do I install and use voice commands?

How can I give my own command using mic. I would like to give command like: "Update system now" So system will automatic run apt-get update I've seen Gnome Voice Control but I get error : $ ...
3
votes
2answers
217 views

How do I cancel a time-delayed screenshot?

I'm using the default screenshot application that comes with Ubuntu gnome-screenshot When I was using it earlier to take screenshots of the lock screen I had set a long time delay, but forgot to ...
2
votes
1answer
945 views

How to grep output of ls -lhR / for particular owner (ex. root)?

Is there anyway I can list all the files that belong to a particular owner? Additionally can I list all the files that belong to a group?
1
vote
1answer
1k views

Why we can't run commands with gnome shortcuts?

When I make a custom shortcut with gnome (gnome-control-center keyboard) I can't set it to a command. Why? Example: I can't set a shortcut for sudo apt-get update. Instead I must first invoke a ...
2
votes
2answers
1k views

create .xml file with data from bash

I am trying to make a .xml file, the bash command need to copy this block of code, and replace the CITY-FROM-TEXT-FILE-LINE-1 attribute from city.txt (one city per line) <ss:Row ss:Height ...
6
votes
4answers
2k views

Keep a program running in terminal

So I am well aware of nohup and suffixing commands with & to ensure that they go into the background. However if I run a graphical application - sometimes using neither seems to do the job. So ...
2
votes
4answers
1k views

Session freezes when using the screen command

This happens to me once every couple of hours. When I use the screen command and attempt to switch between windows by pressing ctrl+shift+a twice in succession, my session freezes. This has happened ...
1
vote
1answer
1k views

How to change putty color scheme on linux user basis?

When I ssh into my server all but one of my users has the color scheme. The one that doesn't, well everything shows up as gray text. Is there a way I can change this color scheme? Also, why would ...
0
votes
2answers
3k views

How to get samba (computer 1) to show up on windows 7 (computer 2) if both are in the same lan?

Sorry for the newb factor but I have two computers (one linux, one windows). I followed this directions on this website. And have been able to make it past the last step without any problems: ~$ ...
2
votes
1answer
2k views

How to completely remove a package and all related files/directories?

I'm trying to remove samba, I've tried using apt-get --purge samba Which according to the man page is supposed to delete .conf files. However smb.conf is still there. Any tips on how to remove ...
5
votes
1answer
2k views

What's the difference between mkfs and mkdosfs?

I'm trying to put a linux distro .iso on my usb and the instructions suggests using the following command to make a fat32 filesystem: mkdosfs -F 32 /dev/sdc1 Is there a reason this command is to be ...
3
votes
3answers
3k views

Is it preferred to avoid use of “exit” in bash scripts as much as possible?

I've been told in php it's preferred to avoid the use of the exit command as much as possible. Is the same true for bash? For example is the following #!/bin/bash if [ -z $1 ]; then echo ...
2
votes
2answers
1k views

gnome-terminal and logging

Is there any way to log every that was displayed in gnome-terminal? for example I have a complex command doSomethingThatPrintoutsAlot ; doSomethingThatPrintoutsAlot2 ; doSomethingThatPrintoutsAlot3 ...
3
votes
2answers
555 views

Use user's icons in a bash script

I am looking for a way to use the icons from the users theme (in gnome) in a bash script. The solution could be a environment variable or a file where the path to the users icon set is written. Eg. ...
1
vote
2answers
1k views

Exporting bash function in .profile or .xprofile kills X during login

I'm trying to export a bash function during Gnome login using one of the login shell start-up scripts. I've tried doing it in ~/.profile and ~/.xprofile but it results in X dying and restarting at the ...