A little request, just a nice-to-have

Hi. i like playing with Zorin Connect (especially while lying in bed and watching videos - I don't have a TV) and I have wondered if you could add some option to let the mouse pointer turn red when using ZoCon? It would just be easier to see it at that distance while trying to skip ads in YouTube videos or when using my phone as a pointing device.

So far, I'm glad I made the change to Zorin from Windoze, even with some programs I had to let go and learn new Linux variants.

4 Likes

Good suggestion, that would be a useful feature to have.

In the meantime, you can change the cursor to one of the available ones by default through Zorin Appearance → Theme → Other → Cursor.

You can also download additional icons if you want:

Download the one that you want and extract the contents (if it's a zip file, which it probably is) in one of the following locations:

  1. /home/zenzen/.icons
  2. /home/zenzen/.local/share/icons
  3. /usr/share/icons

The first two locations are specific to your username (make sure to replace "zenzen" with your own). Note that you might need to create these locations is they don't already exist. Also, files and folders that start with a period (.) are hidden. In your file manager, press Ctrl+H to toggle the visibility of hidden files so that you can navigate to these locations.
If there is more than one user and you want to share this icon set, place it in the third location.

Here I have set up the cursors ones from one of my favorite themes:

You can delete the zip files when you're done, I'm only leaving them there for illustration purposes.


By the way, I just now realized that there's an option to run commands from Zorin Connect. So you can actually create a command that you can simply tap from the app to toggle the cursor back and forth between the red-colored and the default one.

  1. Create a new text file named "change_cursor.sh". The name does not really matter, pick whatever makes more sense for you, but don't use spaces (spaces in filenames only complicate things).

  2. The contents of the file should be as follows:

    #!/bin/bash
    
    cursor=$(gsettings get org.gnome.desktop.interface cursor-theme) 
    cursor=${cursor//\'/}
    
    if [[ $cursor == "redglass" ]]; then
        cursor=Adwaita
    else
        cursor=redglass
    fi
    
    gsettings set org.gnome.desktop.interface cursor-theme "'${cursor}'"
    

    You are welcome to change things as you like. Here, for simplicity, I'm assuming that only the default cursors "redglass" and "Adwaita" are being used. When executed, this script will toggle the cursor between these two.

  3. Move the script to a more suitable location. This is entirely optional but it helps keeping things organized.

    mkdir -p $HOME/.local/bin
    mv ./change_cursor.sh $HOME/.local/bin
    
  4. Make the shell script executable:

    chmod u+x $HOME/.local/bin/change_color.sh
    

    Run it a couple of times to make sure that it works. Right-click the file → Run as a Program.

  5. Launch Zorin Connect on your computer and pair the device. Go to "Commands" and click on the + sign at the bottom, and fill in the details. The Name can be anything you want, give it a descriptive name. The command will be the path to the executable:

    After clicking "Save", the new command should be available on your Zorin Connect app on your phone:

5 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.