https://bugs.kde.org/show_bug.cgi?id=341143

--- Comment #215 from eddy.pilon <eddy.pi...@orange.fr> ---
(In reply to an.inbox from comment #214)
> There is a work-around that does not require any installation, just
> configuration.
> Tested on Debian Stretch with KDE 5.8 (which will be used for a while, so
> the w/a may be useful). 
> 
> At the end, you will have a pager with N "screen", Ctrl-FN will switch to
> "screen" N, and the mouse wheel will also move between "screens". Except
> that technically each "screen" will be an activity of 1 virtual desktop (VD).
> 
> Let's start:
>  
> 1) switch the pager from a VD to an activity pager:
>   - unlock the taskbar
>   - right click on the pager
>   - select the "Alternatives..." menu entry
>   - click "Activity Pager" and then the "Switch" button
>   => now the pager tracks activities
>   While there, right click on the pager again, select "Activity Pager
> Settings..." and configure to taste.
> 
> 2) Move to a single VD, so each activity = 1 VD = 1 screen
>   - System Settings => Desktop Behavior => Virtual Desktops, reduce to 1.
>   
> 3) Create as many activities as you need "screens" (same number as the qty of
>    VDs you used to use);
>   - System Settings => Desktop Behavior => Activities, create and name as
> needed.
>   Now you see the activities in your pager, and from the pager point of view
>   it's as before except activities replaced VDs.   
>   
> 4) Enable the mouse wheel to switch between activities
>   - Right click on the desktop background => Configure Desktop
>   - Select the "Mouse Actions" tab
>   - Item "Vertical-Scroll", select "Switch Activity"
>   IMPORTANT: this setting is per activity. So you need to repeat this for all
>   the created activities.
>   
> 5) Enable Ctrl-Fn to switch directly to screen (= activity) n
> 
>   The first thing I tried (and it didn't work for me) is in System Settings
> => Shortcuts => Global Shortcuts. In the "Components" list, select the
> "Plasma" entry. Here you can see the created activities, but there are two
> problems:
>     - instead of their nice, user chosen name, it's a UUID based name
>     - assigning a keyboard shortcut "Ctrl-Fn" is possible, but does not work
> for me
>   => Could someone confirm this on latest KDE? So I know if I need to file a
>      bug on KDE or on Debian. Thanks.
>      
>   The alternate method, which works, uses "Custom Shortcuts" under the
> shortcut system settings too and is a bit more complicated. For each
> screen/activity:
>    - click on "Edit" and select New => Global Shortcut => D-Bus Command
>    - Name the new keyboard shortcut, for example "Go to screen N"
>    - In "Trigger", set the shortcut. For example Ctrl-F1 for the 1st screen
>    - In the Action tab:
>      * For "Remote application", use "org.kde.ActivityManager"
>      * For "Remote object": "/ActivityManager/Activities"
>      * For "Function":
> "org.kde.ActivityManager.Activities.SetCurrentActivity"
>      * For "Arguments": the UUID of the activity (see below).
>      (no quote in any field)
> 
>      And to get an activity UUID:
>      * click on "Launch D-Bus Browser"
>      * in the "search" field, enter "activity"
>      * select "org.kde.ActivityManager"
>      * in the methods tab, select ActivityManager => Activities
>        then: org.kde.ActivityManager.Activities
>      * click on the "Method: ListActivitiesWithInformation" entry
>      Now in the bottom field, you have the method output listing all the
> created activities with their nice user name and their UUID. Select the UUID
> (only, not the "Argument: (ssssi) part nor the quotes) and use it the
> shortcut "Arguments" field as is. 
>      * Apply.
> 
>      Now Ctrl-Fn will switch to the activity/screen n. There is a slide
> animation that doesn't seem to be configurable. If anyone knows how to
> disable it, I'd appreciate the info (but I can live with it).
>      
> Done! And of course, because each "screen" is now an activity, you can
> configure different backgrounds and widgets. As I don't use other fancy VD
> tools (cube, etc.) for my limited use it's functionally equivalent to the VD
> features I used to use under KDE4. For others, you may loose some features.
> If anyone knows how to improve on this, feel free to share.

Hi from comman(In reply to an.inbox from comment #214)
> There is a work-around that does not require any installation, just
> configuration.
> Tested on Debian Stretch with KDE 5.8 (which will be used for a while, so
> the w/a may be useful). 
> 
> At the end, you will have a pager with N "screen", Ctrl-FN will switch to
> "screen" N, and the mouse wheel will also move between "screens". Except
> that technically each "screen" will be an activity of 1 virtual desktop (VD).
> 
> Let's start:
>  
> 1) switch the pager from a VD to an activity pager:
>   - unlock the taskbar
>   - right click on the pager
>   - select the "Alternatives..." menu entry
>   - click "Activity Pager" and then the "Switch" button
>   => now the pager tracks activities
>   While there, right click on the pager again, select "Activity Pager
> Settings..." and configure to taste.
> 
> 2) Move to a single VD, so each activity = 1 VD = 1 screen
>   - System Settings => Desktop Behavior => Virtual Desktops, reduce to 1.
>   
> 3) Create as many activities as you need "screens" (same number as the qty of
>    VDs you used to use);
>   - System Settings => Desktop Behavior => Activities, create and name as
> needed.
>   Now you see the activities in your pager, and from the pager point of view
>   it's as before except activities replaced VDs.   
>   
> 4) Enable the mouse wheel to switch between activities
>   - Right click on the desktop background => Configure Desktop
>   - Select the "Mouse Actions" tab
>   - Item "Vertical-Scroll", select "Switch Activity"
>   IMPORTANT: this setting is per activity. So you need to repeat this for all
>   the created activities.
>   
> 5) Enable Ctrl-Fn to switch directly to screen (= activity) n
> 
>   The first thing I tried (and it didn't work for me) is in System Settings
> => Shortcuts => Global Shortcuts. In the "Components" list, select the
> "Plasma" entry. Here you can see the created activities, but there are two
> problems:
>     - instead of their nice, user chosen name, it's a UUID based name
>     - assigning a keyboard shortcut "Ctrl-Fn" is possible, but does not work
> for me
>   => Could someone confirm this on latest KDE? So I know if I need to file a
>      bug on KDE or on Debian. Thanks.
>      
>   The alternate method, which works, uses "Custom Shortcuts" under the
> shortcut system settings too and is a bit more complicated. For each
> screen/activity:
>    - click on "Edit" and select New => Global Shortcut => D-Bus Command
>    - Name the new keyboard shortcut, for example "Go to screen N"
>    - In "Trigger", set the shortcut. For example Ctrl-F1 for the 1st screen
>    - In the Action tab:
>      * For "Remote application", use "org.kde.ActivityManager"
>      * For "Remote object": "/ActivityManager/Activities"
>      * For "Function":
> "org.kde.ActivityManager.Activities.SetCurrentActivity"
>      * For "Arguments": the UUID of the activity (see below).
>      (no quote in any field)
> 
>      And to get an activity UUID:
>      * click on "Launch D-Bus Browser"
>      * in the "search" field, enter "activity"
>      * select "org.kde.ActivityManager"
>      * in the methods tab, select ActivityManager => Activities
>        then: org.kde.ActivityManager.Activities
>      * click on the "Method: ListActivitiesWithInformation" entry
>      Now in the bottom field, you have the method output listing all the
> created activities with their nice user name and their UUID. Select the UUID
> (only, not the "Argument: (ssssi) part nor the quotes) and use it the
> shortcut "Arguments" field as is. 
>      * Apply.
> 
>      Now Ctrl-Fn will switch to the activity/screen n. There is a slide
> animation that doesn't seem to be configurable. If anyone knows how to
> disable it, I'd appreciate the info (but I can live with it).
>      
> Done! And of course, because each "screen" is now an activity, you can
> configure different backgrounds and widgets. As I don't use other fancy VD
> tools (cube, etc.) for my limited use it's functionally equivalent to the VD
> features I used to use under KDE4. For others, you may loose some features.
> If anyone knows how to improve on this, feel free to share.

Hi !.
from comment 164, got same result a few months ago with cube effect by
kactivitymanagerd-pluginrc config, (activity uuid and screen number).
But now i using Jonathan Marten switcher for different wallpapers.
Sorry for my english.

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

Reply via email to