Squeeze KDE Plasma DT - Can't Create Folder/File
I know this is going to make me look like an idiot...
I recently installed Deb 6.04-kde; which, as I've come to learn, doesn't display the usual icons on the DT Workspace. The problem I'm having is that I can't seem to figure out a way to create new folders or post new files to the workspace. E.g., When I click on the empty DT Workspace and select, "Create New", "Text File" from the drop down menu, and enter a text/file name/location in the title box, I get an error message per "KDE Plasma Desktop" window: Quote:
If it is any help: Code:
~/Desktop$ id -a |
Silly question but, are you logged in as 'rooster'?
Try checking the file permissions for that directory. You can do that by going to the parent directory and typing ls -l for example, Code:
qlue@umzinto:~$ ls -l |
glue:
Bingo! Code:
<snip> So I'm looking at a 'chmod' thing. I'm the onliest user on this machine; ...login password protected against the grandkids of course. I haven't had to use 'chmod' before. I tried: Code:
# chmod a=rwx Desktop Code:
drwxrwxrwx 2 root root 4096 Apr 10 13:39 Desktop r. |
Actually, if that directory is empty the easiest solution is to delete it as root and recreate it as a regular user.
The permissions were correct except that it was owned by root. However, to change ownership you can issue the following; Code:
sudo chown -Rv rooster ~/Desktop Now to fix those permissions; Code:
chmod -Rv 755 ~/Desktop Don't log in as root or use 'sudo su' when doing things. Just use sudo when you need to issue commands as root. It may be tedious, but in most situations you don't need root privileges. Working in root may be the reason this happened. :) |
DOH!!!
|
glue;
AFAIK, 'sudo' isn't a valid call for root privileges for Debian GNU/Linux Squeeze et.al. But that could have changed since Sarge, Etch, Lenny and I wouldn't know. I know 'sudo' is the correct call for Ubuntu, Knoppix, Mepis and some other distros. I tried it anyway. Code:
~$ whoami FYI: I could have been misinformed of course. Perhaps since this is a fresh installation, I need to do something to put my user name in a 'sudoers' file; or something. My man page shows: Quote:
Quote:
Code:
~$ su chown -Rv rooster ~/Desktop Quote:
r. |
Ooops!
I didn't realise that the default Debian doesn't have sudo setup automatically. Well, just running those commands from a root shell will work correctly in this case. I would suggest setting up the sudoers file but I'm not sure how! (I've never had to do it myself) However, the advice of not using root except when absolutely needed is still valid. As to why it won't run recursively, I'm not sure. If the directory is empty you can leave out the -Rv switches. |
Quote:
Quote:
http://wiki.debian.org/sudo Quote:
Quote:
Code:
rooster@royrogers:~$ ls -l r. |
change ~/Desktop to /home/rooster/Desktop
This is the reason why working as root is more difficult. All the pointers are now to different places! So; Code:
chown -v rooster /home/rooster/Desktop |
glue;
That seems to have done the trick. Code:
rooster@royrogers:~$ su Code:
<snip> Thanks. Now back to my OP. The Squeeze "Plasma Workspace" which I'm used to calling "My Desktop" is 'tabla rasa'. I'm used to seeing icons for Home, Trash, & etc. The other thing I'm used to is being able to R/Click on the Desktop Workspace and get a menu that includes "Create New" for folders and files. I need that function. Now a R/Click on the Desktop Workspace gives the menu: Quote:
r. |
I think (ahem) I might have found the problem with my deb6/Squeeze installation that has been confusing the heck out of me for the last couple of weeks.
Given that I am way over my head here, I seem to be missing some key files that pretty much everyone else got with their installs;... and assumed I got too. E.g., Quote:
Code:
/etc/xdg/user-dirs.con and hope some kind soul will give me a clue as to how I can get a 'normal' desktop/workspace. Code:
rooster@royrogers:~$ cd /etc/xdg |
All I can suggest is that you try re-installing the Kde meta-package. (perhaps with Synaptic?)
And I think you might want to start a new thread with a slightly different title. I seem to be the only person responding to this thread and I was concentrating on the permissions issue. (which is independent of desktop environment) You could try either; Code:
apt-get install kde-standard Code:
apt-get install kde-full |
Quote:
Same time, the missing files seems to be the reason for my inability to copy files to Desktop... I'm surprised no one else seems to have reported the same issue. Quote:
'kde-full' seemed to be working. It went on for a long time, asked me to insert the installation DVD in 'cdrom'on several occasions, but ended with additional requests to insert the installation DVD in 'cdrom' which I did, but the same message kept returning and the attempt failed. I'll fuss with this again and start a new thread if no joy. r. |
All times are GMT -5. The time now is 05:14 AM. |