General :: Configuring Automatic Profiles On Dock/hotplug?

May 8, 2011

My Ubuntu laptop gets docked into a few different locations per day with different hardware and use cases. I'd like to automate the preference settings for each of these locations:

Work computer, dual head 1280x1024
External USB audio and bluetooth audio
Home computer, dual head 1280x1024, 1080p
External USB audio

Basically, when I dock the box in either (1) or (2), I want to automagically get the right xrandr settings for the different screen geometries and the right audio routing.

What scripts, etc. are responsible for the inscrutable default behavior?

Are there packages for customizing this?

If I wanted to roll my own, what is the right library to use to catch the hotplug events?

View 1 Replies


ADVERTISEMENT

General :: Installing Ubuntu Studio Failed Automatic Configuring Network

Mar 1, 2011

Installing Ubuntu Studio failed automatic configuring the network so I need configure it manually. The computer ask for a DOMAIN NAME but I never had configured any Domain. Actualy I had another ubuntu computer. I know the mane of that computer but how can I get the DOMAIN NAME from the other computer?

View 1 Replies View Related

Fedora :: Set The Left-hand-side Dock To Remain On Screen / Keep Dock Visible?

Jul 27, 2011

Although it would resemble the Unity desktop that some of us here may have run away from, is it possible to set the left-hand-side dock to remain on screen, possibly only sliding off when a program window needs it to?

View 2 Replies View Related

General :: Use Different Profiles For Different Console Environment?

Jul 9, 2011

Can I use two or more different profiles used in my console as the same time? Since, I always ssh to the other machines ,e.g. servers. in my console. Somehow, I always mix it up with my current PC.

I want to use 2 different profiles for different environments. Say, in server console, I use red background color. in my pc console, I use green background color such that i can easily distinguish out.or can i set the background color in .bashrc?

View 1 Replies View Related

General :: Hosting Windows Roaming Profiles On A Samba Share?

Sep 10, 2010

Everything works fine in doing this, however every time a user logs into the Windows Citrix Session the roaming profile created on the linux samba share creates their Windows Profile with a 755 perms. I understand that the default umask is (globally on my RHEL host is 022 ??) but in my smb.conf file the definition that is defined for the directory is set to a create mask of 0700. What is going on?

View 3 Replies View Related

Hardware :: Battery Hotplug Not Working

Sep 23, 2010

I'm running Linux 2.6.35.4 on a Kontron COMExpress board. The device has 2 battery slots so that a user can hot swap batteries while the device is running.The problem I'm having is that battery information is never updated in /sys unless I read /proc/acpi/BAT[12]/state.When booting the device, the battery state is correctly detected by the kernel but after that it seems like nothing happens.

My current solution is to poke at /proc from time to time, it works but I'm forced to compile my kernel with CONFIG_ACPI_PROCFS_POWER which is marked as deprecated..

View 2 Replies View Related

Networking :: Nfs Mount Hotplug Device?

Feb 10, 2010

Current stable Debian runs on both machines. I connect a digital camera to the USB on the server ("a") and the camera's filesystem is mounted automatically.I want that same filesystem to be made available to the other machine ("b") through nfs.What should be in fstab for that filesystem, or is something else needed in the configuration for "b" in order to access the filesystem which is physically on "a"?

View 5 Replies View Related

Fedora Hardware :: Hotplug Of USB Not Working After Yum Update

Jan 6, 2010

Hotplug of USB not working after yum update.Fedora 11, with KDE4.3.4-1 Kernel 2.6.30.10-105.fc11.i686.PAE.This problem occurred after I ran "yum update" on 28th December 2009, which updated the kernel to the current above version, from 2.6.30.9-96.c11.i686. PAE.Prior to this update, when a USB device(either a scanner, printer, pendrive or camera) was plugged in (hotplug) the device was detected and could be used by the appropriate application. The camera and pendrives were reported by the KDE Device Notifier.

I can mount the pendrive and camera manually, but I cannot use the scanner or printer applications as the devices are not seen.Interestingly if the printer and scanner devices are plugged in/switched on at boot time,they are seen and are usable, eg the Scanner-Tool sees the scanners and the printers print.Logging in as root, exhibits the same symptoms.This feature has occurred on two machines, both after running yum update.Please what has broken with this yum update.How can I overcome this "feature".

View 4 Replies View Related

Ubuntu Installation :: 11.04 PXE Shuts Down Ethernet On Hotplug

May 1, 2010

Trying to install Natty 11.04 via PXE. The ethernet is a Realtek RTL8168d/8111d gigabit. It DHCPs and configures just fine. Then it downloads what it needs for partitioning and does that. After partitioning, it runs net/hw-detect.hotplug which discovers the interface as new, then strips it of any configuration so it can not proceed further. Is there any way to disable this secondary hotplug detection of the ethernet interface?

View 4 Replies View Related

Server :: VNC On Xen Failure - Hotplug Script Not Working

Jun 10, 2010

The following config works and creates a good VM in Xen:
Code:
# Kernel Setup
kernel = "/boot/vmlinuz-2.6.18.8-xenU"
# Memory
memory = "256"
# Disk
disk = [
"file:/opt/xen/domains/110/sda1.img,sda1,w",
"file:/opt/xen/domains/110/swap.img,sda2,w"
]
# container name
name = "110"
hostname = "boo"

# Networking
vif = ["type=ieomu, bridge=xenbr0"]
# VNC
vnc = 1
#vfb = [ 'type=vnc,vncdisplay=2,vnclisten=0.0.0.0,vncpasswd=110' ]
# Behavior Settings
root = "/dev/sda1"
extra = "fastboot"

But when I uncomment the VFB line, I get the following error after it hangs for at least 30 seconds:
Code:
[root@customer 110]# xm create boo.cfg
Using config file "./boo.cfg".
Error: Device 0 (vkbd) could not be connected. Hotplug scripts not working.

Part two of this question:
Sometimes it actually works, and a port is opened. When this happens, nmap shows the VNC ports open and I can connect via the VNC client, but it just hangs at "Connection established." and no VNC display shows up. I've tried multiple VNC clients (TightVNC, TightVNC Java Console, RealVNC), but they all fail to connect. Does VNC through Xen require X to be started in order to function? I was under the impression that it would show the console screen.

View 2 Replies View Related

Debian Configuration :: Network / Interfaces Allow-hotplug And Auto?

Jan 10, 2011

I was just wondering if there's any point having both auto and allow-hotplug against the same interface in network/interfaces as allow-hotplug seems to bring an interface up at boot on its own.

View 3 Replies View Related

Slackware :: 64 13.37 Xfce 4.8 Upgrade Usb Hotplug Ntfs Read Only ?

May 15, 2011

I upgraded to Xfce 4.8 following instructions: [url]

Everything is fine except for my ntfs usb drives are read-only.

udisks reports that the drive mounted is not read only:

Code:

mtab is showing that the drive is also rw

Code:

However when I try to create a new file or folder on the drive in Thunar, I get:

Code:

Or ...

Code:

Permissions on the mounted folder are as follows:

Code:

View 3 Replies View Related

Hardware :: Dell PowerEdge T100 Support Pcie Hotplug?

Jan 13, 2010

I'm having trouble getting a PCIe device to show up in lspci using pcie hotplug.

After booting the system I load the pciehp module, I then plug-in my PCIe card. After that I do an lspci, but I don't see my PCIe card. When I cold boot with the PCIe card installed the system sees it fine, i.e. it show up in lspci.

Does anyone know of an easy way to figure out if my hardware even supports pcie hotplug?

When I load the hotplug module I just do a modprobe pciehp. Is this all I need to do prior to plugging-in my pcie card?

I will try running pciehp with debugging turn on to see if that gives me any additional info.

View 2 Replies View Related

Hardware :: Limited Resolution Choices In Xrandr With External Monitor On Hotplug?

May 5, 2010

I am running Fedora 12 on a T400 Thinkpad. When connector my external monitor prior to powering on the computer or if I restart it, I get a lot of resolution choices from xrandr. See below.

Code:
$ xrandr
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192
LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
1440x900 60.0*+ 50.0
1024x768 60.0

[Code].....

Is there some daemon I need to restart to detect the monitor resolutions correctly, or is there a module I can reload?

There seem to several variables to reproducing the behavior. If I restart without the laptop without the monitor plugged in, log in, and then, plug the monitor in with the monitor powered on prior to plugging, all resolutions are detected properly. However, if I plug the monitor in with it powered off, then power it on, I only get the few options shown in above. Once I get the reduced number of options, it seems to stay that way till I restart regardless of how I unplug the monitor.

I have found a work-around by just forcing the modes with xrandr --newmode and xrandr --addmode, but I would much rather have the modes autodetected.

View 1 Replies View Related

OpenSUSE Hardware :: Sporadic Hotplug (auto-mount) Behavior In 11.3 On A 64bit Machine?

Nov 8, 2010

I have a new 64 bit workstation (Dell Vostro i7) which I usually keep running for extended periods (read; days and weeks). I have realized that the system completely ignores when I insert a USB stick (LaCie 8Gb USB Key). By ignore, I mean it doesn't get mounted, and /media/ is empty. Interesting enough if I go into YAST and probe for Hardware Information, I find my USB stick there under the USB section. There is no specific entry for the key in /etc/fstab by the way, as far as I know I don't need to specify how a USB stick should be mounted. Auto-mount, when it actually works, is perfectly fine.

View 7 Replies View Related

General :: Where To Put Application In Dock On Desktop Like Skype

Jun 25, 2010

this app dock station (kinda like osx) where you can put your application in this Dock on the desktop like skype. I have ubuntu and I was wondering where can I get this at.

View 3 Replies View Related

SUSE :: USB Flash Drive Produces No Output For Dmesg - Hotplug Quit - Bluetooth Dongle

Feb 8, 2011

OpenSuSE 11.3/KDE4 32-bit
Kernel 2.6.34.7-0.7-desktop

It's been a while but I just hit a brick wall. Well, this has been building for a week or so, I can't figure out what's causing it. I thought there was a sudden conflich with the bluetooth dongle, since that one piece of hardware is not listed right from boot (sometimes has a dmesg error related to loading the module), but I find now this is not the case. Today I ran the full update to the current kernel hoping to fix the problem, but to no avail (caused some interesting issued with the video (intel 945) which I ironed out). Symptom: With the exception of the bluetooth, all devices hooked up to the USB ports at boot are recognized and usable. No device that I plug in after booting is recognized, period. lsusb output does not change. Plugging in a USB flash drive produces no output for dmesg.

[Code]...

View 3 Replies View Related

General :: Adding Cairo-Dock To The List Of Startup Applications?

Dec 14, 2010

I'm running Ubuntu maverick meercat 10.10. I don't think it's very necessary to mention my hardware to get an answer to this question.I found out about the Cairo-Dock and fell in love with it. It annoys the hell out of me to have to start it every time I boot. I navigate to- System> Preferences> Startup ApplicationsUnder the startup programs tab I click on add... Now what??? Put the name as Cairo... what about the command. I don't know what file to navigate to.

View 3 Replies View Related

General :: How To Disable Automatic Power-off

Feb 24, 2011

I need to disable the automatic power-off on shutdown so I can just withdraw the power myself. The reason for this is that the machine should power on itself when it gets power (which is accomplished by Resume on Power Failure in BIOS). I learned that I can turn off ACPI and APM by using the corresponding boot command options. Does this have any negative effect other than disabling standby etc.? Is there another easy to accomplish solution for this problem (maybe using linux from a readonly partition and make sure all programs are closed before I withdraw the power)?

View 1 Replies View Related

General :: Set Apache Automatic Start-up?

Jul 21, 2010

Can anyone tell me how to have Apache automatically start when I boot the system (and log in)?

It is a simple home-PC running Fedora and I put Apache on for internal/local use only (so I can get to it from my Windows box).

Right now, I have to su (to root) and run the Apache startup command.

I'd like to have it simply come up when I log-in.

View 6 Replies View Related

General :: Automatic Login On CentOS 5.5?

Sep 6, 2010

I have installed CentOS 5.5 successfully and I have VNC working. This server will be a headless box that will reside in a server rack. I intend to perform any necessary maintenance on the machine remotely though my desktop computer. My problem is that when CentOS is on the login screen, I cannot connect with VNC. Once I have logged into a user account, then I can connect.

I would like the server to automatically login to one of my users each time it boots so that the VNC connection will be opened. Currently I have two users, root and Zachary. I would like the server to automatically login to the user Zachary.

In the CentOS Gnome GUI, when I go into System > Administration > Login Screen, and then click on the Security tab there is an option to "Enable Automatic Login." If you check this box a select form field becomes active; however, there are no user accounts showing in that select field. I tried typing in the user name that I wanted to automatically login, but after closing the screen it clears that username. What am I missing?

View 6 Replies View Related

General :: Automatic File Movers?

Oct 17, 2010

I have been using linux now for a very short time, and the more I use the more I like, however some things are just too far beyond me to figure out, like scripts, etc... So I do prefer to use GUI apps wherever possible, and I'm using SUSE 11.3I'm looking for a way to automatically manage a folder I use for auto downloads. I'd like to be able to at least:

Move files to another directory based on either the files age i.e. 2 weeks, or the remaining disk space on the disk to initiate a move function. (Preferably the 1st and then the 2nd if necessary)And then a function to lookup similar folder names and put the file into that folder if it exists. (More complex I know, I'm not holding my breath)I've been looking for something like this for some time now and haven't been able to find anything via google

View 3 Replies View Related

General :: No More Automatic Network Connection?

Apr 19, 2011

I am running Debian Squeeze on my net book ( ASUS 1000PE ) with an Atheros wireless nic. It has been running fine for months automatically connecting during boot to my hidden network but all of a sudden no dice.

If I use the Gnome network manager and "connect to a hidden network" and I am all set but when I am at the command prompt ( which is how I have it set to boot to) it is a few more steps. How can I get it to automatically load. I did not have any scripts set up before so I assume it is a service I need to turn back on that was turned off in error.

View 6 Replies View Related

General :: SCP SSH Automatic File Transfer?

May 8, 2010

I wrote this script in attempt to set-up automatic file fetch from the server using SSH; I want to collect *.pdf files and would like this to happened automatically. However, when I run below script I keep getting prompted for a password, how to include password in the script and how to export list of transferred files into the log file in txt format

scp root@192.168.1.1:/var/www/html/Apps/*.pdf /media/DataBackup/Linux/imported/ &>/home/denis/Logs/remotefilefetch.sh.out

This script works to a point, however I am prompted for a password and log file is created but remains empty.

View 3 Replies View Related

General :: Need Script For Automatic Shutdown

Jan 14, 2011

I need a script for shutdown the system automatically if the system is not disturbed for last 10 minutes.

By the way i am using RHEL 4 in my system.

View 2 Replies View Related

General :: Automatic Adaptive Gain Normalization

Jun 13, 2010

How may I normalize a (voice) audio mp3 or aac file with no loss, having the gain rised as much as possible (mitigating distortion using a compressor), so in a long conversation people that speak softer can have more gain for their voice and people that speak louder can have less gain?

View 1 Replies View Related

General :: Automatic Drive Usability On Startup?

Nov 5, 2010

I'm using Ubuntu 10.04 and I have a 1TB NTFS (internal) hard drive where I put all my files. The drive shows up in the "Places" menu, and if I select & open it, the drive and all the scripts & text files in it work. But, if I go to run the scripts without opening the dive in the places menu first, it just gives an error.

1. What is being done when I select the drive in the places menu?

2. Can this be set up automatically, so I don't have to open the drive every time after I start up?

View 1 Replies View Related

General :: Automatic Login Passwords For Websites Gone?

Feb 25, 2010

all the sudden i have to start typing in the nm keyring password and subsequently all my website logins

View 1 Replies View Related

General :: Automatic Script For LDAP Client?

Jan 10, 2010

I have 389 fedora Directory Server which is nothing but LDAP Server running on 389 Server.Its working fine on CentOS. Now I am in search of script which can be put on boot time so that the new Machine can automatically come under LDAP Client.Generally the machines are RHEL 4/5.

View 6 Replies View Related

General :: Delay Automatic System Shut Down?

Aug 3, 2010

I am using Ubuntu 9.04. Years ago, I did UNIX and DOS line commands, but I am 66 and dim, though my doctor says he still thinks I have my marble.Anyway, my Linux shuts down automatically faster than I want it to.How does one control this?

View 3 Replies View Related







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