You are not logged in.

#1 2023-11-24 22:44:22

bananahorde
Member
Registered: 2023-10-29
Posts: 9

the Xeyes problem: A rather stupid issue

Some context:
I use i3wm and quite a basic configuration at that. Only some minor things and mostly it looks very vanilla which is fine to me.

Now one thing that i have grown to really like is this old program called "xeyes"
Most of the time i just launched it and rather clunkily resize it my making it floating (mod+shift+spacebar)
Now the problem here is that yes it kind of floats? It becomes a small window in the middle of the screen but its not able to be moved. I wasnt able to grab it with the mouse to move it around. And the top bar where the name of the program was displayed wasnt there.
One way i found to make that top bar display again is by doing mod+s and thats when the bar comes back. Well thats great... And this is how i usually launched it for a few weeks.

But what i really want is for xeyes to start on startup. Whenever i start my computer and login i want the i3 config to run and then i want xeyes to start. So i put this in the config:

for_window [class="XEyes"] floating enable
exec --no-startup-id xeyes

Which almost works the entire way... But i still need to do that stupid mod+s on it to be able to move it. I get its a stupuid issue but i really wanna find a way for it to start on startup WITH the ability to be moved without having to do mod+s
Any ideas?

Offline

#2 2023-12-01 08:38:14

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,396

Re: the Xeyes problem: A rather stupid issue

Post your i3 config. What does mod+s do? And xeyes itself doesn't show any errors, right?
wlecome to the boards.

Last edited by jl2 (2023-12-01 08:39:32)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#3 2024-01-03 16:25:51

bananahorde
Member
Registered: 2023-10-29
Posts: 9

Re: the Xeyes problem: A rather stupid issue

Hello, sorry for my inactivity. Ive completely forgotten about this website since i finally managed to solve my problem!

Here are the lines i added to my ~/.config/i3/config

for_window [class="XEyes"]  floating enable, layout stacking
for_window [class="XEyes"]  move absolute position 1750 px 0 px
exec --no-startup-id /usr/local/bin/XEYES-RANDOM.sh

The

XEYES-RANDOM.sh

script is not necessary. I just made that the script randomly applies some arguments to spice it up and give me a different set of eyes at every start.

Offline

#4 2024-01-03 22:05:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Offline

Board footer

Powered by FluxBB