View RSS Feed

deano_ferrari

Creating a file option for installing RPM packages

Rate this Entry
Quote Originally Posted by deano_ferrari View Post
I wanted to be able to install a single RPM package again, so today I right-clicked on a RPM package, and chose 'Open With' > 'Other...', then entered
Code:
xdg-su -c "/sbin/yast2 sw_single %F"
This created 'xdg-su.desktop in ~/.local/share/applications. I renamed this file to software-installer.desktop and edited it so that the name made more sense to me
Code:
Name=Software Installer
There should be corresponding update in ~/.local/share/applications/mimeapps.list as well.
Now when I want to download a single RPM package, FF gives me the option to install the file using 'Software Installer' as desired.

Submit "Creating a file option for installing  RPM packages" to Digg Submit "Creating a file option for installing  RPM packages" to del.icio.us Submit "Creating a file option for installing  RPM packages" to StumbleUpon Submit "Creating a file option for installing  RPM packages" to Google Submit "Creating a file option for installing  RPM packages" to Facebook Submit "Creating a file option for installing  RPM packages" to Twitter

Categories
Uncategorized

Comments

  1. qbasix's Avatar
    This work perfectly for my Leap 42.1 with KDE