mirror of
https://github.com/outbackdingo/hyprcosmic.git
synced 2026-08-25 14:53:21 +00:00
Compare commits
28
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9093f5ab22 | ||
|
|
e755349b8f | ||
|
|
4af0111f54 | ||
|
|
41df50a547 | ||
|
|
ae00c0f437 | ||
|
|
e2b40599e8 | ||
|
|
8948ce5f7f | ||
|
|
6581855fe0 | ||
|
|
5b02d6db27 | ||
|
|
8e2534b6fd | ||
|
|
c3f368d550 | ||
|
|
2738786dbf | ||
|
|
7bb54b437c | ||
|
|
f39c9d9fcc | ||
|
|
e3dd8940f2 | ||
|
|
076413d967 | ||
|
|
d1958ed24c | ||
|
|
601f4e21c5 | ||
|
|
64afee56e4 | ||
|
|
9fa57ff542 | ||
|
|
69ba4a56fa | ||
|
|
8ddb4bbe6a | ||
|
|
ff1afea5aa | ||
|
|
0b34a971b5 | ||
|
|
11e25b3b85 | ||
|
|
dd6f8864ee | ||
|
|
23ce305735 | ||
|
|
22e5cf3801 |
+12
@@ -86,3 +86,15 @@
|
|||||||
path = cosmic-store
|
path = cosmic-store
|
||||||
url = https://github.com/pop-os/cosmic-store.git
|
url = https://github.com/pop-os/cosmic-store.git
|
||||||
branch = master
|
branch = master
|
||||||
|
[submodule "cosmic-wallpapers"]
|
||||||
|
path = cosmic-wallpapers
|
||||||
|
url = https://github.com/pop-os/cosmic-wallpapers.git
|
||||||
|
branch = master
|
||||||
|
[submodule "cosmic-idle"]
|
||||||
|
path = cosmic-idle
|
||||||
|
url = https://github.com/pop-os/cosmic-idle.git
|
||||||
|
branch = master
|
||||||
|
[submodule "cosmic-player"]
|
||||||
|
path = cosmic-player
|
||||||
|
url = https://github.com/pop-os/cosmic-player.git
|
||||||
|
branch = master
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# COSMIC Desktop
|
# COSMIC Desktop
|
||||||
|
|
||||||
Currently an incomplete **pre-alpha**. Testing instructions below for various distributions.
|
Currently an incomplete **alpha**. Testing instructions below for various distributions.
|
||||||
|
|
||||||
|
|
||||||
## Components of COSMIC Desktop
|
## Components of COSMIC Desktop
|
||||||
@@ -16,6 +16,7 @@ Currently an incomplete **pre-alpha**. Testing instructions below for various di
|
|||||||
* [cosmic-notifications](https://github.com/pop-os/cosmic-notifications)
|
* [cosmic-notifications](https://github.com/pop-os/cosmic-notifications)
|
||||||
* [cosmic-osd](https://github.com/pop-os/cosmic-osd)
|
* [cosmic-osd](https://github.com/pop-os/cosmic-osd)
|
||||||
* [cosmic-panel](https://github.com/pop-os/cosmic-panel)
|
* [cosmic-panel](https://github.com/pop-os/cosmic-panel)
|
||||||
|
* [cosmic-player](https://github.com/pop-os/cosmic-player)
|
||||||
* [cosmic-randr](https://github.com/pop-os/cosmic-randr)
|
* [cosmic-randr](https://github.com/pop-os/cosmic-randr)
|
||||||
* [cosmic-screenshot](https://github.com/pop-os/cosmic-screenshot)
|
* [cosmic-screenshot](https://github.com/pop-os/cosmic-screenshot)
|
||||||
* [cosmic-session](https://github.com/pop-os/cosmic-session)
|
* [cosmic-session](https://github.com/pop-os/cosmic-session)
|
||||||
@@ -124,13 +125,15 @@ We do our best to keep the referenced submodule commits in this repository build
|
|||||||
Notes on versioning and packaging all these components together properly will be added at a later stage once COSMIC DE gets its first release.
|
Notes on versioning and packaging all these components together properly will be added at a later stage once COSMIC DE gets its first release.
|
||||||
|
|
||||||
## Installing on Pop!_OS
|
## Installing on Pop!_OS
|
||||||
COSMIC DE is near its first alpha release. Using and testing the pre-alpha is welcome. Bugs and breakage are expected.
|
COSMIC DE is in its first alpha release. Using and testing the alpha is welcome. Bugs and breakage are expected.
|
||||||
|
|
||||||
#### Enable Wayland
|
#### Enable Wayland
|
||||||
`sudo nano /etc/gdm3/custom.conf`
|
`sudo nano /etc/gdm3/custom.conf`
|
||||||
|
|
||||||
Change to true
|
Change `WaylandEnable` to `true`:
|
||||||
|
```
|
||||||
WaylandEnable=true
|
WaylandEnable=true
|
||||||
|
```
|
||||||
|
|
||||||
Reboot for this change to take effect.
|
Reboot for this change to take effect.
|
||||||
|
|
||||||
@@ -140,7 +143,7 @@ Reboot for this change to take effect.
|
|||||||
sudo nano /usr/lib/udev/rules.d/61-gdm.rules
|
sudo nano /usr/lib/udev/rules.d/61-gdm.rules
|
||||||
```
|
```
|
||||||
|
|
||||||
Look for `LABEL="gdm_prefer_xorg"` and `LABEL="gdm_disable_wayland"`, add `#` to the `RUN` statement so it will look like this
|
Look for `LABEL="gdm_prefer_xorg"` and `LABEL="gdm_disable_wayland"`. Add `#` to the `RUN` statements so they look like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
LABEL="gdm_prefer_xorg"
|
LABEL="gdm_prefer_xorg"
|
||||||
@@ -164,8 +167,8 @@ sudo systemctl restart gdm
|
|||||||
After logging out, click on your user and there will be a sprocket at the bottom right. Change the setting to COSMIC. Proceed to log in.
|
After logging out, click on your user and there will be a sprocket at the bottom right. Change the setting to COSMIC. Proceed to log in.
|
||||||
|
|
||||||
## Installing on Arch Linux
|
## Installing on Arch Linux
|
||||||
Installing via the preferred AUR helper is possible the usual way, e.g.:
|
Install via [cosmic-session](https://archlinux.org/packages/extra/x86_64/cosmic-session/) or the [cosmic](https://archlinux.org/groups/x86_64/cosmic/) group, e.g.:
|
||||||
`paru -S cosmic-session-git` or `yay -S cosmic-session-git`
|
`pacman -S cosmic-session` or `pacman -S cosmic`
|
||||||
|
|
||||||
Then log out, click on your user, and a sprocket at the bottom right shows an additional entry alongside your desktop environments. Change to COSMIC and proceed with log in.
|
Then log out, click on your user, and a sprocket at the bottom right shows an additional entry alongside your desktop environments. Change to COSMIC and proceed with log in.
|
||||||
For a more detailed discussion, consider the [relevant section in the Arch wiki](https://wiki.archlinux.org/title/COSMIC).
|
For a more detailed discussion, consider the [relevant section in the Arch wiki](https://wiki.archlinux.org/title/COSMIC).
|
||||||
@@ -180,6 +183,28 @@ dnf install cosmic-desktop
|
|||||||
Then log out, click on your user, and a sprocket at the bottom right shows an additional entry alongside your desktop environments. Change to COSMIC and proceed with log in.
|
Then log out, click on your user, and a sprocket at the bottom right shows an additional entry alongside your desktop environments. Change to COSMIC and proceed with log in.
|
||||||
For further information, you may check the [COPR page](https://copr.fedorainfracloud.org/coprs/ryanabx/cosmic-epoch/).
|
For further information, you may check the [COPR page](https://copr.fedorainfracloud.org/coprs/ryanabx/cosmic-epoch/).
|
||||||
|
|
||||||
|
## Installing on openSUSE tumbleweed
|
||||||
|
Cosmic can be installed by adding X11:COSMIC:Factory repo with opi.
|
||||||
|
```
|
||||||
|
opi patterns-cosmic
|
||||||
|
```
|
||||||
|
Select X11:COSMIC:Factory, after installing keep the repo.
|
||||||
|
|
||||||
|
Then log out, click on your user, and a sprocket at the bottom right shows an additional entry alongside your desktop environments. Change to COSMIC and proceed with log in.
|
||||||
|
For further information, you may check the [OBS page](https://build.opensuse.org/project/show/X11:COSMIC:Factory).
|
||||||
|
|
||||||
|
## Installing on Gentoo Linux
|
||||||
|
COSMIC can be installed on Gentoo via a custom overlay. Add the overlay using your preferred overlay manager (such as eselect), and then install the desktop environment:
|
||||||
|
|
||||||
|
`eselect repository add cosmic-overlay git https://github.com/fsvm88/cosmic-overlay.git`
|
||||||
|
|
||||||
|
Next, install the COSMIC desktop environment and its associated themes:
|
||||||
|
|
||||||
|
`emerge cosmic-meta pop-theme-meta`
|
||||||
|
|
||||||
|
Then log out, click on your user, and a sprocket at the bottom right shows an additional entry alongside your desktop environments. Change to COSMIC and proceed with log in.
|
||||||
|
For further information, you may check the [Gentoo Wiki](https://wiki.gentoo.org/wiki/COSMIC) or [Overlay Repository](https://github.com/fsvm88/cosmic-overlay).
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
- [Mattermost](https://chat.pop-os.org/)
|
- [Mattermost](https://chat.pop-os.org/)
|
||||||
- [Twitter](https://twitter.com/pop_os_official)
|
- [Twitter](https://twitter.com/pop_os_official)
|
||||||
|
|||||||
+1
-1
Submodule cosmic-applets updated: f154c16df9...2c79ca44e2
+1
-1
Submodule cosmic-applibrary updated: 08edc89ef0...c01d98d629
+1
-1
Submodule cosmic-bg updated: ae45d5e1b3...fd44edf79b
+1
-1
Submodule cosmic-comp updated: 19ba568f02...b7937807ad
+1
-1
Submodule cosmic-edit updated: 8d16f08816...cd2497eb0f
+1
-1
Submodule cosmic-files updated: 5ecd697e5d...59ea01fc0c
+1
-1
Submodule cosmic-greeter updated: 9933926d44...116ef79931
+1
-1
Submodule cosmic-icons updated: f48101c38d...52ad55cba5
Submodule
+1
Submodule cosmic-idle added at 7899fccbbe
+1
-1
Submodule cosmic-launcher updated: 7752b9b09e...70153f4021
+1
-1
Submodule cosmic-notifications updated: 4a79052f46...5c33113c24
+1
-1
Submodule cosmic-osd updated: dc4df2c006...9dd146bb50
+1
-1
Submodule cosmic-panel updated: 683a204ef8...21e66d51e9
Submodule
+1
Submodule cosmic-player added at 7c080feb86
+1
-1
Submodule cosmic-randr updated: 88c570cf8b...da7df14acd
+1
-1
Submodule cosmic-screenshot updated: f853446dbe...10a564d9db
+1
-1
Submodule cosmic-session updated: 5613bc6606...6e48e12443
+1
-1
Submodule cosmic-settings updated: a8bf840ace...62bb9f57d9
+1
-1
Submodule cosmic-settings-daemon updated: bf2e505e45...a05129f195
+1
-1
Submodule cosmic-store updated: 1e1b322567...64736365de
+1
-1
Submodule cosmic-term updated: e6aecbe840...df1e7dd1f2
Submodule
+1
Submodule cosmic-wallpapers added at cb8e6d653b
+1
-1
Submodule cosmic-workspaces-epoch updated: 30b0cfe17b...8c4e66691c
@@ -0,0 +1,41 @@
|
|||||||
|
Debugging COSMIC
|
||||||
|
================
|
||||||
|
|
||||||
|
An assortment of useful tools and settings for debugging COSMIC.
|
||||||
|
|
||||||
|
## Logs
|
||||||
|
Cosmic-comp, cosmic-panel, and other components log to `stderr`, as well as journald (if present).
|
||||||
|
|
||||||
|
## Wayland and X11 Protocols
|
||||||
|
|
||||||
|
Run clients with `WAYLAND_DEBUG=1` to see what wayland calls are made. `xtrace -n <command>` can be used to see what X calls an X11 client is making.
|
||||||
|
|
||||||
|
## XWayland
|
||||||
|
|
||||||
|
A tool like `xprop` can be used to determine if an application is running in XWayland. If `xprop` is unable to select a window, it is a native Wayland window.
|
||||||
|
|
||||||
|
## Performance
|
||||||
|
|
||||||
|
`sudo perf top` can be used to see what functions, across all processes, are using the most CPU time. The `-p` argument can be used to restrict this to a single process. The output is more useful for executables with debug symbols.
|
||||||
|
|
||||||
|
`cosmic-comp` integrates Tracy for profiling. It can be built with `cargo build --features profile-with-tracy --profile fastdebug`, then the Tracy client can connect from the same system or a different one
|
||||||
|
|
||||||
|
## Graphics drivers
|
||||||
|
`eglinfo` and `vulkaninfo` indicate what graphics cards and drivers are in use for hardware-accelerated rendering.
|
||||||
|
|
||||||
|
On systems with NVIDIA graphics, `nvidia-smi` has information about the GPU and driver.
|
||||||
|
|
||||||
|
## DRM
|
||||||
|
The Linux DRM subsystem handles graphics cards and display controllers.
|
||||||
|
|
||||||
|
`drm_info` prints information about the outputs, planes, etc. associated with each GPU and their properties. The output of this command can be useful for understanding display related issues.
|
||||||
|
|
||||||
|
https://gitlab.freedesktop.org/wlroots/wlroots/-/wikis/DRM-Debugging documents how to configure DRM to enable additional logging, which can be useful for understanding some DRM driver issues.
|
||||||
|
|
||||||
|
## Frozen desktop
|
||||||
|
|
||||||
|
If the desktop is frozen and `ctrl+alt+f*` don't work to change to a TTY, [the magic SysRq key](https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html) with `r` can be used to swich input in raw mode, so the kernel will handle the tty switch key binding. /etc/sysctl.conf` or `/etc/sysctl.d` may need to be edited first to set `kernel.sysrq=1` or another value that allows this command.
|
||||||
|
|
||||||
|
It is also possible to connect over `ssh` from another computer.
|
||||||
|
|
||||||
|
Then `pidof cosmic-comp` can be used to get the PID of the compositor. Then it is possible to investigate further with tools like `gdb`, using `sudo gdb` then `attach <pid>`.
|
||||||
@@ -11,10 +11,12 @@ build:
|
|||||||
{{ just }} cosmic-edit/build-release
|
{{ just }} cosmic-edit/build-release
|
||||||
{{ just }} cosmic-files/build-release
|
{{ just }} cosmic-files/build-release
|
||||||
{{ just }} cosmic-greeter/build-release
|
{{ just }} cosmic-greeter/build-release
|
||||||
|
{{ just }} cosmic-idle/build-release
|
||||||
{{ just }} cosmic-launcher/build-release
|
{{ just }} cosmic-launcher/build-release
|
||||||
{{ just }} cosmic-notifications/build-release
|
{{ just }} cosmic-notifications/build-release
|
||||||
{{ make }} -C cosmic-osd all
|
{{ make }} -C cosmic-osd all
|
||||||
{{ just }} cosmic-panel/build-release
|
{{ just }} cosmic-panel/build-release
|
||||||
|
{{ just }} cosmic-player/build-release
|
||||||
{{ just }} cosmic-randr/build-release
|
{{ just }} cosmic-randr/build-release
|
||||||
{{ just }} cosmic-screenshot/build-release
|
{{ just }} cosmic-screenshot/build-release
|
||||||
{{ just }} cosmic-settings/build-release
|
{{ just }} cosmic-settings/build-release
|
||||||
@@ -22,6 +24,7 @@ build:
|
|||||||
{{ just }} cosmic-session/all
|
{{ just }} cosmic-session/all
|
||||||
{{ just }} cosmic-store/build-release
|
{{ just }} cosmic-store/build-release
|
||||||
{{ just }} cosmic-term/build-release
|
{{ just }} cosmic-term/build-release
|
||||||
|
{{ make }} -C cosmic-wallpapers all
|
||||||
{{ make }} -C cosmic-workspaces-epoch all
|
{{ make }} -C cosmic-workspaces-epoch all
|
||||||
{{ make }} -C xdg-desktop-portal-cosmic all
|
{{ make }} -C xdg-desktop-portal-cosmic all
|
||||||
|
|
||||||
@@ -34,10 +37,12 @@ install rootdir="" prefix="/usr/local": build
|
|||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-files/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-files/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-greeter/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-greeter/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-icons/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-icons/install
|
||||||
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-idle/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-launcher/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-launcher/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-notifications/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-notifications/install
|
||||||
{{ make }} -C cosmic-osd install DESTDIR={{rootdir}} prefix={{prefix}}
|
{{ make }} -C cosmic-osd install DESTDIR={{rootdir}} prefix={{prefix}}
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-panel/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-panel/install
|
||||||
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-player/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-randr/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-randr/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-screenshot/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-screenshot/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-settings/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-settings/install
|
||||||
@@ -45,6 +50,7 @@ install rootdir="" prefix="/usr/local": build
|
|||||||
{{ just }} rootdir={{rootdir}} prefix={{rootdir + prefix}} cosmic-session/install
|
{{ just }} rootdir={{rootdir}} prefix={{rootdir + prefix}} cosmic-session/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-store/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-store/install
|
||||||
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-term/install
|
{{ just }} rootdir={{rootdir}} prefix={{prefix}} cosmic-term/install
|
||||||
|
{{ make }} -C cosmic-wallpapers install DESTDIR={{rootdir}} prefix={{prefix}}
|
||||||
{{ make }} -C cosmic-workspaces-epoch install DESTDIR={{rootdir}} prefix={{prefix}}
|
{{ make }} -C cosmic-workspaces-epoch install DESTDIR={{rootdir}} prefix={{prefix}}
|
||||||
{{ make }} -C xdg-desktop-portal-cosmic install DESTDIR={{rootdir}} prefix={{prefix}}
|
{{ make }} -C xdg-desktop-portal-cosmic install DESTDIR={{rootdir}} prefix={{prefix}}
|
||||||
|
|
||||||
@@ -71,8 +77,10 @@ clean:
|
|||||||
rm -rf cosmic-edit/target
|
rm -rf cosmic-edit/target
|
||||||
{{ just }} cosmic-files/clean
|
{{ just }} cosmic-files/clean
|
||||||
rm -rf cosmic-greeter/target
|
rm -rf cosmic-greeter/target
|
||||||
|
{{ just }} cosmic-idle/clean
|
||||||
rm -rf cosmic-launcher/target
|
rm -rf cosmic-launcher/target
|
||||||
rm -rf cosmic-panel/target
|
rm -rf cosmic-panel/target
|
||||||
|
rm -rf cosmic-player/target
|
||||||
rm -rf cosmic-notifications/target
|
rm -rf cosmic-notifications/target
|
||||||
rm -rf cosmic-osd/target
|
rm -rf cosmic-osd/target
|
||||||
rm -rf cosmic-randr/target
|
rm -rf cosmic-randr/target
|
||||||
@@ -82,5 +90,6 @@ clean:
|
|||||||
rm -rf cosmic-session/target
|
rm -rf cosmic-session/target
|
||||||
{{ just }} cosmic-store/clean
|
{{ just }} cosmic-store/clean
|
||||||
{{ just }} cosmic-term/clean
|
{{ just }} cosmic-term/clean
|
||||||
|
{{ make }} -C cosmic-wallpapers clean
|
||||||
rm -rf cosmic-workspaces-epoch/target
|
rm -rf cosmic-workspaces-epoch/target
|
||||||
rm -rf xdg-desktop-portal-cosmic/target
|
rm -rf xdg-desktop-portal-cosmic/target
|
||||||
|
|||||||
Executable
+29
@@ -0,0 +1,29 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
TAG="$1"
|
||||||
|
|
||||||
|
if [ -z "$TAG" ]
|
||||||
|
then
|
||||||
|
echo "$0 [tag]" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Do you want to tag the current state of cosmic-epoch with the tag $TAG? (y/N)"
|
||||||
|
read answer
|
||||||
|
if [ "$answer" != "y" ]
|
||||||
|
then
|
||||||
|
echo "Did not answer y, exiting" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
git fetch --recurse-submodules
|
||||||
|
|
||||||
|
git tag --force "$TAG"
|
||||||
|
git submodule foreach git tag --force "$TAG"
|
||||||
|
|
||||||
|
git push --force origin tag "$TAG"
|
||||||
|
git submodule foreach git push --force origin tag "$TAG"
|
||||||
Submodule xdg-desktop-portal-cosmic updated: 566b866096...93997f83a5
Reference in New Issue
Block a user