![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
May the Ubuntu Be With You!
![]() |
TIP: free space wasted by root trash
If you're using GNOME, run this command:
Code:
gksudo nautilus '/root/.Trash/' i suppose that anything you delete while running nautilus as root goes there. like an idiot, i had assumed that such things would just go in '~/.Trash' i've been using ubuntu for about a year now, and just realised this. it may seem like common sense, but if it could happen to me, it could happen to you. EDIT: If you're using Xfce, run this: Code:
gksudo thunar
__________________
PHP Code:
Last edited by dbbolton; December 6th, 2007 at 04:04 PM.. |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: May 2007
Beans: 25
|
Re: TIP: free space wasted by root trash
noli me castigare baculo; nec te videtus ero
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: May 2007
Beans: 41
|
Re: TIP: free space wasted by root trash
Wow... I also did not know this. I'm glad that you started this thread.
Fortunately, I only have 28 files there, totaling at about 80 MB.
__________________
There's two ways to do something... The right way, and my way. |
|
|
|
|
|
#4 | |
|
Way Too Much Ubuntu
![]() |
Re: TIP: free space wasted by root trash
When I entered the command and pressed «Enter», the following appeared on my terminal screen
Quote:
Henri |
|
|
|
|
|
|
#5 | |
|
May the Ubuntu Be With You!
![]() |
Re: TIP: free space wasted by root trash
Quote:
__________________
PHP Code:
|
|
|
|
|
|
|
#6 | |
|
Way Too Much Ubuntu
![]() |
Re: TIP: free space wasted by root trash
Quote:
Code:
gksudo nautilus '/root/.Trash/' Henri |
|
|
|
|
|
|
#7 | |
|
May the Ubuntu Be With You!
![]() |
Re: TIP: free space wasted by root trash
Quote:
as a general rule, you should NOT delete things while root, as you could damage your system. if you don't have the permissions to delete a certain file, and must delete it as root, then you can launch 'gksudo nautilus', browse to the file, and right-click on it and delete it. then, it will be an the /root/.Trash/ folder. this is tip was intended for people who have deleted things with nautilus as root, then didn't know that the "deleted" files were still on their computer/where they had gone. it was NOT intended to tell people to start using nautilus as root to delete things.
__________________
PHP Code:
|
|
|
|
|
|
|
#8 |
|
Way Too Much Ubuntu
![]() |
Re: TIP: free space wasted by root trash
Thanks, dbbolton, for the explanation ! If you don't mind, I'd like to pursue this matter a bit further. The files that appear on my terminal after executing the command are mainly of the following type :
Code:
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default Henri |
|
|
|
|
|
#9 | |
|
May the Ubuntu Be With You!
![]() |
Re: TIP: free space wasted by root trash
Quote:
__________________
PHP Code:
|
|
|
|
|
|
|
#10 | |
|
Way Too Much Ubuntu
![]() |
Re: TIP: free space wasted by root trash
Three things happen when I type the command into a terminal.
Henri |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|