Ubuntu :: Associate USB Drive Name / Uuid With Certain Startup Apps?
Aug 23, 2010
I have a Nook ebook reader and would like it to automatically open a certain application when I plug it in.As standard it just opens a nautilus file browser.I cannot find any settings that will let me associate a drive name/uuid with a certain application and google results came up saturated with how to make bootable USB drives.The only solution I actually found was to make a .autorun script in the root of the drive to start my application, but it still requires user interaction and is not ideal since I would like to implement this across several machines with different users/applications.
View 1 Replies
ADVERTISEMENT
May 2, 2010
Just added a DVD drive to a machine which had no drive before. When I boot I get the error about being unable to find the root drive by its UUID. If I unplug the DVD drive it boots as normal.
I'm guessing the root drive is getting a new name i.e /dev/sda2 instead of sda1 and thus a new UUID. How can I add the drive and fix the UUID issue in grub?
View 8 Replies
View Related
May 18, 2011
I have an mdadm linear array of 4 500GB drives. One of them had a few bad sectors, so I've dd'ed it to a new one (conv=noerror), and tried to start my array. Mdadm refuses, saying, "mdadm: /dev/md4 assembled from 3 drives - not enough to start the array."I had diffed different samples from different positions on the source and the mirror drive and confirmed they were identical. Checking the superblocks confirms three old drives still having their superblocks as expected, while the newly mirrored one has,
daniel@lnxsrv:~$ sudo mdadm --misc --examine /dev/sdf1
mdadm: No md superblock detected on /dev/sdf1.
- and,
daniel@lnxsrv:~$ sudo blkid /dev/sdf1
[code]....
As before. The mirror apparently has no uuid, but the original does. To confirm my sanity, I did,
daniel@lnxsrv:~$ sudo dd bs=1M count=50 if=/dev/sdc of=./sdc && sudo dd bs=1M count=50 if=/dev/sdd of=./sdd && sudo diff -s sdc sdd
50+0 records in
[code]...
How can the uuid not be the same when bit-for-bit from the very first byte of the drive, covering MFT etc., these two drives are identical according to diff?
View 5 Replies
View Related
Dec 14, 2015
Been doing some installations in a newly upgraded machine where I'm setting up two instances of 8.2 in slightly different configurations.Installing from netinst AMD64 DVD with firmware non-free. First installation goes smooth as then the second changes the UUID of the swap partition, meaning that the first then can't find it. To add insult to injury the second installation doesn't install GRUB in the MBR of the HDD.
Nothing different or special about the installation which is standard graphical with manual allocation of previously set up partitions. I don't touch the swap drive in the partitioner - just point to the correct partitions for / and /home as I want them. This is exactly as I've done before, many times.Setup asks me if I want to install GRUB in MBR and I answer "No" (because it would otherwise load in MBR of sda where I want it on sdb) then point to sdb in the next screen. Again really nothing different to what I've done dozens of times.
View 7 Replies
View Related
Jan 14, 2011
basically just wanting to find the UUID for my internal disc drive. Running Slackware 13.1
View 3 Replies
View Related
Oct 28, 2010
I need to start vboxwebsrv and x11vnc on startup with a specific username.I tried entering the commands in rc.local as:/bin/su -c "/x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800" user1/bin/su -c "/usr/bin/vboxwebsrv -b" user2.But this does not start the app on startup.
View 2 Replies
View Related
Jul 8, 2011
I cloned one of my hard drives to another, using Acronis True Image Home 2011.In the process, of course, fstab got copied verbatim from old to new.I then, using a livecd on a flash drive, mounted the new drive, went into fstab and rewrote the UUID's, using the numbers I'd gotten previously by doing sudo blkid.Now, the new drive had the UUID's revealed by that command.Then, I used boot-repair, from yannubuntu, to make that drive bootable, since it wasn't after the cloning and after the fstab rewrite.The drive is bootable, and it's mountable from a flash drive, or from the old drive.
I can access files either way.the fstab file on the new drive still has the old numbers, yet when I ran boot-repair, it apparently changed the UUID's for sectors 1 and 5 on the new drive.fstab seems to be irrelevant at this point, yet everything I read about it indicates that it is not only relevant, but necessary.I don't understand how I can be accessing the drive when the fstab contains UUID's that are no longer pertinent to any hardware on my system.
View 5 Replies
View Related
Nov 8, 2010
I've been trying to add applications to my "Startup Applications" menu. Most of the time, they "stick," but sometimes simply disappear, either immediately or after a variable length of time (sometimes more or less immediately, sometimes after several restarts, or anywhere in between). I've noticed that, when they stop booting, their entry disappears from ~/.config/autostart, but changing permissions on the affected files (e.g., removing write access) doesn't seem to help.
Any suggestions? Re-adding the same things over and over gets frustrating after a while, and I can't figure out why these entries are disappearing.Currently running Ubuntu 9.10 on an HP Pavilion dv6000 with an Intel Centrino Core Duo processor and 2 GB of RAM.
View 9 Replies
View Related
Aug 5, 2011
How do you change the order of execution of gnome startup apps?(System - Preferences - Startup Applications) does not seem to have any way to do it.I saw an archived post (http://ubuntuforums.org/showthread.php?t=659420) which offered a couple of ideas... (1) mucking around with /etc/rc2.d/ -- but that seems to be only system-level apps, not user apps; or (2) going to (System - Preferences - Sessions) and mucking around in there -- but I don't seem to have that menu on my system (10.04 LTS running as a guest in vmware player 3.1)I just want vmware-user to run before my gnome-terminals so that the desktop is resized before the terminals run.
View 1 Replies
View Related
Jul 14, 2010
I've been away from Fedora for a long time, since FC3/4. I seem to recall that at that time grub in Fedora used the standard drive notation such as /dev/sdax instead of the current UUID. Can anyone tell me why this change was made?
Seems to me that using UUIDs presents severe problems if a drive has to be replaced as the restore media (we all backup, don't we?) would not work without modification. How does one determine trhe UUID of a new drive to change the restore media? Sounds like a chickenand-egg routine. There must be some way which I haven't run accross yet. I do notice through experimentation that the standard notation still works, at least in /etc/fstab.
View 7 Replies
View Related
Jul 7, 2011
Kind of like Windows allows you to do. Specifically, I'd like to get Thunderbird to startup in the tray each time I log in.
View 3 Replies
View Related
Jun 20, 2011
I am new to XFCE and I'd like to ask few question about usage:
1. How can I disable dragging windows through workspaces? I like them to stay at one.
2. How do you configure startup applications?
3. Why XFCE menu doesn't show some of my custom icons? (png, tried more than one, for custom launcher - eclipse)
4. How do I add custom keyboard? (ALT+SHIFT switching)
5. I restarted laptop and all my applications re-opened after restart. I do not want that. How to disable this?
View 9 Replies
View Related
Aug 11, 2011
I'm using Arch Linux with kernel 3.0 and brcmsmac to manage my wireless card. My desktop environment is KDE 4.7 and I use networkmanager to handle network. Recently I've been affected by a weird problem wherein whenever I'm connected to a network Java apps such as jEdit take ~30 seconds longer to start but behave normal once started. What could it be due to and how can I fix it?EDIT:The problem occurs both with Oracle's JRE and OpenJDK, both versions 1.7. I'm behind a HTTP proxy, if that makes a difference.EDIT:I've discovered the cause of this problem. My /etc/hosts file had the wrong host name in it. After correcting this to my hostnameeverything is fine.
View 1 Replies
View Related
Feb 6, 2010
I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.
I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:
Code:
However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.
From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:
Code:
The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.
Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.
View 3 Replies
View Related
May 3, 2011
How it works in Windows.
I have a server designated as F: drive. This server is a linux server. All computers that access this server are windows machines.
In windows, you can make a "Short Cut" that links a Executable program to the F: drive on the server. When you click on this "Short Cut", Windows will "Run" your program in the exact directory the Executable is located.
Thus, if you Make a "Short Cut" called "Customer" on your network F: drive, you can click on that shortcut and "Customer" will run as if you ran it directly off the F: drive, NOT your station drive of C:
Now *MY* scenario what I WANT to do:
I want to copy the above scenario and be able to do the same thing with Linux and WINE.
I have tried to make a "Shortcut" to my Linux laptop, but it fails. I can only "Copy" the program to the laptop. And when I run it on the laptop, it will not run, because it does not recognize the "F:" drive having all the data files, it only recognizes the C: drive of my linux.
When I tried to make a "link", it says something like "LInk not supported by this file".
So, is it possible to make a "shortcut" to a executable file on the network server, so that if you run the shortcut, it will run the program as if it is located on the F: server instead of the linux station? In Windows, it has a field that says "Target", in which the file will be ran in that directory.
View 1 Replies
View Related
Dec 17, 2010
I had an old laptop (POS) with Lucid installed. I was updating to Maverick via Update manager. Well, I had a feeling my HDD was failing but it finally bit the dust on me, and the laptop never booted up properly after the update... I then put together a new laptop with a new drive, I can connect my old drive via USB to the new Lappy, and pull any essential data over to the new system, my question is. How do I import the list of apps I used to run into the new lappy, to have Aptitude or apt pull down and reload everything I "was" using? I figure there is a simple way, just not sure how to do it from a non-running distro via usb connection..
View 2 Replies
View Related
Jul 19, 2011
i've bought a vps server with 2 ip. I also bought 2 domains "eventlog.it" and I want associate them to my vps How can i do?
View 1 Replies
View Related
May 7, 2010
I want to make vlc the default application for opening avi files.
I tried 'open with a different application', selected vlc and checked the box 'Remember this application for "AVI video" files' (see attached), but the next time I double-click on an avi file it loads in Movie Player.
I've searched the Ubuntu documentation for "file associations" and "default programs" with no success. I'm probably using the wrong search terms, but somewhere, in all the configuration files and tables, there must be a way to assign a particular program to a given file-type.
(If you're wondering why I want to use vlc, it's because, after hours of research and tinkering, I finally got it to respond to my mceusb remote via lirc.)
View 2 Replies
View Related
Sep 11, 2010
Ubuntu 9.10 Karmic Koala.
When I double-click any .theme file I get the error message: "Could not display such-and-such.theme. the location is not a folder."
When I right-click any .theme file there is no option to "Open With", and no "Open With" tab in Properties.
When I create a text file and save it with a random name, I can change the filename extension to wav, jpg, png, txt, or theme, and Properties shows that the OS thinks it is that filetype. But all those filetypes except theme give "Open With" options, and allow me to change the extension again to anything. Once a file has been given the theme extension, it is stuck as a theme file.
View 5 Replies
View Related
Jul 31, 2011
any way to make a certain file extension (.etxt) open with a certain jar application (enotes.jar) that uses files with that file extension? i tried (for the custom open command on a .etxt file):
Code:
java -jar /home/me/Programs/enotes.jar "%1" %*
which was proposed (for windows) here: [URL]but it doesn't work when adapted to linux...
View 2 Replies
View Related
Sep 23, 2010
Hi! I'm an opensuse noob, and I'm having trouble figuring out how to associate .avi files with VLC. In Yast, I've tried to use the custom command setting to start VLC instead of Totem, but a double click on any avi file starts BANSHEE instead of Totem OR VLC. No clue, here. I can't find where to specifically associate a file extension with an application, as opposed to the very high-level settings in Yast.
View 9 Replies
View Related
Jul 3, 2011
I have an IBM T60 with Intel 3945ABG WNIC:
Module for this WNIC is loaded:
Code:
Code:
If I execute "iwlist wlan0 scanning", I see the cell I'm interested in:
Code:
I'm able to connect to this cell using Gnome "Wireless Networks" manager, but not with iwconfig. At first I tried to connect to this "bq" network while wlan0 was active("ifconfig wlan0 up") using the iwconfig but this didn't change any of the wlan0 parameters.
Then I tried to shutdown wlan0("ifconfig wlan0 down") and executed:
Code:
Now the changes applied and "iwconfig wlan0" gives following:
Code:
Everything seems to be correct, but I'm still "Not-Associated". I have tried with "iwconfig wlan0 essid bq", "iwconfig wlan0 ap 00:24:14:F9:0B:92", "iwconfig wlan0 essid "bq" mode Managed" etc, but whatever I try, it does not connect. I even did "/etc/init.d/gdm stop" in order to be sure, that Gnome "Wireless Networks" is not interfering with "iwconfig", but this gave no results as well. I can associate with this AP using the Gnome "Wireless Networks" just fine, but for some reason I can't connect using iwconfig.
View 4 Replies
View Related
Apr 30, 2011
Some minimized apps no longer appear in the top menu and by that are no longer accessible.For example firefox with the minimize addon or Jungel Disk backup service.How can I reach apps that minimized them self and are not shown in the top menu?
View 2 Replies
View Related
Nov 15, 2010
why I get this message during startup? I have to chose efore I can start up my system."The disk drive for /data is not ready yet or not presentContinue to wait; or Press S to skip mounting or M for manual recovery"Once upon a time I had a partition with that label, but I've since deleted it and resized my system partition to use that space. Why does my system keep looking for this drive?
View 7 Replies
View Related
Nov 24, 2010
My 10.04 is mounting my USB drive at startup. This is fine except sometimes it mounts to drivename_ rather than to drivename. How do I make it always mount to drivename.
View 1 Replies
View Related
Feb 4, 2011
I am running Ubuntu 10.10.I just purchased a 1TB external drive (USB). I formatted it Ext4 and everything works perfectly except it checks/indexes it everytime i boot which takes forever.I can turn it off on boot to fix the issue, but was just wondering if there was a bypass of this check on this particular drive.
View 2 Replies
View Related
Jun 17, 2011
How can I automount a drive at startup? What changes do I need to make to the /etc/fstab file? I am posting the screenshot of my gparted. I want to automount /dev/sda2 whose label is "Home" and which is an ntfs partition. You can see it in the screenshot.
View 9 Replies
View Related
Apr 18, 2011
we have a dual server setup: Windows server 2003 and Ubuntu 10.04 with apache installed with all the goodies. This is all virtualized. What I'm wanting to do, is make the new website we've created run on the Ubuntu machine, which it is, and be accessible outside the office. However, by doing this, we forfeit being able to use remote access or web exchange on Windows server 2003.
How can I create a link from the new website on Apache point to the internal server and it work outside of the office?
View 7 Replies
View Related
Sep 14, 2010
I just bought a new mouse, that has 7 buttons! Beyond the normal left and right click, middle button, and buttons to navigate on the internet, I'd like to be able to associate custom functions to the other two buttons. I've tried to use keyboard shortcuts. However, it doesn't recognize the mouse click as a valid key.
View 2 Replies
View Related
Dec 29, 2009
We need to have the wireless associated with the access point prior to the first login.
Have not been able to get it to work yet. WPA-PSK. wireless will not connect until login.
This is necessary for nfs automount and openldap auth to work. Not a home networking environment.
How to troubleshoot effectively.
View 3 Replies
View Related