nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Change /tmp path on KDE as it is too small for KDE

This is a discussion on Change /tmp path on KDE as it is too small for KDE within the Ubuntu / Debian forums, part of the Linux Distribution category; Hi -- Recently I've started working with fairly large image files using Krita (it's the only app I've found that ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-26-2008, 03:07 AM
Junior Member
User
 
Join Date: May 2008
My distro: Debian
Posts: 2
Rep Power: 0
marccarter0 is on a distinguished road
Default Change /tmp path on KDE as it is too small for KDE

Hi --

Recently I've started working with fairly large image files using Krita (it's the only app I've found that will do 16-bit grayscale image. The problem with Krita is that you cannot tell it where to store temp files while you're working, and these files get quite large.

I have two HDDs in this box; the boot disk is 80 mb and the slave is 160. Here's what df -h looks like:

marc@machupo:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 259M 172M 73M 71% /
tmpfs 1007M 0 1007M 0% /lib/init/rw
udev 10M 112K 9.9M 2% /dev
tmpfs 1007M 0 1007M 0% /dev/shm
/dev/sda11 9.2G 596M 8.1G 7% /home
/dev/sda9 33G 177M 31G 1% /opt
/dev/sda8 373M 11M 343M 3% /tmp
/dev/sda5 4.6G 2.8G 1.6G 65% /usr
/dev/sda10 19G 186M 18G 2% /usr/local
/dev/sda6 2.8G 315M 2.4G 12% /var
/dev/hdb9 117G 12G 105G 10% /odisk/opt
/dev/hdb7 953M 202M 752M 22% /odisk/home


The slave disk currently is only mounted for the old /home (for stuff that hasn't yet been migrated) and for the /opt partition, which has a lot of stuff I want to keep.

What I would like to do is take part of that old disk (from the /opt partition) and somehow convince this machine that it should use that as /tmp, at least for KDE sessions that I'm running.

I've been poking around all over the place looking for an elegant and permanent way to do this, and haven't come across anything. I'm wondering whether any of you have any ideas.

Thanks for any ideas!

m
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-26-2008, 03:20 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 554
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

You can modify /etc/fstab file to point /tmp on /dev/sda9 and just create /opt on /. Make sure you comment out /tmp entry in a file and type the command mount -a

Another option is set following variables
Code:
mkdir /opt/tmp
export TMPDIR=/opt/tmp
TMP is special values to indicate the users KDE temporary directory of the user, so enter:
Code:
mkdir /opt/tmp
export TMP=/opt/tmp
URL Restrictions
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat

Last edited by rockdalinux; 05-26-2008 at 03:24 AM.
Reply With Quote
  #3 (permalink)  
Old 05-26-2008, 09:34 PM
Junior Member
User
 
Join Date: May 2008
My distro: Debian
Posts: 2
Rep Power: 0
marccarter0 is on a distinguished road
Default Thanks.

What I did was brutally simple; I just wasn't thinking.

I just changed fstab to point sda9 to /tmp and sda8 to /opt. I didn't have anything in the /opt partition on this box anyway (it's all in the /odisk/opt directory). That partition has 33gb on it, and that ought to be plenty...

Thanks again.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How can I set Path in bash shell chanderbio Shell scripting 2 06-13-2008 10:38 AM
how to change root password sandromax Solaris/OpenSolaris 4 10-11-2007 02:43 AM
Small handy one liners digen Getting started tutorials 0 02-07-2007 03:40 PM
How to Change Password puppen Linux software 6 06-06-2006 01:56 PM
linux setting system-wide path Linux software 1 01-28-2006 11:19 AM


All times are GMT +5.5. The time now is 12:19 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36