Ubuntu :: Linking A Folder To A Harddrive?
May 13, 2010
i would like to link a folder, in my case that is 'Pictures' to a different harddrive with a folder containing pictures.So whenever i save pictures it would save by default onto the harddrive with the linked folder.How can i do that. I tried to do it with ls i think but this makes softlinks which did not let me open automatically open the other folder. omg i hope i don't make it to complicated to understand.So here a visual plan of it.the default folder/home/user/pictureslike to link it to /media/pictures/photoshotsso this is the harddrive (another internal harddrive) which contains a different folder where i store my photos in general.
View 9 Replies
ADVERTISEMENT
May 13, 2010
i would like to link a folder, in my case that is 'Pictures' to a different harddrive with a folder containing pictures. So whenever i save pictures it would save by default onto the harddrive with the linked folder. How can i do that. I tried to do it with ls i think but this makes softlinks which did not let me open automatically open the other folder. omg i hope i don't make it to complicated to understand.
So here a visual plan of it.
the default folder
/
/home/user/pictures
like to link it to
/media/pictures/photoshots
so this is the harddrive (another internal harddrive) which contains a different folder where i store my photos in general.
View 4 Replies
View Related
Mar 28, 2010
Not sure if this i the right forum, please let me know if I need to post elsewhere. First, here are my system specs:
HP DV 2808
250 gig SATA drive
4 gig DDR
Nvidia 7150 mobile
Windows 7
Fedora 12
I have my HP DV2000 laptop configured to dual boot Win 7 and Fedora. What I would like to do is mount the Windows folders, (Documents, Music, etc.) automatically in my Fedora home folders. I have done/tried the following:
1: identified my partitions:
[Code]...
View 1 Replies
View Related
Apr 18, 2010
I have written an OpenGL based program which uses i.a. libjpeg that I want to link statically so I can send it to someone who doesn't have all the libraries needed installed to allow for a dynamically linked executable to run. As such I tried with giving the [b]-static[b] parameter to gcc.
Code:
x86_1$ make
gcc -O3 -c jpegloader.c
gcc --std=c99 -O3 -c --std=c99 -I/usr/include -L/usr/X11R6/lib main.c
[code].....
Why would gcc claim that I'm missing GLUT? This works perfectly fine when I do dynamic linking -- i.e. omitting the -static argument.
View 13 Replies
View Related
Mar 9, 2011
i've worked with Linux for a while now, but never in a double boot kind of way (except using wubi), and i'm still kind of a newby.i have 2 harddrivesfirst one has only 1 partition; Windows XPsecond one has 1 empty partition, simple storageand another partition where i installed fedora core, and GRUB is also located on this harddrive.I changed harddrive priority to my second harddrive, result:GRUB comes up, no problem, but when I try to boot windows, it tells mentldr is missing ctrl alt del to continueso i changed the harddisk priority back to the way it was, where the first drive containing windows is first priority... but then, no GRUB.i've tried editing the grub conf,i've tried fixboot/fixmbrtl;dr:no ntdlr when linux harddrive is main priorityno grub when windows harddrive is main priority
View 4 Replies
View Related
Mar 18, 2010
I have a domain name registered with Enom and have access to the domain settings, what I want to know is there a way I can link my domain name (sbarow.com) to my Ubuntu server. I would like to be able to type my [url] into my browser as opposed to [url] to access my server from other locations.
View 4 Replies
View Related
Jan 4, 2011
What issues will I create for myself if I link /bin/sh back to bash?
View 3 Replies
View Related
Jun 18, 2010
After I downloaded the source for lua, I followed the install instructions, doing...
make linux install
make generic install
I've also done the make test and it passes, printing out Hello World, from Lua 5.1. However, I can't link to the lua libraries in CodeBlocks. I know where lualib.a is (usr/local/lib) which I set in my Search Directories for the linker. I still get error messages like...
undefined reference to lua_isstring
P.S. I had this running on Windows via Visual Studio.
View 1 Replies
View Related
Jul 18, 2010
Is there any way to embed a URL to an external web page in the text of a tomboy note, in the same way that other notes are linked to? I know I can just pates the URL into the note and have it link out, but when the link is over a hundred characters long (not kidding) then that stops being an option.
View 1 Replies
View Related
Feb 23, 2011
So me and my friend our on my network and we have done a bit of hacking and have managed to get music off of pandora and have it sort it by forlder /media/...../artist/album/song and it won't redownload a song that we have already downloaded (this is done by our code that we stripped from pithos and modified a bit) also we wrote a bash script that renames all of our files correctly and tags them with .mp3
I was wondering if I could link our two hard drives to make sure that we aren't both downloading the same songs. I am also having issues getting my external accessible on the network i have it formatted to use a FAT32 file system.
View 1 Replies
View Related
Aug 1, 2011
My principle machine is Ubuntu 10.10 (x86_64) with gcc version 4.4.5, but I'd like to run the compiled/linked code from it on a RHEL server release 5.4 with gcc version 4.1.2.
Now, the error at runtime is "version 'GLIBCXX_3.4.9' is not found (required by ./executable)". The server has /usr/lib64/libstdc++.so.6.0.8, but seems to need at least .so.6.0.9. However, the admin of the server will not allow the libraries to be updated as "the entire system is tied to an older version of glibc and forcing an upgrade could break the entire system especially when making the jump across major revisions."
He recommended that I build the newer version of glibc in my home directory and link against the libraries, but didn't offer direction on how.
View 1 Replies
View Related
Oct 1, 2009
I have created a Fedora 11 image with the GUI stripped out that autoboots into a mainframe terminal emulation program(c3270). I have everything working except for a print screen function. I have made a little script that will dump the screen from tty3 and send it to a printer, but I have no way for the end user to run this without giving them access to a terminal and I do not want them playing with that. So I was wondering if anyone knew a way to link the running of a script to a keybinding. That way all they have to do is hit Print Screen or some alt + key combo to get the screen capture.
View 2 Replies
View Related
Apr 29, 2010
I have a C code and assembly (nasm) code and I am not able to find how to link them each other. Here are the codes :
NASM side:
Code:
global_maxofthree
section .text
_maxofthree:
[code]....
I am using ubuntu 9.10 and my NASM version 2.05.01 compiled on Nov 5 2008.
View 4 Replies
View Related
Feb 2, 2011
I tried linking my MSN account to Empathy Messenger for the first time - all went well But.I went to my friends house the next day and he told me that my MSN account status on his Windows PC MSN was continuously logging in and out. My computer had been switched off all morning and only used the night before. I went home logged on to Ubuntu 10.10 Empathy and I was logged off - I logged on and then logged off and rang my friend he told me that My status was now showing "That I was away"
I have dual boot system (xp) I went and changed my MSN password and question- should I be concerned is this a known software glitch/ security issue?
View 1 Replies
View Related
Apr 17, 2011
I ran:
Code:
sudo rm -R /root/.themes
sudo rm -R /root/.icons
sudo ln -s ~/.themes /root/.themes
sudo ln -s ~/.icons /root/.icons
but on running
Code:
gksu nautilus
It still uses the same theme, not my own.
View 1 Replies
View Related
May 12, 2011
can i link my linux (dedicated) to my windows 7 computer - b0th are laptops.
View 3 Replies
View Related
Oct 25, 2010
I want to prevent grub-pc from automatically creating links to other operating systems on my laptop. Whenever there is a kernel update, grub.cfg ends with links pointing at my Windows 7 installation - I want to get rid of those links. At the moment I am doing that by manually editing the grub.cfg file and it has always worked that way. I tried to force grub-pc to avoid creating links to Windows by renaming the relevant scripts in /etc/grub.d edbarx@edbarx-pc2:/etc/grub.d$ ls 00_header 05_debian_theme 10_linux 20_linux_xen _30_os-prober _30_otheros 40_custom 41_custom README As you can see I added an underscore to the files that I don't want to be executed.
I think this can be solved by changing the file permissions of the unwanted scripts making them impossible to execute.
edbarx@edbarx-pc2:/etc/grub.d$ ls -l
total 52
-rwxr-xr-x 1 root root 6433 Aug 7 18:10 00_header
-rwxr-xr-x 1 root root 1474 Jul 16 18:46 05_debian_theme
-rwxr-xr-x 1 root root 4252 Aug 7 18:10 10_linux
[Code]....
View 11 Replies
View Related
Apr 1, 2011
We have one office with a simple samba server running on Lenny; not a PDC, just simple username/password authentication. It also acts as a DHCP server, NTP server, and DNS server. All clients are windows machines (mainly XP Pro, but also starting to get Win7 show up). For remote access, most users have chrooted WinSCP; OpenVPN was setup, but too slow for most AutoCAD uses (our primary application). It is still used by a few people, though.
I need to set up a similar system in another location, and need to provide access to both servers. People mainly access files stored in their own office, but will occasionally need to access files in the other office. In intend on having both run the same version, whether I stick with Lenny or put both on Squeeze.
I was thinking of setting up both servers, and then mounting the remote file system (the "other" server) over the internet, possibly via sshfs, but do not know if it is reliable enough. Or perhaps via OpenVPN connecting the servers, but then the overhead of the VPN may become an issue, adding lag time. The remote shares would then be accessible via the samba config.
Are there other options that may be easier to set up, more reliable, or more secure? We do not want a domain set up, just simple workgroups. Since many are using their personal laptops, joining them to the domain can cause some problems. It would also require more effort to add a new computer, and with the constant stream of outside consultants we use, that could get cumbersome.
My main issue: no budget beyond the low cost box for the second file server, so it has to be an open source solution from start to finish.
I'm not quite a newbie - I have quite a bit of experience setting up and maintaining basic Samba / DHCP / ssh servers - but not much beyond those. I certainly am open to learning new things and doing the research, but my head is swimming with all the options I have come across.
View 1 Replies
View Related
Oct 17, 2010
I am running Fedora 13 on a ASUS G71G Trying to install GTK+ 2.4.8; after installing all the dependencies(Pango, Glib2.0, ATK), I ran ./configure from my GTK+ directory. It configured for a while, then this happened: checking for X... no configure: error: X development libraries not found I tried linking them with PKG_CONFIG_PATH=<path to X lib directory>, but I got the same error message. How do I get GTK+ to recognize the X development libraries? Additionally, does the default build of X11 on Fedora 13 contain the appropriate libraries? Ive included the GTK+ configure scripts as an attachment.
View 1 Replies
View Related
Feb 23, 2011
I'm building a static library (openssl) and linking with a shared library. I built openssl static library with out -fPIC option and in the makefile of shared library there is an option of -fPIC. When I'm compiling shared library with static library, I'm not getting any relocatable error, since static library is not built with -fPIC and shared library is compiling with -fPIC.
GCC version : gcc 4.0.4
OS : CentOS 5.2
View 3 Replies
View Related
Jan 20, 2010
I have a library that I have ported from Windows, and is not a derivative work of Linux. The library is subject to copyright law, and I can't disclose the source. I would like to link a GPL application to this library, and want to know if the linking would cause the library to be GPL. If the library becomes GPL, is there some other way (kernel loadable module?) that I can keep my library from becoming a work of GPL?
View 2 Replies
View Related
Jul 14, 2009
I have a wide area network with 7 CentOS servers running Bind and 1 Windows 2003 server. All 8 of these servers handle DHCP and DNS at their respective locations. At each site I can ping computer.site.company I'd like to be able to resolve the dns names from site to site. So from site1 I would like to be able to ping computer.site2.company and get a response.
View 4 Replies
View Related
Apr 11, 2010
This is probably a really stupid thing to ask considering the development I'm doing (effectivly creating a virus scanner), but how do I link classes/cpp files?I have 3 applications/sections that I can compile/combine with a makefile, that's fine, but I need them to run 1, 2, 3 once the output from the makefile is done.Currently the only section to actually run is whichever I have "main" in and obviously if I put that into all three, they won't compile as one.I've been looking all over the place at all sorts, header files and such, but there is no mention of how toually do this although I'm sure it must be possible. I'm used to being able to do this in Java and I'm sure I've seen C++ applications do it, but not worked out how.I have 3x .cpp files which are combined into one using a makefile:
Code:
# Virus Scanner
scanner.out : ProgramList.o MD5Hash.o HazardCheck.o
[code]...
View 2 Replies
View Related
Jun 10, 2010
There's a problem with static linking (and no problems with dynamic linking).
Here's my code:
Quote:
And makefile rule:
Quote:
That's dynamic linking. And it works perfectly. If i use static linking
Quote:
There is an undefined reference error:
Quote:
As nm shows there's a symbol named BuzzerInit in static library.
View 2 Replies
View Related
Dec 11, 2010
I am trying to build an application that must link with python so as to load a python module during runtime.I have this makefile :
Code:
[alex@iskandhar src]$ cat Makefile
CFLAGS = -Wall -O3 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK
[code]....
View 4 Replies
View Related
Oct 5, 2010
I have a really simple program trying to use XInput2.h, which fails on linking
Code:
#include <X11/extensions/XInput2.h>
int main(){
Display *XSession = XOpenDisplay(NULL);
int OriginScreen = 0;
int pID = 7;
[Code]....
I'm at a loss about what to do. Replacing XIWarpPointer by XWarpPointer and removing the pID argument solves it, but is not an option (no input ID).
View 5 Replies
View Related
Sep 12, 2010
I am currently finalizing a SSH Tunnel (gSTM) via Ubuntu Server (see: [URL]). The gentleman who helped me there went above and beyond the call of duty as we used to say in the military. Accordingly, I wanted to start a new thread to explore options to the pending completion. So, several systems in play here. I will list two of the three with the presumption that the SSH situation is in play (testing it today from outside of my network).
Systems Currently in Play: Ubuntu 10.04 Desktop Edition with all updates as of today's post: Server: Acer Aspire AST180-400A. It is currently being accessed from Ubuntu 10.04 Desktop Edition with all updates as of today's post from a laptop: Toshiba Satellite A200. Router: Netgear N300 WNR 2000v2. Modem is Motorola Netopia 2210-02-1006. Proposed System To Add: eMachine ET1331G-05w running Windows 7. Why? Well, my girlfriend is terrified to ditch the Bill Hates way of things. It is running through the router currently as well.
What I would like to be able to do is access the Windows 7 desktop via my laptop on the road as well. Specifically, I need to be able to access and view documents and photos. Now, the docs are at least in OpenOffice; she switched to it finally. I would like to also be able to view my desktop to access docs and pictures on the server, but that may be a new thread as the Win7 situation is the priority right now.
View 3 Replies
View Related
Mar 28, 2011
A church I've been working with has a CCTV system that has a web interface for viewing the camera feeds. We need to see the page from the outside, but it is just an HTTP page, no encryption. The box itself does not accept any sort of SSL encryption. How I can get this on the net in a secure way? At worst I could set up a remote desktop type solution, but I was really hopping I could use some apache magic and just re transmit the page to https and ssl encrypted.
View 2 Replies
View Related
Oct 26, 2009
I am setting up my first disk share between linux machines using just mount to test ( as with mounting win disks) and it doesn't mount. I get messages like "special device - does not exist" Should I be doing fstab entries from the start or what should I do?. One machine is F11 the other f10 if that makes a difference. I can link one linux to windows on the other machine.
View 8 Replies
View Related
May 27, 2010
I am trying to add some function to the c++ project (calling function) and the called function are in C. And i am getting error "undefined reference to "Hello(int,int)" " while linking. It is compiling correctly. It is linking to header file mention in the calling function. This header file has definition to the c - called function. Do you thinking having c files into C++ project will be a problem? Should I remove <stdio.h> in c files?
View 2 Replies
View Related