Author Topic: Pidgin Directory Prefs?  (Read 4009 times)

0 Members and 2 Guests are viewing this topic.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Pidgin Directory Prefs?
« on: June 14, 2010, 09:26:07 am »
First off, I'm aware there's an official pidgin developer website that I could ask this question at instead. I'm also aware they're all huge needledicks, so I try to avoid asking things there.

Now, for the important part: I'll be very shortly [as soon as my laptop comes back] reinstall with Win7/Slackware. I intend to install Pigdin on both partitions, but I don't want to deal with having to boot into two different OSes just to keep secure backups of everything. Is there a way to change the Pidgin source in such a way that you can specify a different drive path as opposed to %APPDATA%\Pidgin ? I'd like to have both my Windows & Slackware installs point to that directory and read/write/execute freely.
« Last Edit: June 14, 2010, 02:03:03 pm by deadly7 »
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Pidgin Directory Prefs?
« Reply #1 on: June 14, 2010, 01:42:54 pm »
I remember doing this before on my XP/Fedora box without changing source at all, but I don't remember exactly how.  I also haven't had to deal with it so I haven't tried to remember.  I'll try to see how I did it, though.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Pidgin Directory Prefs?
« Reply #2 on: June 14, 2010, 02:59:14 pm »
Yeah, I know it's possible but I can't think of how. You can try setting the $HOME environmental variable when you run pidgin:
$ HOME=/blah pidgin

If that doesn't work, then an easy solution is to use a symbolic link on Linux:
$ ln -s /mnt/windows/...../pidgin /home/you/.pidgin

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Pidgin Directory Prefs?
« Reply #3 on: June 14, 2010, 03:04:05 pm »
If that doesn't work, then an easy solution is to use a symbolic link on Linux:
$ ln -s /mnt/windows/...../pidgin /home/you/.pidgin

The perfect solution for just about everything. :)
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Pidgin Directory Prefs?
« Reply #4 on: June 14, 2010, 03:12:43 pm »
Yeah, I know it's possible but I can't think of how. You can try setting the $HOME environmental variable when you run pidgin:
$ HOME=/blah pidgin

If that doesn't work, then an easy solution is to use a symbolic link on Linux:
$ ln -s /mnt/windows/...../pidgin /home/you/.pidgin


When I run pidgin would I have to specify the environment every time? I've been Googling but to no avail, so I'm at a loss.

The perfect solution for just about everything. :)
Certainly not very useful for me here. I'm going to have an accessible filespace for both Windows/Slackware to r,w,x and I don't want to have to manage both individual filesystems when I do stuff. So symlinks wouldn't be super helpful for me, if I understand them right.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Pidgin Directory Prefs?
« Reply #5 on: June 14, 2010, 03:39:21 pm »
Yeah, I know it's possible but I can't think of how. You can try setting the $HOME environmental variable when you run pidgin:
$ HOME=/blah pidgin

If that doesn't work, then an easy solution is to use a symbolic link on Linux:
$ ln -s /mnt/windows/...../pidgin /home/you/.pidgin

When I run pidgin would I have to specify the environment every time? I've been Googling but to no avail, so I'm at a loss.
You'd have to put it in the shortcut or whatever when you run it, yet. I'm not positive that pidgin respects $HOME, though, so you'd have to test it.


The perfect solution for just about everything. :)
Certainly not very useful for me here. I'm going to have an accessible filespace for both Windows/Slackware to r,w,x and I don't want to have to manage both individual filesystems when I do stuff. So symlinks wouldn't be super helpful for me, if I understand them right.
A symlink will definitely work from the Linux side, because you can point your config folder wherever you want. I know Windows has some kind of symlink concept as well (I think they call them "junctions"?), but I'm not sure if they can go to different drives.

Worst case, you could mount your Windows NTFS drive read/write from Linux and use the Windows drive directly. It's less than ideal, but it'd likely work.

Offline while1

  • x86
  • Hero Member
  • *****
  • Posts: 1013
    • View Profile
Re: Pidgin Directory Prefs?
« Reply #6 on: June 14, 2010, 06:25:13 pm »
Aye, this link kind shows you a general gist of what you can do, as iago has mentioned:

http://www.howtogeek.com/howto/15053/sync-your-pidgin-profile-across-multiple-pcs-with-dropbox/

Just ignore the use of the service "Dropbox", as it's unnecessary to use something like this.  The link is more so to give you an idea of how you can use WinXP junctions and symbolic links.

IIRC, Win7 and Vista have real symbolic links that work like they do in linux, not just the shitty junctions WinXP offers.
I tend to edit my topics and replies frequently.

http://www.operationsmile.org

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Pidgin Directory Prefs?
« Reply #7 on: June 15, 2010, 09:25:54 pm »
There is a portable version of pidgin that should already have a modification similar to this.

edit: http://portableapps.com/apps/internet/pidgin_portable

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Pidgin Directory Prefs?
« Reply #8 on: June 16, 2010, 02:29:48 am »
I remember having a problem symlinking because my UNIX drive and Windows drive were different partitions or something. It turned out to be politics and I had to do a different type of linking or something. I can't remember.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline while1

  • x86
  • Hero Member
  • *****
  • Posts: 1013
    • View Profile
Re: Pidgin Directory Prefs?
« Reply #9 on: June 16, 2010, 07:19:07 am »
I remember having a problem symlinking because my UNIX drive and Windows drive were different partitions or something. It turned out to be politics and I had to do a different type of linking or something. I can't remember.

Most likely it's because your Windows drive was NTFS and your UNIX ext2/3.
I tend to edit my topics and replies frequently.

http://www.operationsmile.org

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Pidgin Directory Prefs?
« Reply #10 on: June 16, 2010, 08:39:54 am »
I remember having a problem symlinking because my UNIX drive and Windows drive were different partitions or something. It turned out to be politics and I had to do a different type of linking or something. I can't remember.
Hard links (ln) have to be on the same partition, and soft links (ln -s) can be on different ones. A hard link is basically another way to access the file, the same in every way (you can't even tell it's a hardlink unless you look at the node count), whereas a software is just a pointer that can point anywhere (even to places that don't exist).

I always use ln -s unless there's some compelling reason not to.