Desktop problem

JD jd1008 at gmail.com
Sun Aug 15 01:55:49 UTC 2010


  On 08/14/2010 06:42 PM, Thomas Cameron wrote:
> I have a shell script I use to "reset" my default desktop environment.
> It keeps my important stuff like my ~/.ssh directory, mail directories
> and so on.  To use it, I log out of GNOME, run it, and log back in.
>
> [tcameron at case ~]$ cat ~/bin/cleardots
> #!/bin/bash
> ls -ad .* | egrep -v
> "bash|elluminate|evolution|gnupg|mozilla|pan2|procmail|purple|rpmmacros|sig|ssh|skype|thunderbird|vpngui"|xargs
> rm -rf
>
> Hope this makes sense to you.  It resets my desktop back to defaults
> while keeping my important dot files.
>
> On 08/14/2010 12:56 PM, Marvin Kosmal wrote:
>> Hi
>>
>> Using default install..
>>
>> Gnome desktop
>>
>> Thanks
>>
>>
>> On 8/14/10, binarynut at comcast.net<binarynut at comcast.net>   wrote:
>>>     On 08/14/2010 11:22 AM, Marvin Kosmal wrote:
>>>> Hi
>>>>
>>>> I am using Fedora 12 and something happen to the desk top
>>>>
>>>> I no longer have the icons in the upper left corner of my desk top.
>>>>
>>>> I had a firefox crash a couple days ago.  I wonder if the two are
>>>> connected..
>>>>
>>>> Anyway, is there an easy way to get the menu back?
>>>>
>>>> Firefox had its own icon so I can still do email.
>>>>
>>>> I guess I could revert back to an earlier kernel and see if everything
>>>> is OK there?
>>>>
>>>> TIA
>>>>
>>>> Marvin
>>> It sounds like your using KDE-4.
>>>
>>> Start over with your desktop by deleting .kde and logout than log back
>>> in and reform your desktop.
>>>
>>> When reforming your KDE Panel put the Task manager on first, System
>>> Tray, Digital Clock, Notifier and so on,
>>> and in that sequence.
>>> --
>>> users mailing list
>>> users at lists.fedoraproject.org
>>> To unsubscribe or change subscription options:
>>> https://admin.fedoraproject.org/mailman/listinfo/users
>>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>>

You must know that
.* matches
the directory .
and the directory ..

To wit:

$ echo .*
. ..  .AbiSuite .adobe .alias .amaya .amazonmp3 .asoundrc .aspell.en.prepl

Notice . and .. ???

If you want to pick up onlythe dot files, then use
.[a-zA-Z]*

$ echo .[a-zA-Z]*
.AbiSuite .adobe .alias .amaya .amazonmp3 .asoundrc .aspell.en.prepl
I have a bazillion dot files in my home dir. I only copied and pasted a few.


More information about the users mailing list