Ubuntu :: Finding A Folder To Autorun A Script At Login?
Aug 31, 2010
I remember reading something a while back that theres a folder that you can just plonk a bash script into and it will run on login but cant find anything about it now. I have found the command $update-rc.d <filename> but scripts added this way have to lsbInit compliant and i havent got a clue where to start with that I also cant just add it to the startup applications list because for some stupid reason following the kernel update a few weeks back (this used to work fine) suddenly has no effect. Heres the script incase anyone wants extra points for telling me why all of a sudden it doesnt work. (ive also made the same script run as a python3 program to no effect.)
Code:
#! /bin/bash
# This is a simple bash script to automatically play a
# random song on banshee 15 seconds after startup
sleep 15 && banshee --play
View 9 Replies
ADVERTISEMENT
Jun 30, 2010
I am having problems in getting Thunderbird to run. From reading stories on the web I attempted to create the folder ".mozilla-thunderbird" in my /home folder as I could not see the hidden folderWhen creating the folder I get a message that the folder already exists - however I can not see the hidden folder - I see a number of other hidden folders but not this one.
View 3 Replies
View Related
Jun 22, 2010
There's a folder on my Linux desktop which shouldn't exist. The first time I saw it, I thought I'd accidentally copied it from somewhere else, so I deleted it. Now it's back again. So it must have been automatically created by some process, but what can I do to figure out which program is creating it? I think it's likely that if I delete the folder it'll eventually be created again, so I should be able to catch this program in the act if anyone can suggest a technique for doing so. By the way, there are no files in this mystery folder, and its name is the same as another folder I created months ago to hold my personal documents, not something that a program would create to hold its own configuration files or the like.
View 2 Replies
View Related
Oct 26, 2009
I want to know is there a command to find size of a folder.
View 4 Replies
View Related
Jul 12, 2011
Using Thunderbird 3.1.10 and no longer can see copies of my sent messages in the Sent Folder. I tried to tick the box in account settings to save a copy and it would not take the change. What I did notice is that the e-mails sent are being received on the other end, but I do not have a copy in the Sent folder. It seems as though my e-mail account has been hijacked, and I changed my e-mail account password as a precaution. I am also getting e-mail BACK in my in box that I sent to other people. My AT&T account uses yahoo and my account through AT&T was originally bellsouth.net What can I do to make sure I get a copy of all of my e-mail sent out?
View 5 Replies
View Related
Jun 29, 2010
is there a recursive shell or Perl script to delete files with the same name as the parent folder? i wish to include the starting folder name as argument to the script.
View 2 Replies
View Related
Jul 21, 2010
I'd like to open a folder automatically after logging in. The folder is a samba shared folder but it shouldn't matter. I've tried launching nautilus as a "startup application", but then Ubuntu will enter some kind of loop and pop up lots of window saying "starting file manager". I am using Ubuntu 10.04.
View 3 Replies
View Related
Jul 13, 2010
I have a CD for Doom 3. I pop it into my disk drive. Ubuntu recognizes it, but it doesn't run automatically. How do I make it so that it runs?
View 1 Replies
View Related
Mar 18, 2011
Ubuntu 10.04. Also have Kubuntu desktop installed. Usually use Ubuntu. Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"
So, created the ~/Desktop folder. Changed the line in user-dirs.dir to read XDG_DESKTOP_DIR="$HOME/Desktop". Log out. Log back in. Result:
Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"
Logged into the KDE desktop. It complains that the ~/Desktop folder does not exist. Shows nothing on the desktop. Create the ~/Desktop folder. Set KDE to use the ~/Desktop folder. Check .config/user-dirs.dir and make sure that the Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/Desktop" line is in. Everything is set. Log out.
Log in to Ubuntu. Result:
Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"
This problem showed up on two computers after a clean install of Ubuntu 10.04 followed by an install of the Kubuntu desktop. Might as well install Kubuntu desktop because some of the utilities I like to use (Kate, Krusader, etc) require that major parts of it be installed anyway. What appears to be happening is that the user-dirs.dir folder is getting ignored and is overwritten either on logout or login and the ~/Desktop folder is being deleted.
View 6 Replies
View Related
Jun 24, 2010
i have a virus in my mp3 that i don't know how to get rid of. the virus is called 'autorun.inf'. even though it doesn't affect Linux (i think) when i mount the mp3, the icon appears as if it was an empty folder. it use to let me delete/copy files into the mp3 but now it doesn't anymore. i cant delete the autorun.inf file or any file!
Ive had this problem before on the same mp3 and what i did was format the mp3 in windows but the thing keeps coming again and again . ive seen a couple 'windows solutions' for this but i dont have windows anymore so...
View 3 Replies
View Related
Jan 24, 2011
When I plug in my iPhone to my computer, VLC starts and begins to auto run the videos from my phone.How do I go about stopping this?How do I get Ubuntu to just open up the file system on the phone?
View 1 Replies
View Related
Mar 20, 2010
When installing the latest Distro of Mint (I believe this is not much different, if at all, from Ubuntu as far as this goes) I chose to have my Home folder encrypted using the login password. This was a function of the installation. What I was wondering about was how secure this was and if I should maybe use something to do a better encryption or not.
View 1 Replies
View Related
Apr 1, 2010
I have Ubuntu Server installed in one machine and ubuntu desktop in 3 more machines. What I would like to have is, authenticate the clients using a central user DB and also the home folder for a user should be available in any client machine in which he logs. I see that openLDAP takes care of authenticating clients but what application to use to mount the user's home folder from the server to the client machine on logging.
View 2 Replies
View Related
Jul 9, 2010
I got ssh passwordless login to work. If /var/www permissions are set to 750 it works, but when trying to access the server from a browser it shows permission denied. When I set /var/www to 777, users can access the files through a browser but then ssh passwordless login doesn't work. Anyway around this, so both will work?
View 1 Replies
View Related
Apr 16, 2010
using ubuntu 9.10 and wine 1.0.1 was able to install Delorme street atlas 2008 plus sucessfully but when I run autorun.exe the app. doesn't start only the first screen that says "creating controls connecting to components and then nothing happens.
View 3 Replies
View Related
Apr 26, 2010
I delete every symlink to mysql in rc but it's still starting.Code:sudo ls /etc/rc*|grep sql returns nothing
View 5 Replies
View Related
Jul 22, 2010
I wish to enable battery tab in Acer 751, Lucid. The command I type in terminal every time I start the netbook is: Quote: cat /proc/acpi/battery/BAT1/info How do I make it run automatically on start up?
View 2 Replies
View Related
Nov 20, 2010
I need to run a shell to enable pseudo-multitouch on my touchpad using a shell which automatically configs synclient.I put this file under /home/<username>/, and also put this to the Session manager under system menu. But it doesn't work. I've already used chmod command to make sure that the file is executable.
View 9 Replies
View Related
Mar 27, 2011
i would like to know how to start a Ubuntu boot without GUI and autorun rdesktop after start of Ubuntu?
View 9 Replies
View Related
Jan 17, 2010
When I create a new user account and login the first time to Gnome a series of files and directories is created in the user's home directory. Those directories are for example:
.ICEauthority
.cache
.config
.dbus
.gnupg
Bilder
Desktop
Documents
Musik
Videos
Vorlagen
�ffentlich
How can I control what files and directories are created? I checked /etc/skel but none of those entries where there. In particular, I do not want to have the folders "Bilder", "Documents", "Musik", "Videos", "Vorlagen" and "�ffentlich" being created.
View 8 Replies
View Related
Sep 29, 2010
i need to always mount the user share of my Windows server at Ubuntu login.
This is my server struture:
Server
|-Group1
| |-user1
|
|-Group2
|-user2
ive found that i need to configure pam mount and i have this example:
<volume user="user" fstype="smbfs" server="krueger" path="public"
mountpoint="/home/user/krueger" >
but i dont know what to change relative to my server folder struture.
View 9 Replies
View Related
Jan 21, 2010
Had a problem getting my internet connection working with Ubuntu, but I resolved that issue. Problem is I still have to manually run dhclient every time Ubuntu boots, because I have no network unless I do. Is there a script or something that can do this automatically?
View 1 Replies
View Related
Jul 2, 2010
I have an external WD hard drive on which I have created several partitions to facilitate data arrangement. Whenever I plug it in, all partitions are mounted. That is okay. I want it to automount all partitions. But the annoying thing is all partitions opening and popping up and cluttering my desktop (which I, very dearly, keep very arranged and clean...)
I hate it and want to edit the settings so the folders will not automatically open and pop up into my face..
View 2 Replies
View Related
Dec 1, 2010
Used to be under System > Preferences... now I can't find it. And no google entries about it (most are from 2007) and I find it amazing there's no entry on it on the forum either! -> http://ubuntuforums.org/search.php?searchid=77800610
...as anyone ripping a CD will notice that rhythmbox autoplays it
View 1 Replies
View Related
Feb 7, 2011
I have just installed ubuntu 10.10 with wubi on a computer with windows vista.I have wireless access with ndiswrapper (), but i have one problem the autorun prompt doesn't work with anything.I have reinstalled wubi twice, and the same problem occurs.
View 6 Replies
View Related
Feb 8, 2011
I have an embedded PC104 application where I am trying to get my program to start automatically at power up. The program contains a graphical user interface, using an old SVGALIB (no longer supported). It works fine if I start it after log in.But when I put the path in rc.local, it will only run if I disable all the graphical stuff. The program bunts if it looks ahead and sees the call to vga_setmode(), where I set it for 480 x 640 resolution.
View 3 Replies
View Related
Mar 28, 2011
(Ubuntu 10.10, Unity desktop)How can I configure Ubuntu to launch gtkpod when I connect my iPod? It's currently launching Rhythmbox. I can't find anything about removable media in Unity's Toolbar > Applications
View 2 Replies
View Related
Aug 15, 2009
I am using fedora 3 for samba server, autorun.inf appear on folder. When I delete it and it comes back again. How can i get the rid of it? Which antivirus can delete it?
View 3 Replies
View Related
Jan 9, 2010
My linux prevent CDs autorun! i wanna know what to do?
View 1 Replies
View Related
Sep 22, 2010
I've looked at many tutorials on the internet but none helped me much.I've already tried to edit fstab so it would have something like /dev/cdrom/media/cdrom0udf,iso9660user,auto00.But the thing is this only takes effect when the OS loads, and the CD has to be inserted at that time, so it's not something permanent or viable. What I'm looking for it's something to auto-mount the cd in the fluxbox GUI when it's inserted just like in Gnome or Kde.
View 8 Replies
View Related