This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Activities to support different resolutions.

1

Votes
1
0
Tags: activities, multiple monitor, resolution, twinview, monitor activities, multiple monitor, resolution, twinview, monitor activities, multiple monitor, resolution, twinview, monitor
(comma "," separated)
mttsmth
Registered Member
Posts
2
Karma
0
Hi, first post to KDE forums ;D. I created my account specifically to list my idea for multiple monitors in kde.

With the "activities" concept maturing and new features and usability being added with every release, I'd like to submit my idea for Activities supporting independent resolutions.

I know that there are plans for activities to be saved to disk when not in use and other features such as this. I use KDE on my notebook and while at home I have my notebook plugged into another monitor with the home activity activated. My multi-monitor support is nvidia's Twinview which works wonderfully in KDE 4.5 (and all other versions I've tried for that matter). While at work i don't have my other monitor plugged in, but since twin view treats my monitors as one big monitor, after the monitor is unplugged the resolution is still the same. If activities supported independent resolutions, I could activate my "work" activity which would reduce the resolution to just my laptop screen without having to restart X. This to me, would make activities a feature I couldn't live without

feed back is much appreciated.;D
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
The activity has nothing to do with your screen resolution, and ideas for better handling of screen resolution are already present. You should talk to Nvidia about supporting the same screen-management software that everyone else supports, not that they have any intention of doing so.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
coconnor
Registered Member
Posts
1
Karma
0
Hi mttsmith!

There is no direct support for screen resolution per activity. However, there is support for executing commands when change to/from activities. This can be used to reliably implement per-activity screen configuration.

Tho, the "from" aspect is currently broken. So the solution is a bit weirder than necessary. In short:

  1. Figure out the activity UUIDs. This can be done using the command
    Code: Select all
    kactivities-cli --list-activites
  2. next add a desktop file that invokes
    Code: Select all
    xrandr
    for all activity's:
  3. for all activities, given the UUID as ACTIVITY_UUID:
  4. create the file
    Code: Select all
    .local/share/kactivitymanagerd/activities/$ACTIVITY_UUID/activated/set-activity-resolution.desktop
  5. the desktop file should resemble the following, with the xrandr line modified as required:
    Code: Select all
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=Configure Screen
    Exec=xrandr --output DVI-I-1 --mode --preferred

You shouldn't have to add a command for every activity, but due to a bug in this feature that is required.

Like I said: not well supported but doable. ;D


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]