Ubuntu :: Write A Series Of Actions To Be Executed Automatically On Boot?

Jan 1, 2011

Basically, to save battery (extend battery life) of computer, I use these commands to shut off my dedicated graphics card:

Code:
cd acpi_call
sudo insmod acpi_call.ko
./test_off.sh

Now right now I have to do this manually. Is there some way for the system to execute these automatically when the system boots?

View 6 Replies


ADVERTISEMENT

Debian Configuration :: Build Wine And Write Down All The Actions?

Feb 13, 2011

Has someone tried to build and install wine in squeeze? I tried follow different manuals (e.g. [URL].. but always run into lots of warnings, missing packages and abortion of make. No wonder, squeeze seem to be pretty different from lenny.

I installed the binary wine, but that does not help in my case. There is a kind of bug in code for the mouse that can be fixed only by applying a patch. So anyone want to build wine and write down all the actions?

View 14 Replies View Related

Programming :: Shell Script That Will Automatically Get Executed On Logging In?

May 29, 2011

I want a script to get executedutomatically whenever I login.Code is simple:Quote:dateYEs! it prints the date on the screen.I read somewhere that there is login.sh shell script which get executed automatically whenever one opens console.But how to insert the above code into it.?Also, we can put our command in $HOME/.bashrc and it will get executed everytime I start the interactive shell.

View 1 Replies View Related

Red Hat / Fedora :: No Sound With Intel Corporation 5 Series/3400 Series?

Nov 12, 2010

I have a problem with the latest Fedora. Installed it cleanly on a machine with Gigabyte H55M-S2 with Intel Core i3. There seems to be no sound and I checked to see if anything is muted but is not. The manual says that the sound chip is ALC888B so this could be the first problem. Any ide how I can make it work? Here is a dump of some things on my system.

Code: [weaz ~]$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
[weaz ~]$ uname -a
Linux EarthwormJim 2.6.35.6-48.fc14.i686 #1 SMP Fri Oct 22 15:34:36 UTC 2010 i686 i686 i386 GNU/Linux

[code].....

View 6 Replies View Related

General :: Grep A Series 98782 From A Group By Series In A File?

May 24, 2010

i have to grep a series say 98782 from a group by series in a file ,how can i grep the series.

View 6 Replies View Related

Ubuntu Servers :: Grub To Automatically Boot - Wont Automatically Select One

Feb 28, 2011

I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.

View 1 Replies View Related

General :: Boot - What Are The Various Programs Or Process That Gets Executed When A Machine Starts

Aug 2, 2010

what are the programs or process that gets execututed when a linux start. ie starting from the grub (linux bootloader)

View 3 Replies View Related

Ubuntu :: Nautilus Actions - This XML File Is Not A Valid Nautilus-actions Config File

Feb 18, 2010

I've been trying out Nautilus-actions (Gnome 2.28.4), but have been unable to import most config files from [url].

When I attempt to import an action, it complains:

Quote:

Can't parse file 'convert_flv_to_avi.schemas' as GConf schema description file!

This XML file is not a valid Nautilus-actions config file (missing keys: )

So far, the only one that has worked for me is "Move to custom folder" [url].

View 2 Replies View Related

General :: Pass Option To LILO In Order To Have Script / Command Executed At / After Boot

Aug 28, 2009

I have one distro installed, LILO as the boot loader, and i wonder if it's possible to duplicate the lilo entries with an option which executes some script or command during, or after the boot.Actually, i installed a Slackware + autolaunching virtual machine, but i have two VM, so i need to autolaunch one of them. May i choose it from the very beginning ?

View 9 Replies View Related

Software :: Write A Script Which Will Take In The Password Automatically?

Mar 21, 2011

I have a script under /etc/init.d/jboss

When I start the Jboss under my user account (assumed test) I type:

Code:
[test ~]#/etc/init.d/jboss start

And it will ask me for paaword:

Code:
Password:

And I have to type the password.

I find this is quite boring. So I want to write a script locally (assumed called myJboss) so when I want to start the Jboss I just type in:

Code:
[test ~]#myJboss start [password]

And this script will not ask me for password anymore.

View 1 Replies View Related

General :: Automatically Set Write Permissions On Mounting A Usb Drive?

Aug 15, 2010

When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.

Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?

View 2 Replies View Related

Fedora Hardware :: Can't Write To Flash Memory. Automatically Set As Read-only

Jan 21, 2010

I used to be able to write to my SD memory card but just recently it is being automatically mounted as read-only. I checked the read-only tab and tried to set it to the lock position, and to the unlock position. Neither position makes a difference. It was working normally a few days ago. I also tried changing the permission using su

ls -lt gives the following result
drwxr-xr-x 4 col root 16384 1970-01-01 01:00 CANON_DC
chmod chgrp and chown in su mode don't change anything either.

I tried mounting a different 1GB SD card and it works perfectly. I noticed that when I mount this card I get a window asking me what I want to do, but I don't get this on the other card. It must some kind of setting related to the unwriteable card.

I am using F10 2.6.27.41-170.2.117.fc10.i686

View 3 Replies View Related

OpenSUSE Hardware :: IPod Automatically Mounted But Can Only Write As Root?

Jan 30, 2010

I don't know why but every time I plug my iPod it gets mounted automatically as root and therefore I can't write anything in it. I mentioned this issue on the #suse irc channel posting mount output:

eugenio@openSUSE:~> mount
/dev/sda7 on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)

[Code]....

I read some posts about editing the fstab file but I'm not really sure how to do this (if this is the solution) and I believe this could have worked on earlier versions (where HAL was used) Is there anything I can do to make opensuse mount my ipod automatically with full access to normal users?

View 6 Replies View Related

Debian :: Mount Partitions With Read/write Permissions Automatically As The Systeme Starts?

Dec 10, 2010

I'm new to debian ,I was trying to mount my NTFS partition but I did that only with read permissions I couldn't install ntfs-config(allthough I have ntfs-3g installed).So I want to figure out how to mount my partitions with read/write permissions automatically as the systeme starts ?

View 2 Replies View Related

Ubuntu :: Translate GUI Actions To CL Code?

Jul 27, 2010

The main thing I want to know is: how to translate my GUI actions into command-line code. I want to know if there is a command that outputs all the commands being made by interaction with my GUI.Say, for example that I type this command and then open a file, the terminal would then print: "gnome-open /{path to file}".(The reason I ask is because I need to know a command to open with a non-default program. I have downloaded MiniCopier, so I want to add a launcher for it to my panel, by figuring out the code to launch it, but the default app to open ".jar" files is archive manager, rather than Java, so "gnome-open" doesn't do the trick. I've even changed the default to Java and still "gnome-open" uses archive manager, while double-clicking will use the new default=java. Weird...)

View 2 Replies View Related

Ubuntu :: Create A Launcher With 2 Actions?

Apr 19, 2011

I have a program which launches by a command but the command is not valid if i dont cd/ to the location of it first, is it possible to make the lancher (terminal) first go; cd /home/user/x then the program?

View 4 Replies View Related

Ubuntu :: Fn+f2 To Automatically Run On Boot?

Jun 23, 2010

I have a laptop and the WIFI it is always disabled on boot. I used backports to enable the fn+f2 functions to enable the wireless. I was wondering if there is a way to automate this? So when I been the fn+f2 command is run and the WIFI automatically connects?

View 1 Replies View Related

Ubuntu :: Cannot Automatically Boot From CD

Sep 6, 2010

I installed Ubuntu recently and for various reasons need to install Windows 7 on the same machine. The problem is when I pop in the windows installation disk and restart the computer, it doesn't automatically boot from cd but instead just loads Ubuntu. But when I pop in the Ubuntu installation disk, then the computer automatically boots into that disk. This computer shows no BIOS screen, and I tried entering all sorts of f key, del and esc combinations and nothing brings up the BIOS. So I can't change boot order from there. How I can boot into the windows 7 cd?

View 7 Replies View Related

Ubuntu :: Emulate Windows 7 Edge Actions?

May 3, 2010

I would really like to configure compiz to emulate the Windows 7 edge actions. In case you haven't used Windows 7, the actions I'm interested in are: Drag window to top of the screen - maximize Drag window to left side of screen - take up the left half of the screen Drag window to right side of screen - take up the right half of the screen

Those are really the only ones I care about. I know I used to be able to do this in Karmic, but I forgot to back up my compiz settings when installing Lucid, and I can't remember how I had it configured before.

View 7 Replies View Related

Ubuntu :: Gnome Power Manager No Actions ?

May 9, 2010

Gnome Power Manager has been giving me problems for a while now, all of which I have at least found a workaround, (sudo gnome-power-manager) with the exception of this one.

Gnome power manager will not make my computer suspend or hibernate on low or critically low battery.

I've installed acpi, configured laptop-mode, and edited the values for GPM in gconf-editor to suspend at 10% battery.

Nothing seems to work.

View 1 Replies View Related

Ubuntu :: Nautilus-actions Path Set Incorrectly

Jul 16, 2010

I am installing lucid, have installed nautilus-actions, and am trying to install a "Search for file in the active folder" function into nautilus-actions.. I brought up Nautilus Actions Configuration under System>Preferences and did the following:

Under Action tab
Checked Display item in selection context menu
Unchecked Display item in location context menu
Label: Search For File In Active Folder

[Code]....

when I right click a folder and select "Search For File in Active Folder, it brings up the search tool, but the folder setting is always my home folder--not the active folder. Of course I can change the folder to be searched, but the point was to search in the active folder. I got this Search For File in Active Folder function from an Internet site that I don't remember. However, I thought --path=%M would get me the active folder.

View 1 Replies View Related

Ubuntu :: Aptitude's Stored/pending Actions

Sep 17, 2010

In accordance with aptitude doc:

Code:
As a special case, install with no arguments will act on any stored/pending actions..."
OK, let's try:

[Code].....

View 2 Replies View Related

Ubuntu :: Monitor User Actions In A Directory?

Jan 10, 2011

We have a shared directory that is very important, lately strange things have been happening, users claiming file are missing etc. All permissions are OK, and as far as I can see files are not going missing.I look for ether a program out there all ready, or guidlines on a script that will monitor the dates and times a user accesses this directory, if they create a new file, remove an old one etc.

View 1 Replies View Related

Ubuntu :: Nautilus Actions Error - Duplicate Object ID

Jan 8, 2010

I installed Nautilus-actions, in order to set up some right-click scripts. However, when I click on "nautilus actions configurations" from within the system preferences menu, I receive the following error...
"Duplicate object id 'label1' on line 1000 (previously on line 940)".

View 1 Replies View Related

Ubuntu :: How To Use System Settings > Advanced > Device Actions

May 25, 2010

I am trying to use the Device Actions under System Settings > Advanced to automatically copy image files from my CF-card from my camera. I home someone has a few minutes to help me. I am not sure how do identify my device.

I have watched udevadm monitor, while I insert the card into the card reader. One of the lines that appear is this: UDEV [1274814950.587968] add
/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/host5/target5:0:0/5:0:0:0/block/sdc/sdc1 (block)

View 2 Replies View Related

Ubuntu :: 10.4 Slowed Down To Crawl - Actions Taking Forever

Oct 5, 2010

I am a newbie to Linux, and so just installed Ubuntu.. for the first week all was fantastic, but now, everything has slowed down. It seems to run fine for a few minutes and then everything slows down. I try and drag a window or open a menu, type, anything, and it takes forever! Also the internet seems to stop working on a regular basis. I have checked processes to see if there was anything happening and one of the processors was sitting at 100%, but no actual processes in the list seemed to be using any processing power at all!

View 8 Replies View Related

Ubuntu :: Rdesktop Does Not Show Remote User Actions

May 4, 2010

im using "rdesktop -u username ip" in the terminal to connect to a windows machine on another lan. (my local machine is Ubuntu 10 and remote user has Win7)

i can connect and see his desktop, plus i can control the remote mouse, but i cant see what the user is doing and neither can the user see what im doing on his machine.

is there a way with rdesktop or another .deb app that i can use that allows me to control the remote user's machine and at the same time allow him to see what im doing and/or visa versa ?

i also tried VNC veiwer and it too does not give me the required results. is there something that the windows owner need to do ?

i need this for showing users how to do certain tasks on their machines.

View 2 Replies View Related

General :: Where To See Recent Changes / Actions On A Computer?

Jul 4, 2011

I log on to a lot of different servers at work to do some tasks and install new software. However, sometimes I find myself wanting to know what has been done to the computer recently. This usually involves me going through log files and just observing the filesystem for new folders/files (usually in /tmp).

Is there some kind of a master log file which logs all (or nearly all) "activity" on the computer. Even getting a list of most recent command line 'history' from different users would be helpful to see what they did in the last couple hours. I only need to know the big things:

new software installs
important files being changed
new users/groups being made

Am I asking for too much from my system? If this doesn't exist I might just develop a tool to do it. In that case, which files should I be looking at to extract the information I want?

View 1 Replies View Related

Ubuntu :: Grub Won't Automatically Boot System?

Jan 8, 2010

Grub won't automatically boot my system... the timer is set to 1 second and the default OS is chosen, it just sits there completely without a timer!

View 9 Replies View Related

Ubuntu :: Start Filesystems Automatically At Boot?

Mar 4, 2010

When I go to 'Places' on my panel, my windows drives are listed. I can click on one, it then asks me for password, then it puts a hard drive icon on my desktop. This is excellent.They are listed as '200 GB Filesystem' etc.My only problem, is how to make these icons stay after I shut down. I don't want to do this every time I boot up.

View 4 Replies View Related







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