On Mar 23, 8:57 am, [email protected] wrote: > On Tue, Mar 23, 2010 at 08:02:58AM -0400, Roy wrote: > > It depends on the desktop environment. > > GNOME uses Nautilus > > KDE 3.5 uses Konqueror > > KDE 4.x uses Dolphin > > XFCE uses Thunar > > Ubuntu uses GNOME, therefore Nautilus and Kubuntu is KDE 4.x and > > therefore > > uses Dolphin. *There are other desktop environments such as LXDE, > > Openbox, > > Fluxbox, and Enlightenment. If you go to Distrowatch it gives the top 100 > > distros and if you click on one it will list every package or you can > > just > > Google the distro and go to its web site. > > As for listing drives you can use a GUI or commandline. It is your > > choice. > > Ubuntu lists all drives in the media folder, but not all distros do it > > this way. If they are in fstab then they may be listed under mnt. > > From the CLI you can list drives and partitions with:*fdisk -l*(as root) > > or:*cat /proc/partitions > > or: parted -l (as root) > > Depending on the distro you can use either sudo or su to become root. > > Roy > > On 22 March 2010 23:56, Dos-Man 64 <[1][email protected]> wrote: > > > I need to do this in code. *On KNOPPIX, it seems to be Konqueror. > > OpenSuse seemed to be using Dolphin. *I'm actually not sure what > > DreamLinux uses. > > > Also, what is the best way to obtain a listing of all disk drives on > > the system? *Do I have to parse /etc/fstab (and will I even be able to > > if the program isn't run by someone who is logged in as root?) *Is > > there an easier way? > > -- > > You received this message because you are subscribed to the Linux Users > > Group. > > To post a message, send email to [2][email protected] > > To unsubscribe, send email to > > [3][email protected] > > For more options, visit our group at > > [4]http://groups.google.com/group/linuxusersgroup > > > To unsubscribe from this group, send email to > > linuxusersgroup+[5]unsubscribegooglegroups.com or reply to this email > > with the words "REMOVE ME" as the subject. > > > -- > > You received this message because you are subscribed to the Linux Users > > Group. > > To post a message, send email to [email protected] > > To unsubscribe, send email to > > [email protected] > > For more options, visit our group at > > [6]http://groups.google.com/group/linuxusersgroup > > > To unsubscribe from this group, send email to > > linuxusersgroup+unsubscribegooglegroups.com or reply to this email with > > the words "REMOVE ME" as the subject. > > > References > > > Visible links > > 1. mailto:[email protected] > > 2. mailto:[email protected] > > 3. mailto:[email protected] > > 4.http://groups.google.com/group/linuxusersgroup > > 5.http://unsubscribegooglegroups.com/ > > 6.http://groups.google.com/group/linuxusersgroup > > For launching the file manager, I would set up a queue - i.e. Try to > launch dolphin. Not there? try nautilus. Not there? try konqueror. If > you hit the end of your list, prompt the user for a file manager, and > store this in your list of things to try. >
That's an excellent idea.... > For looking at filesystems, all users can read fstab, and you can parse > it if you want to. Otherwise, running the mount command without any > options will show you all the mounted filesystems. To actually get a > list of disk devices the kernel knows about, cat /proc/partitions is > your best bet. > > application_pgp-signature_part > < 1KViewDownload- Hide quoted text - > > - Show quoted text - I'll try that too. Thanks. -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup To unsubscribe from this group, send email to linuxusersgroup+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
