Sha256: 0894d49c3a0d4db735ae02b0dc760a15fb0632b2d4a9584e671c52922b43eb5d

Contents?: true

Size: 314 Bytes

Versions: 5

Compression:

Stored size: 314 Bytes

Contents

# encoding: utf-8

require 'y_support'

module YSupport::KDE
  class << self
    # Open a file with kioclient (using KDE file-viewer associations).
    # 
    def show_file_with_kioclient( fɴ_with_path )
      system "sleep 0.2; kioclient exec 'file:%s'" % fɴ_with_path
    end
  end
end # module YSupport::KDE

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
y_support-2.1.18 lib/y_support/kde.rb
y_support-2.1.17 lib/y_support/kde.rb
y_support-2.1.16 lib/y_support/kde.rb
y_support-2.1.13 lib/y_support/kde.rb
y_support-2.1.12 lib/y_support/kde.rb