|
Post by rakonrad on Jan 5, 2024 14:33:50 GMT
I'm wondering if someone could tell me how I can put "monitor settings" in the systray. I am changing these settings (one monitor to two) quite frequently and it's a pain to constantly go into settings to do so. Thanks a lot!
Richard
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Jan 5, 2024 19:18:59 GMT
No problem. The app that runs for monitor settings is called "arandr" and it is just calls xrandr. If you are swapping between two particular settings back and forth, the easy thing would be to create a shortcut for each of those two settings, and put those on the shelf.... I'll give you step by step for this a little later. But if you want to do what you suggested, just add arandr to your ibar. If you don't have an ibar already, add one to your shelf. If you don't have a shelf you can put ibar directly on your desktop. Or you could enable desktop icons and put a shortcut in the Desktop folder. Easy, eh?
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Jan 8, 2024 19:17:42 GMT
Okay, so I told you I'd step-by-step you thru it, since you haven't posted you already figured it out I guess you still want that eh? So first, run "Monitor Settings" and set stuff how you want it. Then from the menu, select Layout and Save As and pick a filename, for example layout1. By default it puts them in ~/.screenlayout and I'll assume that. Okay now lets make that into a clickable shortcut. From Settings Panel, under Apps, Select personal application launcher, and Add. Name it something, like "Layout1 Shortcut". For Exec, click the three dots. Right click, select options, and show hidden. Open the .screenlayout folder and select your layout1.sh. Then go to the icon tab and pick an icon - which is kinda a hassle to do manually so maybe you wanna use your file manager to find one first, but in any case, there's lots under /usr/share/icons but gotta look around. Next, assuming you don't want it in your menu, go to the options tab and uncheck show in menus. Apply that and close it. Now right click on your ibar, select ibar/contents. Click the dot to the right off "Layout1 Shortcut" and select Add. (If its not there yet, wait or reboot, I don't know how to make moksha update the list of available stuff any faster.) Apply and close. Repeat for any other layout you want. Let me know if not clear.
If you want to make one icon that switches back and forth between the two layouts, like a toggle to enable your second monitor, that's doable too....
|
|