LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2018, 05:02 PM   #1
8efQWXxX
LQ Newbie
 
Registered: Aug 2018
Posts: 3

Rep: Reputation: Disabled
no pop up windows in gui apps


hey guys! first post of a long time reader.
so i installed debian 9.5 no desktop, on an old dell inspiron mini 1018. then i installed minimal xorg, and openbox + tint2, and among others gpa (GnuPG Assistant). when it cannot find any, it asks to create a private key. it asks for a name, email, and whether a backup should be created, before trying to generate a key. if gpa is started by a launcher (ie. the .desktop file is launched which executes gksudo gpa) then after like 15 secs it tells me that an unexpected timeout has happened, and no key is generated. first i thought there it's a bug, but then i realized, if i start gpa from the command line, it shows a window there to put a passphrase that protects the key.
so my question is what can i do to make applications show these kinds of prompts in the gui as i suspect it is not a gpa specific phenomenon?
 
Old 08-07-2018, 02:04 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
there were some problems with gksu in debian recently iirc.
try to change the Exec line to
Code:
pkexec gpa
 
Old 08-07-2018, 03:37 AM   #3
8efQWXxX
LQ Newbie
 
Registered: Aug 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
there were some problems with gksu in debian recently iirc.
try to change the Exec line to
Code:
pkexec gpa
same rusult. altough now i noticed that when i exit openbox/the x session, a black and white window is visible for a fraction of the moment that is resembles the one that asks to create a passphrase in the terminal. that window does not seem to be accessible/existing tho until then.

other idea?

Last edited by 8efQWXxX; 08-07-2018 at 03:40 AM.
 
Old 08-07-2018, 12:50 PM   #4
8efQWXxX
LQ Newbie
 
Registered: Aug 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
k i was wrong. i accidentally changed another application's desktop file. now that tried, both applications that i set to launch
Code:
Exec=pkexec application_name
showed me the lil running ring icon that indicates the system works on something for like 10s and thats it, seemingly nothing more is happening, the app does not open.
 
Old 08-11-2018, 01:29 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
let's see the exact command you enter, and the Exec line inside the .desktop file executed by the menu.
 
Old 08-18-2018, 11:01 PM   #6
Mik3e
LQ Newbie
 
Registered: Dec 2014
Posts: 20

Rep: Reputation: Disabled
pkexec requires a policy file for each application. If 'pkexec [program name]' runs at the command line then there is a policy, else one needs to be created.

I think I've discovered that desktop files do not execute pkexec. I have needed to create a script to execute 'pkexec [program name]', and then have the desktop file run that.

Mike
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: YES, Windows 10 will eat Android apps ... and iOS apps, too LXer Syndicated Linux News 0 04-29-2015 09:45 PM
[SOLVED] GUI solution to filter text dragged onto its icon and display in pop-up? catkin Programming 3 11-18-2014 01:41 AM
LXer: More fake antivirus apps pop up in Google Play, Windows Phone Store LXer Syndicated Linux News 0 05-18-2014 12:03 AM
Getting gui dialog pop-ups (from bash) to stay on top of other windows josephj Linux - General 2 09-01-2013 02:08 PM
fast, simple, gui pop/smtp mail client infamous41md Linux - Software 3 02-22-2004 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration