Bug 421833 - .bashrc command breaks krunner
Summary: .bashrc command breaks krunner
Status: RESOLVED DUPLICATE of bug 417050
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-20 18:55 UTC by Dario (dac#8469, dac73)
Modified: 2020-06-15 17:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
attachment-6351-0.html (803 bytes, text/html)
2020-06-14 17:20 UTC, Dario (dac#8469, dac73)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dario (dac#8469, dac73) 2020-05-20 18:55:13 UTC
SUMMARY
I had custom dircolors in .bashrc downloaded from https://github.com/trapd00r/LS_COLORS/blob/master/LS_COLORS


STEPS TO REPRODUCE
1. Download LS_COLORS from above link and add this line to .bashrc 
eval $(dircolors -b LS_COLORS)
2. Restart
3. 

OBSERVED RESULT
Krunner is not working correctly (Konsole env unset, $USER unset, missing other applications e.g. flatpak)

EXPECTED RESULT
Krunner starts konsole with user env vars set, flatpak apps are listed by krunner...

SOFTWARE/OS VERSIONS
Fedora 32
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
Comment 1 Alexander Lohnau 2020-06-09 19:08:00 UTC
I can't reproduce this on KDE Neon Unstable. Have you tried commenting this line out?
Comment 2 Dario (dac#8469, dac73) 2020-06-10 07:49:29 UTC
Hey Alex,
I just reproduced it on OpenSuse TW - Plasma.
Steps for reproducing:
1. wget https://github.com/trapd00r/LS_COLORS/blob/master/LS_COLORS
2. add eval $(dircolors -b $HOME/LS_COLORS) to .bash_aliases (or .aliases)
3. restart

Commenting out this line fixes the problem, but this is still a bug.
Comment 3 Alexander Lohnau 2020-06-14 16:37:33 UTC
Could this be a duplicate of BUG 417050?
Comment 4 Dario (dac#8469, dac73) 2020-06-14 17:20:42 UTC
Created attachment 129357 [details]
attachment-6351-0.html

Looks like it 🤔

On Sun, 14 Jun 2020, 18:37 Alexander Lohnau, <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=421833
>
> --- Comment #3 from Alexander Lohnau <alexander.lohnau@gmx.de> ---
> Could this be a duplicate of BUG 417050?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 Alexander Lohnau 2020-06-14 17:24:02 UTC
Okay, I am marking this as a duplicate.

*** This bug has been marked as a duplicate of bug 417050 ***
Comment 6 Pau Ruiz Safont 2020-06-15 17:23:10 UTC
I've narrowed it down to these lines in my config.fish:

set -x LESS_TERMCAP_mb (printf "\e[01;31m")      # begin blinking
set -x LESS_TERMCAP_md (printf "\e[01;31m")      # begin bold
set -x LESS_TERMCAP_me (printf "\e[0m")          # end mode
set -x LESS_TERMCAP_se (printf "\e[0m")          # end standout-mode
set -x LESS_TERMCAP_so (printf "\e[01;44;33m")   # begin standout-mode - info box
set -x LESS_TERMCAP_ue (printf "\e[0m")          # end underline
set -x LESS_TERMCAP_us (printf "\e[01;32m")      # begin underline