Brasero cannot detect drive: No available medium

I’ve experience a problem with Brasero. After a fresh intall of OpenSUSE 11.1, I tried to burn an ISO using Brasero, I had no problem with it on my previous install or so I think. When I try to burn, it couldn’t detect my DVD drive: “No available medium” but the DVD disc are properly placed inside the tray. Anyway I’ll be post here the quick fix I did to get it working:

Here’s it is:

  1. Open YaST
  2. Go to ‘Security and Users
  3. Click ‘User and Group Management
  4. Edit your profile
  5. Go to ‘Details‘ tab
  6. Then on the ‘Additional Groups‘, check the ‘cdrom
  7. Click ‘Ok‘ to save setting

Now open Brasero and start burning!

Note: If Brasero still can’t detect your DVD drive, restart your system this would fix it.

How to remove “Online Help” and “openSUSE” icon on OpenSUSE 11.1

After the installation, The first thing I do is to remove those icons because first, I don’t use it and second, I like my desktop clean.

Here’s how you can remove the “Online Help” and “openSUSE” icon on Gnome desktop:

As root, change directory to ‘/usr/share/dist/desktop-files/’ then delete or move this files:

  • GnomeOnlineHelp.desktop
  • SuSE.desktop

Remove

rawswift:/ # cd /usr/share/dist/desktop-files/
rawswift:/usr/share/dist/desktop-files # rm *

Move

rawswift:/ # cd /usr/share/dist/desktop-files/
rawswift:/usr/share/dist/desktop-files # mv * /to/backup/folder/.

After you remove or move it, notice that the two icons will automatically disappear on the desktop (must be a daemon, run by Nautilus Greeter Application, ‘ggreeter’).

I hope this helps!

Update!

I just found out about this! While I was removing applications on session startup, I’ve noticed an entry named ‘SUSE’ that run an application called ‘ggreeter’. I’m not really sure if removing it will disable those icons, anyway I continue on and disable that entry. The name just gave me a hint and so far I haven’t encountered any problem. Here’s how to disable it:

  1. Open the ‘Control Center
  2. Click ‘Sessions‘ under ‘System‘ category
  3. On ‘Startup Programs‘, uncheck ‘SUSE
  4. Then click ‘Close‘ button

What ‘SUSE’ does is run ‘ggreeter –once’ on startup, must be a daemon.

Removing .svn directories, recursively

This command can be handy. Let say you want to archive your project from the repository and you don’t want to include the ‘.svn‘ directories.

First, checkout your project from the repository:

svn co http://myproject.domain.org/svn/trunk/ myproject-dir

Second, remove the .svn directories:

rm -rf `find myproject-dir -type d -name .svn`

Then archive it using tar command:

tar -cvzf myproject_archive.tgz myproject-dir

…and there you have it!