Ubuntu Drawing around the mouse.

2017-01-11  Source: Original Site  Category:Ubuntu  Views:162 

Advertisement

I am wondering how to write a program that will draw a circle around the mouse when a key combination is pressed. So, shift+enter will draw a small box around the mouse, and depressing the keys will make it go away.

I'd like to make my own kind of panel, that pops up at the mouse. I want to do this to see if I can drop having panels on the edge's of the screen.

I'd like to start by just creating that circle around the mouse, with in gnome, while doing day to day stuff.

I'm hoping to be able to do this in C/C++ because I'm familiar with them.

If I can do it in c, what do i need to know to start developing that kind of program?
* wiki's
* Librarys

I looked at gtk2.0 but it doesn't seem to offer me what I need. In an irc server, someone told me to look at x.org. But couldn't find anything.

I hope someone out there in ubuntu land can point me in the right direction!!

Related articles
  • Ubuntu Drawing around the mouse. 2017-01-11

    I am wondering how to write a program that will draw a circle around the mouse when a key combination is pressed. So, shift+enter will draw a small box around the mouse, and depressing the keys will make it go away. I'd like to make my own kind of pa

  • getting rectangle around the mouse for bitblt 2013-01-14

    I'm trying to write a program similar to the magnification app in win2k. How would I go about obtaining a handle to the pixels around the mouse cursor (even if not positioned over my form), i'm shooting for a rectangle about 50 by 50 pixels that will

  • sixaxis on ubuntu: it controls the mouse, now what? 2012-10-14

    Ok, so follwing the advice of https://help.ubuntu.com/community/Sixaxis#Using%20the%20Sixaxis%20as%20a%20Pointer%2 0Device (https://help.ubuntu.com/community/Sixaxis#Using%20the%20Sixaxis%20as%20a%20Pointer%2 0Device)my ps3 conreoller now controls th

  • Ubuntu Problem with the mouse 2013-03-03

    I have experienced several times that after the screen has been locked and I unlock it, I can't do anything with the mouse. The keyboard works tho. I use the option where the window I hover over gets focued, but it wont work either. But if I press on

  • Ubuntu Drawing on the root_window with Python and Xlib 2013-09-09

    Got a grazy idea to port my screenshot utility... (http://code.google.com/p/gscreendump/) from C to Python. So I started to experiment with Python + Xlib. The original code... (http://code.google.com/p/gscreendump/source/browse/trunk/src/sd_capture_a

  • Ubuntu Virtualbox and the mouse 2015-05-06

    I can't seems to find any information on the forum nor google, so I just post here. I installed Virtualbox in my Ubuntu system, as I want to install Vista on the Virtualbox, I cannot use the mouse in the Virtualbox, beside the keyboard. How and what

  • Ubuntu I killed the mouse 2012-01-04

    I was trying to kill a program in htop, but I think I killed the program that runs the mouse by mistake since after killing it the mouse stoped moving and even a reboot did not solve the problem. Does anyone know what the name of the program that run

  • Ubuntu Touchpad and the mouse-wheel functionality... 2012-07-18

    There are many posts regarding how-to make touchpad more functional. I have easily disabled tapping, which is very irritating -- too sensitive and making lots of mess. In proper place in '/etc/X11/xorg.conf' file, I just added: <Option "SHMConfig"

  • Ubuntu Problem with the mouse and touchpad 2012-09-18

    I am hoping you can help me, I just installed kubuntu kde4.1 yesterday.Now in order for the mouse (wireless logitech) or the touch pad on the laptop to work, I have to physically click on the title bar at the top. It won't bring up a window if I clic

  • Ubuntu Linux Around The World Documentary ? 2012-11-01

    PM Me if your interested!! Hey guys i got an idea the other day to make a documentary about linux users all around the world to tell the story about why they use linux over any other operating system why u ask ? I am very good when it comes to video

  • Ubuntu Linux Around the World 2012-11-11

    I found this article to be interesting. it talks about linux use around the world http://www.reallylinux.com/docs/linuxasiapac.shtml

  • Ubuntu I hate the mouse! 2013-01-25

    I have a laptop with touchpad mouse, however I hate how sensitive it is and the actions it performs. I turned the sensitivity way down, but that didnt help. When Im moving the mouse, and have to put my finger back on it to keep moving it grabs icons

  • Ubuntu Petals Around the Rose 2013-09-23

    I was just introduced to this fun little game. Check it out, and see if you can figure it out. I can only tell you 3 things: 1) The name, which IS significant, is once again, Petals Around the Rose. 2) The answer is always an even number, or zero. 3)

  • Ubuntu Fly Around the World screensaver 2013-12-10

    I think a screensaver where the user gets to 'fly around the world' would be awesome. Like a 3D screensaver where the user gets flown through different places in the world. Like through Paris to see the eiffel tower and the louvre. Through Egypt past

  • Ubuntu Screenshot including the mouse pointer ? 2014-02-01

    How to make a screenshot that includes the mouse pointer in the picture ? (I mean a full screen capture)

  • Ubuntu unclutter: hide the mouse cursor 2015-03-10

    I found this little package over at http://debaday.debian.net/ , it says in the article; Do you ever find that occasionally the mouse pointer obscures just the bit of the screen with the word you’re currently reading? Having to move the mouse or gues

  • Ubuntu GPSD Freezing the mouse 2015-03-26

    I have a USB GPS unit (BU-303) which seems to work - I haven't actually got it working with any software yet (I think because the unit is indoors, but on a windowsill it can't see enough sats to triliterate the signal) but have managed to get some ou

  • Ubuntu problem with the mouse / left button stopped working 2013-05-17

    i've been messing around a bit too much with my system lately, and now my mouse's left button doesnt respond. i have a laptop, so i can still use the touchpad (both buttons work), but i'd like to use my logitech cordless mouse (2 buttons + clickable

  • Ubuntu Issues with the Mouse locking up and Fullscreen exits? 2015-05-17

    I've been enjoying OpenArena the past day or so, and it randomly while I'm playing my mouse will lock up where I can't look around, but I can still shoot. Then the Fullscreen will exit into a smaller window. I'll usually have to minimize the game, th

  • Ubuntu Speeding up the mouse 2012-06-10

    Anyone know how I can speed up my mouse? Even with the native speed sliders at max it's like moving through molasses. I wish Logitech (or someone) would make some Linux drivers. :mad: