Compare commits

...
Author SHA1 Message Date
Jeremy Soller 9093f5ab22 Update cosmic-settings 2025-01-14 14:51:39 -07:00
Jeremy Soller e755349b8f Update cosmic-settings 2025-01-14 14:12:34 -07:00
Jeremy Soller 4af0111f54 Update submodules 2025-01-14 14:03:31 -07:00
Jeremy Soller 41df50a547 Translation updates 2025-01-14 12:27:36 -07:00
Jeremy Soller ae00c0f437 Prepare for alpha 5.1 2025-01-14 10:18:01 -07:00
Jeremy Soller e2b40599e8 Update cosmic-player 2025-01-09 11:56:21 -07:00
Jeremy Soller 8948ce5f7f Update repositories prior to alpha 5 tag 2025-01-09 11:03:59 -07:00
Jeremy Soller 6581855fe0 Add cosmic-player 2025-01-09 10:43:58 -07:00
Hadi ChokrandGitHub 5b02d6db27 chore: add wiki entry to the Gentoo instructions 2024-12-16 22:57:14 +01:00
Jeremy Soller 8e2534b6fd Update for COSMIC alpha 4 2024-12-04 17:27:19 -07:00
Jeremy Soller c3f368d550 Update for COSMIC alpha 3 2024-10-31 14:04:01 -06:00
Jeremy Soller 2738786dbf Add cosmic-idle 2024-10-31 11:21:15 -06:00
Jeremy Soller 7bb54b437c Add cosmic-wallpapers 2024-09-26 16:44:53 -06:00
Jeremy Soller f39c9d9fcc Update submodules 2024-09-24 09:28:58 -06:00
e3dd8940f2 Clarify GDM configuration changes
Signed-off-by: Tristan Andrus <[email protected]>
Co-authored-by: Tristan Andrus <[email protected]>
2024-08-30 03:30:53 +02:00
Rerum02andGitHub 076413d967 Add openSUSE Tumbleweed 2024-08-30 03:29:50 +02:00
Hadi ChokrandMichael Murphy d1958ed24c Add Gentoo Linux Install Instructions
Overlays in Gentoo are like the AUR on Arch since the package is currently only avaible on an Overlay repo i added the instructions if the packge gets mobed in to the offical gentoo repo, i will update the instructions.
2024-08-30 03:27:06 +02:00
Jacob Kauffmann 601f4e21c5 Update conjugation to match new sentence 2024-08-27 15:18:27 -06:00
killertofusandJacob Kauffmann 64afee56e4 fixed a grammar error 2024-08-27 15:18:27 -06:00
killertofusandJacob Kauffmann 9fa57ff542 fixed a error 2024-08-27 15:18:27 -06:00
killertofusandJacob Kauffmann 69ba4a56fa it's out of the aur 2024-08-27 15:18:27 -06:00
Jacob KauffmannandJeremy Soller 8ddb4bbe6a Update additional wording from pre-alpha to alpha 2024-08-13 10:01:21 -06:00
CraftandJeremy Soller ff1afea5aa Update README.md updating pre-alpha to alpha since Pop!_OS has released the alpha. 2024-08-13 10:01:21 -06:00
Jeremy Soller 0b34a971b5 Update cosmic-settings 2024-08-05 10:16:25 -06:00
Jeremy Soller 11e25b3b85 Add script for tagging 2024-08-05 10:13:08 -06:00
Jeremy Soller dd6f8864ee Update submodules 2024-08-05 09:33:33 -06:00
SnêuandGitHub 23ce305735 bump submodules 2024-07-29 19:04:09 +02:00
Ian Douglas ScottandVictoria Brekenfeld 22e5cf3801 Add a DEBUGGING.md file with some information useful for debugging
I have included information about various things I've used for debugging
COSMIC. More could definitely be added.

It seems good to have some central resource for this. Though not
everything listed here is very straightforward to use.
2024-07-26 11:03:37 +02:00
29 changed files with 146 additions and 27 deletions
+12
View File
@@ -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
+31 -6
View File
@@ -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)
Submodule
+1
Submodule cosmic-idle added at 7899fccbbe
Submodule
+1
Submodule cosmic-player added at 7c080feb86
+1
Submodule cosmic-wallpapers added at cb8e6d653b
+41
View File
@@ -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>`.
+9
View File
@@ -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
View File
@@ -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"