Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9187545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:47:46+00:00 2026-06-17T19:47:46+00:00

Currently I am using tkinter ‘s askopenfilename in a quicklist editor for Ubuntu to

  • 0

Currently I am using tkinter‘s askopenfilename in a quicklist editor for Ubuntu to get a file’s name and location. Although it works fine, the look and feel is not native.

Is there an easy alternative dialogue window, to navigate and get a file’s name and location?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:47:47+00:00Added an answer on June 17, 2026 at 7:47 pm

    Zenity

    Zenity’s File Selection Dialog provides an easy and natively looking solution with the --file-selection option. The dialog provides a number of options.

    See also Zenity’s man pages.

    In its simplest form:

    enter image description here

    #!/usr/bin/env python3
    import subprocess
    
    try:
        file = subprocess.check_output(["zenity", "--file-selection"]).decode("utf-8").strip()
        print(file)
    except subprocess.CalledProcessError:
        pass
    

    Gtk’s FileChooserDialog

    Another option is Gtk’s FileChooserDialog, which produces, as one might expect, perfectly natively looking file chooser dialog windows.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently using Ubuntu 11.10 and java SE 1.6.0_26. I am trying to
Is there any way to detect which keys are currently pressed using Tkinter? I
I'm using Python Imaging Library and Tkinter. I am currently trying to display an
Im currently using JSP and need to get the a cell in a table.
am currently using google feed api to get feed links dynamically. am trying to
I am currently using the PIL and Tkinter to display images. I am streaming
I'm currently working on a project using the Tkinter module in Python. I am
I'm currently using PIL to display images in Tkinter. I'd like to temporarily resize
I'm currently trying to graph a sphere in a tkinter window using matplotlib. How
How do I get a windows current size using Tkinter, or possibly with the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.