[rkward] [Bug 454725] R files are not longer linked to RKWard after update to 0.7.4

2022-06-03 Thread Jan
https://bugs.kde.org/show_bug.cgi?id=454725

Jan  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WORKSFORME  |NOT A BUG

--- Comment #2 from Jan  ---
Thank you for your quick response.

> 1. Check your file assocations for text/r in your system settings.
This settings was not set. That was the problem. More about this below.

> 2. Verify that you can open the file from the command line using 'rkward 
> filename.R' .
This is working.

> 3. What's the result of 'which rkward'?
/usr/bin/rkward

> 4. In your Application Launcher, find RKWard, right click on it, select "Edit 
> Application". What path is shown for the desktop file?
I use Lubuntu with LXQT. Unfortunately, right click inside the application menu
does not work. I havn't found a configuration file that contains the path.
But I can start RKWard from the application menu without any problems.

> It also seems odd that "nothing happens" when you click the file.
The command "xdg-open anyfile.R" at the terminal just showed the contents of
the file. With "ps ax | grep anyfile.R" I saw, that anyfile.R had been opened
with "less". This makes it clear that nothing happens when you double-click a R
file.

Solution:
I've added to "/home/jan/.config/mimeapps.list", section "[Default
Applications]": text/r=org.kde.rkward.desktop;
Then logout, login.
Double-click R file: RKWard opens.

I also tried it on two other systems, there the problem did not occur.
Therefore I close the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

[rkward] [Bug 454725] R files are not longer linked to RKWard after update to 0.7.4

2022-06-02 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=454725

Thomas Friedrichsmeier  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 CC||thomas.friedrichsmeier@kdem
   ||ail.net
 Resolution|--- |WORKSFORME

--- Comment #1 from Thomas Friedrichsmeier  
---
I tried in a fresh VM with (L)Ubuntu 20.04, and installed RKWard 0.7.4 from
this PPA:
https://launchpad.net/~rkward-devel/+archive/ubuntu/rkward-stable-cran

I cannot reproduce this problem with that (and neither in my regular setup). It
also seems odd that "nothing happens" when you click the file. If the
association would simply be missing, the system should prompt you to select an
application (or open the file in kate or similiar).

Please
1. Check your file assocations for text/r in your system settings.
2. Verify that you can open the file from the command line using 'rkward
filename.R' .

I suspect a configuration problem causing the latter to fail. Therefore:

3. What's the result of 'which rkward'?
4. In your Application Launcher, find RKWard, right click on it, select "Edit
Application". What path is shown for the desktop file?

-- 
You are receiving this mail because:
You are watching all bug changes.