1
vote
2answers
614 views

How to script a mount command involving a dm-crypt / luks volume

I am trying to make a script that will mount an encrypted volume (dm-crypt / luks) with a password that is passed as argument to that script. My trouble is that I can't find a way to make that script ...
0
votes
1answer
372 views

Ubuntu 11.10- Conky (Need help w/ config)

I'm still new to ubuntu, I just downloaded "Conky" from the command line. I found some really cool script online, but I don't how to edit Conky and copy and paste the script. Thanks, -Vince
1
vote
0answers
164 views

How to turn off/on the laptop screen using a command-line or shell-scipt? [duplicate]

Possible Duplicate: Turn off monitor using command line In my laptop i have a button to turn off screen, but it didn't work so i think if i bind it's function and add a command-line to it ...
0
votes
1answer
231 views

How to make time/date program, shell model of program?

I ran in shell: #! /bin/bash log=monday echo "Today is $log" echo "Today is 'date'" but the result is : Today is monday Today is 'date' How do I make it display the day and date. Thank you for ...
4
votes
2answers
22k views

Run shell script on startup or boot

My problem in a nutshell is that I have to run a script every time I use my computer so I'm trying to automate the process a bit. My system has the nvidia gt540m vga card. The card is dual. It has ...
1
vote
1answer
191 views

Scripting question (youtube-dl and xclip)

I have youtube-dl and xclip installed. Is there a way I could write a script that can run commands from both? For example: youtube-dl -l --extract-audio (url) but instead of pasting a url could I ...
0
votes
1answer
172 views

“aptitude update” as cronjob, customize the cron-mail-output

I have set up aptitude update as cronjob for root and sending the mail to my normal user account. What I want to have now, is that all the output of aptitude is ommited and instead only a ...
1
vote
1answer
861 views

how to execute privileged commands at system startup

I'm using ubuntu 11.10 on Thinkpad. Every time the system starts, I have to run the following scripts with 'sudo' to configure the device manually. #setting trackpoint ...
2
votes
1answer
1k views

How to keep Unity panel always on top? [closed]

I am working on a script that will allow you to use a video as a wallpaper. This script uses xwinwrap and mplayer, when i have the script running the video is shown as a wallpaper and with ...
1
vote
1answer
205 views

Disable transparency mplayer in script

I am working on a short script that will allow me to use video files as a background using mplayer. The code i've got so far is: #!/bin/bash if zenity --question --title="Run movie as desktop ...
1
vote
1answer
93 views

How can I open the Applications and Files lenses from command line?

Can someone tell me if there is a application or script that can be called from the terminal screen that will bring up the Find Applications or Find Files window that comes up when you click the More ...