Делаем из KDE, Mac OS
В этой статье мы рассмотрим как сделать из оболочки KDE Plasma подобие Mac OS, операционной системы от Apple.
Я уже делал подобную статью, называется «Как сделать из Gnome 3 подобии MacOS на Ubuntu 20.04», всем кто хочет себе MacOS, но не может себе позволить, могут почитать.
Всё здесь показанное работает на Kubuntu 18.04 с версией KDE 5.12.7, но это должно работать и на более поздних версиях операционной системе и графической оболочки.
Для начала давайте установим нужную тему, но перед этим надо установить специальную программу, так как мы будем использовать тему kvantum, а не обычную.
Для этого введите несколько команд в терминал:
Таким образом мы скачали программу «Kvantum Manager», теперь можем для KDE Plasma установить theme Mac OS, или просто тему Mac OS.
Для этого перейдите по этой ссылке, скачиваете, разархивируем в любую папку, и теперь открываем «Kvantum Manager», нажимаем на кнопку «Select a Kvantum theme folder», выбираем папку в которой хранятся файлы тему.
После чего нажимаем «Install this theme», далее заходим во вкладку «Change/Delete Theme» и выбираем тему, которую установили.
И нажимаем кнопке «Use this theme». Заходим «Параметры системы > Оформление приложений» и там выбираем оформление Kvantum.
После надо поменять оформление окна, заходим в «Параметры системы > Оформление приложений > Оформление окон», там нажимаем на «Загрузить оформления окон…», ищем «McMojave Aurorae», нажимаем установить.
Выбираем скачанную тему. Далее заходим во вкладку цвета и там выбираем цветовую тему «Kvantum», нажимаем «Применить».
Ещё надо изменить тему оформления рабочего стола, заходим в «Параметры системы > Оформление рабочего стола > Тема оформления Plasma», нажимаем на «Загрузить тему рабочего стола», выбираем «McMojave Plasma» и устанавливаем её.
Верхняя панель:
Для этого нажимаем правой кнопкой мыши на рабочий стол и выбираем «Добавить панель > Строка меню приложения» и в принципе всё, но всё-таки стоит ещё добавить несколько виджетов:
- Системный лоток;
- Цифровые часы;
- Доска приложений или Меню запуска приложений;
Вот что у меня получилось:
Док панель:
Последние сделаем док панель или панель приложений как в Mac OS, для этого заходим в менеджер приложений и вписываем в строку поиска слово «Latte», выбираем приложение Latte, скачиваем его.
Я выбрал это приложение, так как, на мой взгляд оно на более удобное, и больше всего похоже на панель из Mac OS.
Запускаем его и нажимаем правой кнопкой мыши, выбираем там «Latte settings», настраиваете как вам надо и удаляем нижнюю панель, которая была до этого.
На этом всё, вот что у нас получилось:
Таким образом мы сделали из KDE подобие MacOS, конечно, всё равно видно что это только Linux, сделанный под MacOS, но всё же.
Также надо сказать, что я делал всё на виртуальной машине и где полупрозрачно, должно быть замыливание.
Вывод:
В этой статье вы прочитали как из KDE Plasma сделать подобии Mac OS, и в целом всё очень сильно похоже, но этим стоит пользоваться, только если вам прям очень сильно нравится дизайн, так как вы всё равно не получите того опыта использования как настоящий MacOS.
Поэтому если есть деньги, то лучше стоит купить нормальный Mac, а не это, так как там программ будет больше, да и в целом опыт использования интереснее.
Источник
Kde как mac os
Updated: July 12, 2019
The world of things falls into three categories — the things you don’t want to do but have to, the things you want to do but can’t and the things you can do. Skinning your KDE desktop to look like macOS falls in the third category. It serves no higher purpose, philosophical or existential, but it is something that Plasma users have the option to try, and try they will.
I’ve dabbled in the Mac transformation packs for many years now. The original Macbuntu test was the best. Ever since, the subsequent attempts came out somewhat short. However, I’ve always done this on Gnome- and Unity-based desktops, never Plasma. Well, that’s about to change. We’re attempting the unattemptable.
The tasks ahead of us
Having recently upgrade the KDE neon instance on my eight-boot Lenovo G50 to Plasma 5.16, I thought this would be a good opportunity to create a new user and start from scratch. Indeed, the idea is to use no third-party repos, only whatever is available through the standard channels. No PPA, no hacks.
I started the transformation while downloading the hefty Plasma 5.16 update, and did it in parallel. There were some small niggles, and it’s definitely not what you should do. But again, thanks to the resilience of neon, I was able to make it all work just fine. So I did the following:
- Added a dock (with zoom effect and everything), positioned center bottom.
- Added a new panel to the top of the screen, with a global menu and a system area.
- Changed the system and window decorations to a more Mac-like layout using only Discover to find the necessary themes and icons.
- Optional steps: repositioning of window buttons and new fonts.
- Future steps: something cool, I won’t disclose just yet.
Let us commence ever so boldly, shall we.
Latte Dock
Plasma has recently gained a native dock called Latte. It is available as a plasmoid widget and/or as a complete dock application, which you install normally and then run (and it can also auto-start with your session). The install command is a simple — using KDE neon as my testbed:
sudo apt-get install latte-dock
I had some problems with the dock’s right-click context menu — because I was doing this while upgrading Plasma, too. But after I finally completed the setup (with two interruptions, including suspend and reboot), the desktop was properly configured, and Latte worked as intended.
If you right-click and open the dock settings window, you can tweak its look and feel and behavior. You can hide it, change the theme, change the background, use a zoom effect, set the degree of animations you want, if any, and several other options. Very handy. The one complaint I had is that the dock is a bit sluggish, but other than that, it did its designed purpose. You can also add widgets (via drag ‘n’ drop), and also rearrange icons as you see fit.
Panel layout & global menu
Once I had the dock in place and working correctly, I removed the bottom panel and added a blank new one to the top. Then, I added to it, left to right: application menu, global menu, spacer, system area. This is pretty much how it is in Mac, but also used to be in Unity. In fact, I did something similar in my Plasma setup on the Asus Vivobook. Yes, you can add extra items — but then, we’re getting ahead of ourselves.
The global menu works fast and true and for all applications. Unlike the test I did with Ubuntu MATE recently, I did not notice any discrepancies or programs that would not integrate correctly. The global menu also shows and disappears really fast. However, Unity still does it better for fully maximized apps, by temporarily shifting the window buttons up into the panel, hint hint.
I also tweaked the system menu. In fact, almost everything in Plasma has several layouts. For example, the clock, the task manager (you can use alternative views, like icons-only), and similarly, you can change the application menu. You can use the classic, Windows XP layout, the modern one (default), or a full-screen overlay, which kind of fits nicely here. It also comes with a soft blur effect, and the dark theming is pretty effective (even though I hate dark themes on the desktop).
Themes and icons
With most desktops — even today, you must roam the net and manually install icons and system themes. Not so with Plasma. Furthermore, the old «Get new themes» functionality has moved from the old popup wizard into Discover. It’s all there, nicely and elegantly sorted, and it all works beautifully. I have not encountered any broken themes, and soon enough I had what I needed. There’s a plethora of Mac-like themes available, including the likes of Mojave and Yosemite and such. For icons, I chose La Capitaine.
Looks really nice and effective.
I also tried the dark theme for the panel, and this one looks quite all right, too.
Then, if you’re really picky, you can tweak the system area — hide or show icons to rearrange them. The ones you show will always be added to the left side, so you can do the trick a few times until you have the perfect, desired layout.
Optional extras
There are a few other tricks you can try. First, a super-powerful Krunner is always available via Alt + F2, and it will drop from the top center of the screen, and it can do a whole lot. This omnibox tool can run commands, search for files, perform basic calculations and queries, send emails, start sessions, and so much more.
We talked about fonts — you can use whatever you like — and even change the color. No need to hack any files, this can all be done elegantly using the standard menu options. Similarly, you can position the buttons on the left if you so desire. Very flexible and enjoyable. Best of all, everything works smoothly.
Gallery
Some fine images and whatnot:
Conclusion
This was a very enjoyable little exercise. A true testimony to the power and flexibility of Plasma. Not just that, it is faster, easier and more effective making the Mac-like transformation in KDE than it is in all other desktop environments I’ve done this in the past five years. For example, I found similar endeavors with Gnome 3, MATE and Xfce buggier and more difficult to implement; I had to manually copy themes, the global menu didn’t always work, the dock was buggy, etc.
In the end, you can have a very not-KDE desktop, and it will be consistent and pretty. Plus, it’s very simple to reset the configurations and go back to the classic desktop formula. All in all, I feel complete, because after so many years, I’ve done another Macbuntu, and things gel. In essence, given KDE neon’s root, this is indeed a Macbuntu, but because it’s done with Plasma, we should call it Makbuntu. Or given it’s KDE neon name, then maybe Macneon or Macplasma. I’ll leave the funny naming to you. Anyway, if you want to do some things just because you can, you can. And if you feel certain aesthetic elements are missing, aha, well, stay tuned!
Источник
KDEConnect/Build MacOS
[Note] Building on macOS is still an experimental feature, it’s not stable and could not be launched as other applications on macOS. Please do not use it in your production environment !
Contents
Prerequisite
- Install Xcode from App Store
- Install Xcode command line tools with xcode-select —install
- Install Python 3 from Python Homepage, Homebrew or MacPorts. Validate your python install with following command: which python3
Setting up Craft environment
Once all prerequisites are satisfied, install Craft
With this command, Craft will be installed in
/CraftRoot . You can change the directory after —prefix to install Craft to another directory.
After a long installation, the final output should be this:
Then, you can execute source /Users/ /CraftRoot/craft/craftenv.sh to enter the Craft environment.
Fetching source code and building
Make sure you are in the Craft environment. There could be a CRAFT: prefix in front of your prompt, like this:
Run craft kde/applications/kdeconnect-kde to build KDE Connect on macOS.
If all is well, the last output could be
Then you’ll get your own build of KDE Connect on macOS in /Users/ /CraftRoot/build/kde/applications/kdeconnect-kde/image-RelWithDebInfo-master/ . But you don’t really need handle with it. Just continue.
Run craft —package kde/applications/kdeconnect-kde to pack KDE Connect to a single application package.
This will be a long process(tested on Mac Mini 2012 fusion driver, 3 minutes 25 seconds).
After that, you will get a DMG image file in /Users/ /CraftRoot/tmp/ .
Launch on macOS
Double click to mount the DMG image, drag it into Applications folder. Then you can see it on your Dashboard.
Open and enjoy the connection between your Mac and your Android phone!
The build is passed on macOS 10.14.5 with Xcode 10.1. Feel easy to test it on other versions.
Источник