Desktend - add/remove virtual desktops automatically

Hello everyone,
I created a small utility to dinamically create and destroy virtual desktops (also known as workspaces).
The tool will always create one empty desktop for your. If you put a window on it, the tool will create a new one and the empty desktops will be removed.
The minimum and maximum number of desktops are hardcoded but you can easly change them by editing the source file.
I created it for my openbox desktop but it should work with any EWMH window manager.
Any feedback is welcome. Have fun.
source & readme: https://github.com/ijanos/desktend
AUR packge: http://aur.archlinux.org/packages.php?ID=51559

oliver wrote:nice!  works perfectly with my openbox/tint2 setup.  Thanks for creating/posting
You don't need that script in openbox. Openbox is capable of that natively. This is my config:
<keybind key="W-d">
<action name="AddDesktopLast"/>
</keybind>
<keybind key="W-r">
<action name="RemoveDesktopLast"/>
</keybind>
Check here for more info: http://openbox.org/wiki/Help:Actions#AddDesktop

Similar Messages

  • How do you remove virtual desktops from a Windows Server 2012 R2 Pooled VDI collection

    All - I have created a Pool VDI Collection with 15 total virtual desktops in it. I need to reduce the number of virtual desktops in that collection to five. I have searched through the GUI, TechNet and done a number of Google searches but nothing helpful
    comes back. Does anyone know how to do this?
    I am guessing I cannot just delete them out of Hyper-V since the collection knows how many desktops it is supposed to have assigned to it.
    Thanks in advance.
    Will Smothers

    Hi Will,
    Thank you for posting in Windows Server Forum.
    We can use PowerShell command “Remove-RDVirtualDesktopFromCollection“ to achieve your goal.
    PS C:\> Remove-RDVirtualDesktopFromCollection -CollectionName "Virtual Desktop Pool" -VirtualDesktopName @("RDS-WKS-A27") -ConnectionBroker "rdcb.contoso.com"
    More information.
    Remove-RDVirtualDesktopFromCollection
    http://technet.microsoft.com/en-us/library/jj215515.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Add virtual desktop

    Hi,
    I have a problem, when I try to add a virtual desktop, the button that usually appears on the top right corner disappeared, I am just
    wondering how I can resore it. Thanks

    Here are a few things to consider.
    How many desktops do you have?  There is a maximum which I can't recall, but maybe you've reached it?
    If your dock is on the right, the little new desktop button will appear in the upper LEFT corner.
    Sometimes third party software interferes with Mission Control.  Does this behavior persist for a different user, e.g. Guest User?  Does this behavior persist when starting up in Safe Mode?
    charlie

  • Not able to recreate virtual desktops after migrating to new server

    Hello Everyone,
    I need some help please,
    I migrated our roles and VMs to new system,I basically joined the new servers to the existing failover cluster, installed all VDI roles and after moving all roles and VMs to the new servers, I removed the old servers from the cluster.
    everything seems working fine except recreating the virtual desktops collection.
    when I try to do so, I get this error message:
    "The RD Connection Broker server does not have access to add the
    virtual desktops to the Active Directory domain. Configure access by
    using the Active Directory page of Deployment Properties."
    I did some searches for this error and from AD Users and Computers tool -> security tab of root node (domain/OU) I gave full permission to the new server.
    another strange thing, is that I no longer can modify the domain and OU setting when I click on
    "Edit Deployment"
    the fields are grayed and no longer editable.
    please advise.
    Thanks

    Thanks -TP,
    I got it to work , the first time I tried to create a new collection , the master vm export failed with permission errors, later on It passed. after that I dropped a collection and recreated the vms of the first collection.
    it is not clear to me yet, why this happened and how it got fixed but for now it is working.
    Thanks again.

  • Remote desktop virtualization setup - can't identify virtual desktop state

    I'm experimenting with MS's vdi offering and have hit a problem when selecting the Remote Desktop template virtual machine.
    The Error (translated from spanish)
    'Cannot identify the virtual desktop state. Verify that the remote desktop virtualization host server hypervsrv is available on the network and that the virtual desktop VDIBaseWin7 is closed'
    What I've got:
    A Windows 2012 R2 with hyper-v
    A Windows 2012 Std on which I am trying to configure Remote desktop virtualization
    A virtual machine with Windows 7 pro. The machine is basic win 7, patched and has been sysprepped.
    How I get there:
    From server manager I open Remote Desktop Services > from the wizard área above I click on (3) Create remote desktop collection
    This opens the wizard where I choose a name for the collection
    I then select 'personal virtual desktop collection' and 'créate and adminístrate virtual desktops automatically'
    The wizard then presents me with a list of virtual machines. I then select the sysprepped wind 7 pro machine (which is shut down naturally). I've tried generating the win7 machine as a generation 1 and generation 2 - the result is the same.
    The wizard pauses for a few moments and then displays:
    'Cannot identify the virtual desktop state. Verify that the remote desktop virtualization host server hypervsrv is available on the network and that the virtual desktop VDIBaseWin7 is closed'
    Neither the event log of the hyper-v server, nor the rds server, report anything.
    So, my question is, whats failing? Its obvious that its trying to perform some action and is failing. The question is, whats it trying to do. If I knew what it was doing then I could investigate the cause, but the error doesn't say much.
    Anyone have any ideas?

    strange, This question has been moved to the remote desktop forum. I would have thought this forum was more for the traditional terminal server type questions.
    Anyway, I found a solution to my own problem. It turns out to be the mix of 2012R2 for hyperv and 2012 std for the broker, etc.
    I set up another server with 2012r2 and followed the same sequence to configure it with the rds roles and it worked perfectly.

  • Windows App Certification Kit - Test Fails for Validate Desktop App at "Write appropriate Add/Remove Program values"

    Hi,
    I am trying to validate a .Net Framework 4 WinForms application for use in the Microsoft Partner Network portal.
    I am using Windows App Certification Kit 3.4 for Windows 8.1 , and the Validate Desktop App option.
    To build the package I am using InstallShield 2012 SPR Limited Edition (for Visual Studio), and the validation fails
    only with the following error (please also see the attached image):
    Clean reversible install test: Failed to Write appropriate Add/Remove Program values
    Error Found: The registry population test detected the following error: app didn't create the required registry entries.
    A non-optional value 'DisplayName' is missing or invalid (same for 'Publisher', 'ProductVersion')
    Please note that I have filled in all the publisher/product details in the InstallShield project, on the General Information page.
    Also I have tried to use the Microsoft Visual Studio Installer Project for VS2013, and the validation failed with the exact same error.
    (https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d)
    Any help would be very appreciated.
    Thank you.

    You may need to add the necessary info to the app’s Windows Installer package so it can configure Add/Remove Programs in Control Panel correctly. Setting these properties automatically writes the corresponding values into the registry. From the picture,
    you are missing some necessary information about your desktop app.
    Also You need the correct admin permissions to write to the registry.
    Please refer to this thread:
    http://stackoverflow.com/questions/21182856/windows-app-certification-kit-test-result-app-didnt-create-the-require-regist
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Yosemite automatically adds a new desktop everytime i start my mac; pls help

    Yosemite automatically adds a new desktop everytime i start my mac; pls help
    i have upgraded my mac pro to Yosemite few days earlier and i find an annoying problem whenever i start my mac it automatically adds a new desktop...and when i open my mission control it shows me number of desktops which i haven't added myself; one more thing i am using 2 displays for my system; pls help

    If I open up the AirPort App - it only says that it cannot find my AirPort wireless device (probably because I dont have one) and then if I go to networks to connect to my wifi I select my home network and it ask me to input a password (as it should) but when I try to put in my password for my network it says "connection timeout" and the screen behind it (where the options for wifi or ethernet ext are) it says no ip address under wifi (also the status indicator is showing yellow - since my wifi is on just not connected to a network. I cannot seem to find any place to input my information for my specific router. Although I can connect to neighboring wifi routers just fine.

  • I have Firefox 4.0 Beta 6 on my system and Beta 9 was installed, now both are oon desktop neither show on Start menu and Add/Remove list only shows Beta 6 but will not remove it.

    Had a problem yesterday and Google chrome replaced Firefox as my default browser without my knowledge. I removed Chrome from my system and can use Firefox. I have two icons for Firefox on my quick launch toolbar one says Beta6 the other Beta9 but both launch Beta 9 but my Add/Remove programs shows only Beta6 and will not remove it. It seems Beta9 is the only version on my system but was not updated in my Start menu.

    If you updated from the beta 6 version to the beta 9 version then the beta 9 version has replaced the previous beta version. It can happen that the uninstall registry key of older versions isn't updated or removed and that seems to have happened in your case. So you have only the beta 9 version installed and an orphaned entry to uninstall the beta 6 version.
    If you are comfortable in editing the registry then you can remove that entry.Otherwise it is better to leave it.<br />
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox

  • Looking to Set Up Multiple Virtual Desktops

    Hi, I'm a newb looking to set up multiple virtual desktops for my employees. What would be the best windows image to use and how do I install Chrome onto the machines?

    Hi Shru84;
    Welcome to Azure.  Azure Virtual Machine as the name suggest are Virtual Server which function as your regular server but does not have a physical presence but is hosted on Azure Platform.
    We have a variety of OS flavors, there is nothing which is good or bad, its more of a question of your requirement.  Please note that the desktop Version of Windows 7/ 8
    are at the moment only available for MSDN subscriber.
    As for Chrome Installation its the same as installing it on a regular machine, that is opening up a web browser, loggin into chrome download site and installing it. ( http://www.google.com/chrome/ )
    Here is an example:
    his tutorial shows you how easy it is to create an Azure virtual machine (VM). This tutorial uses a Windows Server image, but that's only one of the many images available through Azure. This includes Windows operating systems, Linux-based operating systems,
    and images with installed applications. The images you can choose from depend on the type of subscription you have. For example, desktop images may be available to MSDN subscribers.
    You can also create Windows VMs using
    your own images as templates. To learn more about Azure VMs, see
    Overview of Azure Virtual Machines.
    NOTE:
    You need an Azure account to complete this tutorial:
    You can
    open an Azure account for free: You get credits you can use to try out paid Azure services, and even after they're used up you can keep the account and use free Azure services, such as Websites. Your credit card will never be charged, unless you explicitly
    change your settings and ask to be charged.
    You can
    activate MSDN subscriber benefits: Your MSDN subscription gives you credits every month that you can use for paid Azure services.
    How to create the virtual machine
    This section shows you how to use the From Gallery option in the Management Portal to create the virtual machine. This option provides more configuration choices than the
    Quick Create option. For example, if you want to join a virtual machine to a virtual network, you'll need to use the
    From Gallery option.
    NOTE:
    You can also try the richer, customizable Azure Preview Portal to create a virtual machine, automate the deployment of multi-VM application templates, use enhanced VM monitoring and diagnostics features, and more. The
    available VM configuration options in the two portals overlap substantially but aren't identical.
    Sign in to the Azure Management Portal. Check out the
    Free Trial offer if you don't have a subscription yet.
    On the command bar at the bottom of the window, click New.
    Under Compute, click Virtual Machine, and then click
    From Gallery.
    The first screen lets you Choose an Image for your virtual machine from one of the lists in the Image Gallery. (The available images may differ depending on the subscription you're using.) Click the arrow to continue.
    The second screen lets you pick a computer name, size, and administrative user name and password. If you just want to try out Azure Virtual Machines, fill in the fields as shown in the image below. Otherwise, chose the tier and size required to run your
    app or workload. Here are some details to help you fill this out:
    New User Name refers to the administrative account that you use to manage the server. Create a unique password for this account and make sure to remember it.
    You'll need the user name and password to log on to the virtual machine.
    A virtual machine's size affects the cost of using it, as well as configuration options such as the number of data disks you can attach. For details, see
    Virtual Machine and Cloud Service Sizes for Azure.
    The third screen lets you configure resources for networking, storage, and availability. Here are some details to help you fill this out:
    The Cloud Service DNS Name is the global DNS name that becomes part of the URI that's used to contact the virtual machine. You'll need to come up with your own cloud service name because it must be unique in Azure. Cloud services are important
    for scenarios using
    multiple virtual machines.
    For Region/Affinity Group/Virtual Network, use a region that's appropriate to your location. You can also choose to specify a virtual network instead.
    NOTE:
    If you want a virtual machine to use a virtual network, you must specify the virtual network when you create the virtual machine. You can't join the virtual machine to a virtual network after you create the VM. For more information, see
    Azure Virtual Network Overview. - For details about configuring endpoints, see
    How to Set Up Endpoints to a Virtual Machine.
    The fourth configuration screen lets you configure the VM Agent and some of the available extensions. Click the check mark to create the virtual machine.
    NOTE:
    The VM agent provides the environment for you to install extensions that can help you interact with or manage the virtual machine. For details, see
    Using Extensions.
    After the virtual machine is created, the Management Portal lists the new virtual machine under
    Virtual Machines. The corresponding cloud service and storage account also are created and are listed in those sections. Both the virtual machine and cloud service are started automatically and the Management Portal shows their status as
    Running.
    Click Virtual Machines, and then select the appropriate virtual machine.
    On the command bar, click Connect.
    Click Open to use the Remote Desktop Protocol file that's automatically created for the virtual machine.
    Click Connect to continue.
    Type the credentials for the administrative account on the virtual machine, and then click
    OK.
    TIP:
    In most cases, you'll use the user name and password that was specified when the virtual machine was created. Check the user name to make sure it has the correct domain information:
    If the VM belongs to a domain at your organization, make sure the user name includes the name of that domain.
    If the VM doesn't belong to a domain, either remove any domain information by starting the line with '\' or use the VM name as the domain name. For example,
    \MyUserName or MyTestVM\MyUserName.
    If the VM is a domain controller, type the user name and password of a domain administrator account for that domain.
    Click Yes to verify the identity of the virtual machine.
    You can now work with the virtual machine remotely.
    Regards;
    Prasant

  • How to specify Host Server for Replicated Virtual Desktops within RDVH Collection

    My question about how to specify Host Server for Replicated Virtual Desktops within Collection.
    I know there is a aswered thread on this, but that solution (wait a week) didn't work for me.
    So i have 2 servers, RDS01 and RDS02 with both 15 Hyper-V VM's and replicating to eachother. That part works fine.
    Now I wanted to make it easy for my users I build a Connection Broker: RDCB
    All went fine in that setup, but when I want to add the existing VM's from RDS01 and RDS02 to the collection it just radomly adds running ones and replicated ones.
    So both RDS01 and RDS02 have 15 VM's running and 15 replica's in stopped state, but when I look in my collection, it says RDS01 has 23 and RDS02 has 7 VM's. When I add them all, I see he wants to add a lot of stopped states replica's from RDS01 instead of
    the running ones from RDS02.
    How can I specify which one he should use? Or need I disable replication first, setup the whole RDCB collection thing, and then turn replication back on? Or does Hyper-V replication not work at all when used in a collection?
    I hope someone can help out here. I'm googling and trying for 1,5 week now, but i can;t get it right.
    Thanks in advance.

    Hi Robin,
    Thanks for your patience.
    After you removed Replication from 1 machine on both RDS01 and RDS02, please restart that machine. After that, please add this machine to the RD collection again to test how the issue goes.
    As we know, Hyper-V Replica provides asynchronous replication of Hyper-V virtual machines between two hosting servers. It is simple to configure and does not require either shared storage or any particular storage hardware. Any server workload that can be
    virtualized in Hyper-V can be replicated. Replication works over any ordinary IP-based network, and the replicated data can be encrypted during transmission. Hyper-V Replica works with standalone servers, failover clusters, or a mixture of both. The servers
    can be physically co-located or widely separated geographically. The physical servers do not need to be in the same domain, or even joined to any domain at all.
    Currently, would you please add only running state VMs to the RD CB collection? And would you please capture some screenshots of the error message? Thanks very much for your cooperation.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Cannot create virtual desktop station from template WMS 2012

    This is a fresh install of Multipoint 2012 Prem. with all current updates including Rollup 2. I created a win7 ent. desktop template without problem.  When I attempt to create a virtual desktop station I get the popup saying it is creating the station
    and after about 10 seconds it says it was successful but there is no station listed.
    This same machine was a part of my domain and I had successfully created stations previously but the server was never put into production.  When I needed it for another application off the domain I removed the stations and took it out of the domain.
    From that point I was unable to add stations. I removed the old template and created a new one. Finally I reinstalled Multipoint and started from scratch and still have the same issue. The rollup and some server updates were the only differences so I removed
    the rollup but no change. Help!
    Mike

    You might have already checked it but just in case, did you check the server console when this happens ?
    If there is any problem with the template file, it doesnt create a desktop even though it doesnt complain about this explicitly in the Portal Admin.
    Cheers,
    Satish

  • Uninstall missing for adobe 9...not on add/remove programs

    I have 2 adobe readers now.  The desktop has adobe 9 and adobe x (inside says 10.1.1).  Downloaded newest a while ago.  I think I thought it would automatically uninstall 9, but I may have uninstalled it but is still there, because there isnot a line in add/remove list.  There is a line for the reader x (10.1.1)

    Is it really still installed, or is it just a non-functioning desktop shortcut?
    If it is still installed (without an uninstaller), then you can use the Windows Installer Cleanup Utility to remove the application.

  • Pooled - Unmanaged Virtual desktop Collection, 'Existing Virtual Desktop' blank?

    I am trying to create a Pooled - Unmanaged Virtual desktop Collection on my Windows Server 2012 R2. I have created a hyper-v virtual machine with hyper-v manager.
    But when I go to the server manager to add a new collection of virtual desktop, I chose the "Pooled Virtual desktop collection" radio button and also unchecked the "Automatically create and manage virtual desktops", then I hit next and
    it asks me to select Existing Virtual Desktops. However the list there is blank and I don't see the VM that I created in hyper-v manager earlier.
    I wonder how can I possibly fix it?
    Thanks!

    Hi,
    Thank you for your posting in Windows Server Forum.
    Did you find any specific error\event ID for this case?
    If the virtual desktop does not show up, you should close the wizard, add the virtual machines by using Hyper-V Manager, and then create the collection again.
    From your description it seems that there might be some configuration issue while configuration. Please try to configure the whole scenario once again and check the result. You can follow beneath article.
    Test Lab Guide: Unmanaged Pooled Virtual Desktop Collections
    http://technet.microsoft.com/en-us/library/hh831618.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • APP-V 5.0 VDI A Temporary Profile is created when I log into the Virtual Desktop

    Dear Sirs
    I'm Enzo , an Italian System Engineer. Together with other fellows we created a test environment :
    - a VDI machine (POC-VDI,10.102.94.219, Windows Server 2012 R2) with
      RD Web Access, RD Connection Broker, RD Virtualization Host, RD Session Host Installed
    The Hyper-V Environment includes :
    - DHCP Server (to provide addresses to Virtual Desktop Collections)
    - APP-V_5.0_Server , Application Virtualization Management Console 5.0, with 2 published packages (Office 2010 and Open    Office 4)
    - Sequencer_W8-1, Application Virtualization Sequencer 5.0
    - Client_8-1 , Client Windows 8.1 with Application Virtualization Client 5.0
    From the Client_8-1 we can download and run the two published packages from the server (user VDI_TEST_1)
    The Client_8-1 has been used as the template (sysprep /oobe /generalize /shutdown) for the Virtual Dektop (APP-0 and APP-1)
    included in the collection 'APPV' (Pooled, Automatically Manage Virtual Desktop, Roll Back Virtual Desktops Enabled).
    I connect to the 'RD Web Access' ( http 10.102.94.219 RDWeb, user VDI_TEST_1) , I then connect to APPV collection .
    When I get logged into the Virtual Desktop (APP-0 or APP-1, user VDI_TEST_1), a Temporary Profile is created. Why ?
    We configured :
    User Profile Disk :  share Location  10.102.94.219  UPD
       UPD : Share      Everyone Full Control
                                  Security   SYSTEM    Full Control
                                             Network Service 
    Full Control
                                            POC-VDI$   Full
    Control
                                             Administrators (POC-VDI\Aministrators) 
    Full Control
                                             Users (POC-VDI\Users) 
    Read & Execute
    I am puzzled as long as when I get logged into the Virtual Desktop, a Temporary Profile is created. Why ?
    Thanks in advance for your kind attention
    Enzo

    Highly unlikely it has anything to do with App-V.
    Start troubleshooting by looking at permissions on shares and folder under the shares for the profile.
    Tim Mangan MVP for App-V and Citrix CTP Author of AppV books: "The Client Book" and "OSD Reference Book" (http://www.tmurgent.com/Books )

  • How to delete Ubuntu virtual desktop and free up allocated space in windows 8?

    I have tried out Hyper-V for the first time to install Ubuntu desktop. During the installation process, 10GB of space is allocated. I believe this space would have been  created as a separate partition and formatted
    to linux file system. Please correct me if I am wrong.
    Now I would like to remove the Ubuntu virtual desktop and free up the allocated space. I have deleted the desktop from the Hyper-V manager. Is this sufficient to free up the space?
    Disk partition tool shows following partitions
    Volume
    Layout
    Type
    FS
    Status
    Capacity
    Free
    Volume (C;) Simple
    Basic NTFS
    Healthy(Boot, Page File ...) 218GB
    8GB 
    Volume <nolabel>  Simple
    Basic Healthy(Recovery Partition)
    450MB 450MB 
    Volume <nolabel> 
    Simple
    Basic
    Healthy(Recovery
    Partition)
    350MB
    350MB 
    Volume <nolabel> 
    Simple
    Basic
    Healthy(Recovery
    Partition)
    10.5GB
    10.5GB 
    Volume <nolabel> 
    Simple
    Basic
    Healthy(EFI
    System Partition)
    260MB
    260MB 
    Volume <nolabel> 
    Simple
    Basic
    Healthy(Primary
    Partition)
    8GB
    8GB
    I am not sure of the unnamed, unused volume. Hence I listed all.
    However Diskpart tool in command prompt does not show the last one [ 8gb]. Does this mean if this was allocated
    to Virtual desktop? Please help 

    You must delete the VHDx that you created when you created the VM.
    This is the virtual disk that Ubuntu was installed into - you will not see this as a volume, you will see this as a VHDx file.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

Maybe you are looking for