| Summary: | Feature request: a configuration option to lock all new sessions (Prevent closing) | ||
|---|---|---|---|
| Product: | [Applications] yakuake | Reporter: | Marek <marek.schimara> |
| Component: | general | Assignee: | Eike Hein <hein> |
| Status: | REPORTED --- | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.9.9 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Many times I close the session when I want to paste text into the command line with the middle mouse button. It doesn't help that the command line is really close.. I would like an option to start all new sessions with "Prevent closing" active. I imagine this is rather trivial to add as the option already exists in each session menu. Reproducible: Always Steps to Reproduce: 1. When pasting text, click on a session title instead of the command line just above it. 2. 3. Actual Results: Session closes (sometimes not the one I was pasting into!), which sucks. Expected Results: I should have an easy option to prevent this. It's just too easy to forget to set "Prevent closing" every time I open a new session. A very clumsy workaround in my .bashrc: # prevent yakuake from closing tabs with middle-click (this is a very crude # solution, runs every time a new bash shell is open) perl -e 'my $uri="org.kde.yakuake"; my $sess="/yakuake/sessions"; my $list="org.kde.yakuake.sessionIdList"; my $closable="org.kde.yakuake.setSessionClosable"; $sessions=`qdbus "$uri" "$sess" "$list" 2>/dev/null`; chomp $sessions; map { system("qdbus $uri $sess $closable $_ 0"); } split(",", $sessions);' 1>/dev/null