Re: .directory files missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ron wrote:
Hi,

While configuring a Konqueror file management profile, I seem to have
wiped out all my folder .directory files.

They should contain:

[Desktop Entry]
Icon=folder_flat

The standard folder icons do not show up. Using nautilus they reappear.

As root, folder icons show up again using Konqueror.

I need a script to start at / and recursively replace the missing .directory desktop configure files in each folder.


I don't know whether what you want to do is the right thing.
However, the following will do it (possibly clobbering
any remaining .directory files in the process).
Put what you want in the .directory files in a prototype
file then:

find / -type d -print | \
xargs -i cp /ABSOLUTE/PATH/prototype {}/.directory

(with /ABSOLUTE etc. being the correct location for the prototype)

--
imalone

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux