Sha256: 464312b456e1e97b1d20a82028631567f304301547021e2ee7a6d6a6daeb275e

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 Bytes

Contents

# encoding: utf-8

require_relative '../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

3 entries across 3 versions & 1 rubygems

Version Path
y_support-2.4.6 lib/y_support/kde.rb
y_support-2.4.5 lib/y_support/kde.rb
y_support-2.4.4 lib/y_support/kde.rb