Help > General

Great Distro and a couple of things I'm not understanding

<< < (2/2)

oyim:
Okay! Went ahead and installed i3 to see what I could see...  :D

Here are the keybinds that I set for miyo-exit and pmenu.  :D  Both are working.  ;)

WARNING: miyo-exit doesn't present as a floating window...it will tile like normal i3 windows. It's been so long since I've used i3, I can't remember what to do to make a floating window!  :o   ;D   :P

# Miyo-Exit
bindsym $mod+Ctrl+m exec --no-startup-id miyo-exit

# Pmenu
bindsym $mod+Ctrl+p exec --no-startup-id pmenu.py

That command will have pmenu show up wherever your cursor is located on the screen. If you want it to show in a certain area of the screen, the next command opens it in the lower left-hand corner of my screen...on the left screen edge and right on top of the status bar. Might have to play with those x and y numbers depending on your screen size...and where you'd prefer it to show on your screen.

# Pmenu
bindsym $mod+Ctrl+p exec --no-startup-id pmenu.py --x 2 --y 743

For i3, you'd need to change the Logout command in miyo-exit (if you wanted to use Logout there). Don't know if you need this, but since i3lock isn't available, the lxdm screen lock that I put in Miyo will work. Here's the keybind that I made for it...

# Screenlock
bindsym $mod+Ctrl+x exec --no-startup-id lxdm -c USER_SWITCH

I think I was wrong in my interpretation of the developer saying that pmenu only works in Openbox and Xfce. In looking at the documentation on the gitlab page, I think he was talking about running pmenu with the option of having it also display the Settings, Screenlock, and Logout buttons as part of the menu will only work in Openbox and Xfce. Sorry for the wrong information.

Good luck!

oyim:
Oh my word! I'm having a ball playing around with i3 again! I'd forgotten how much fun it is! Thanks stabbmesiter for stirring my interest again.  :D

stabbmesiter:
Hi oyim,
                 Thanks for the replies/info. I've answered/observed as I can. How to you get the quotes thing going, I can't see any options. Not a biggy just curious.

--------------------------------------
WARNING: miyo-exit doesn't present as a floating window...it will tile like normal i3 windows. It's been so long since I've used i3, I can't remember what to do to make a floating window!  :o   ;D   :P

               If you want a tiled window presented as floating on start up of the application put an entry similar to this in config
               
               for_window [class="Lxterminal"] floating enable
               
               case sensitive - needs a capital letter to start with. I've messed around with this for miyo-exit but not gotten it to work yet (various combinations of upper/lower case). Not too bothered as if I'm exiting I'm exiting.
               
               To change a tiled window to floating and back the default is
               
               # toggle tiling / floating
               bindsym $mod+Shift+space floating toggle
               
               And of course a couple of other keys to move/change size and change focus between tiles/floating which are usually included as default.
--------------------------------------
# Miyo-Exit
bindsym $mod+Ctrl+m exec --no-startup-id miyo-exit

# Pmenu
bindsym $mod+Ctrl+p exec --no-startup-id pmenu.py

         Nice one, I missed off the --no-startup-id (lazy) so sweet and neat on that.

--------------------------------------
# Pmenu
bindsym $mod+Ctrl+p exec --no-startup-id pmenu.py --x 2 --y 743

         Very nice and incorporated, thanks.

--------------------------------------
# Screenlock
bindsym $mod+Ctrl+x exec --no-startup-id lxdm -c USER_SWITCH

         Yep, that works but is pretty brutal (zap - gone) plus leaves the user logged in. I think that you are looking at locking the screen and I'm looking at exiting.

         what I did, for now, was copy miyo-exit to miyo-exit-i3 and changed the "openbox-exit" entry to

--field="  Log Out!gnome-logout!Log Out":fbtn "i3-nagbar -t warning -m 'Meh, you wuss. Suck the big one, this will end me' -b 'Yes, exit i3' 'i3-msg exit'" \

         then referenced miyo-exit-i3 in my config file.

         Which really goes to show how puerile I remain (this is something I changed in my initial delight of finding i3, a few (cough) years ago). It works, is a horrible hack and requires additional mouse movement and clicks but makes me smile. Try running i3-nagbar with no options, again made me smile.
         
         I've tested shutdown/reboot/logout via miyo-exit-i3 and all appear to work - though you have to make sure that all terminals are closed as if not, it just sits there.
--------------------------------------
Oh my word! I'm having a ball playing around with i3 again! I'd forgotten how much fun it is! Thanks stabbmesiter for stirring my interest again.  :D

         i3wm is really clever/fast and I especially like the back and forth keys and the back and forth ability when you click on the same workspace in i3status, plus scratchpad. Saves so much time/concentration (lazy I am).
         
         # workspace back and forth (with/without active container)
           workspace_auto_back_and_forth yes
           bindsym $mod1+b workspace back_and_forth
           bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
          
         If you are a icewm fan (I am - antix and absolute slackware are fine examples of how to present icewm, as I'm sure are others that I've not looked at.....no flames!). Check out the new version 1.5.1 - a real tweakers delight is icewm (absolute slackware has just moved to 1.5.1, the dev likes to keep some of the things really up to date). Released earlier this month - resolves a bunch of niggles.
         But then again I started out with openbox (Crunchbang!) so openbox will always be special.

--------------------------------------

Bunch of smileys - I too have returned to i3 and am enjoying it afresh. Bit worried that I'll try awesome wm again - now that isn't easy to tweak!

All the best and regards.

oyim:
Got miyo-exit to float!  :D

Add this to your config...


--- Code: ---for_window [class="(?i)Yad"] floating enable
--- End code ---

With that, all of the yad-based Accessories that I included in MiyoLinux Rolling now float in i3.  8)

When I suggested using the lock screen, I just meant that since i3lock isn't available and if you wanted to use a lock screen, you could use the lxdm lock screen. I didn't mean to use it for exiting the session.  :)  Sorry for the misunderstanding.

To use the quote feature, if you look at the post of the person you want to quote, on the top right-hand corner (of that person's post), it will say "Quote". Just click that, and it will quote the entire post of that person.

Another option is to use the Quote button. When you are making a post, if you look above the text box that you're typing in, you'll see the smileys directly above the text box. Above the smileys is a row of buttons. Going from left to right, the Quote button is the 13th button. It will only put a Quote box around the text that you want to quote; such as, if I wanted to quote one part of your post, I would use my cursor to highlight that, copy it, then paste it in the text box where I'm typing. After pasting it in the text box, I would highlight it (in the text box) with my cursor, then click the Quote button. So I would end up with something like this...


--- Quote ---Bunch of smileys - I too have returned to i3 and am enjoying it afresh. Bit worried that I'll try awesome wm again - now that isn't easy to tweak!
--- End quote ---

I love awesome, but you're correct...tweaking is an adventure. One thing about it, it will let you know if you messed up. LOL!  ;D

stabbmesiter:

--- Quote ---Code:

for_window [class="(?i)Yad"] floating enable
--- End quote ---

Brilliant and included in my config - I wouldn't have got that, very esoteric!


--- Quote ---misunderstanding.
--- End quote ---

No problems whatsoever - my fault, your fault - fault, what fault?


--- Quote ---I love awesome, but you're correct...tweaking is an adventure. One thing about it, it will let you know if you messed up. LOL!  ;D
--- End quote ---

Ahh but the feeling when it works.....bit of a rush and a awesome can be a very good looking, versatile wm (with tweaking)

And clearly I'm using quotes  :)

Now.....acpid and keyboard....guess I'll have to go through the manuals again....not too sure if I've got my head 'round a LFS based distro yet. Enjoying it though.

Regards

Navigation

[0] Message Index

[*] Previous page

Go to full version