GithubHelp home page GithubHelp logo

linuxdeepin / dde-control-center Goto Github PK

View Code? Open in Web Editor NEW
177.0 21.0 128.0 332.38 MB

Control panel of Deepin Desktop Environment.

Home Page: https://linuxdeepin.github.io/dde-control-center/

License: GNU General Public License v3.0

C++ 96.89% Shell 0.13% CSS 0.02% CMake 1.29% C 0.18% HTML 1.49%

dde-control-center's Introduction

DDE Control Center

DDE Control Center is the control panel of Deepin Desktop Environment.

Dependencies

Build dependencies

  • pkg-config
  • cmake
  • Qt5(>= 5.6) with modules:
    • qt5-default
    • qt5declarative5-dev
    • qt5svg5-dev
    • qttools5-dev-tools
    • qtdeclarative5-dev
  • Deepin-tool-kit(>=2.0) with modules:
    • dtkcore-dev
    • dtkwidget-dev
    • dtkcore-bin
  • geoip-dev
  • dde-qt-dbus-factory
  • gsettings-qt-dev
  • kf5networkmanagerqt-dev
  • xrandr-dev
  • mtdev-dev
  • fontconfig1-dev
  • freetype6-dev
  • egl1-mesa-dev
  • xcb-ewmh-dev

Runtime dependencies

Installation

Build from source code

  1. Make sure you have installed all dependencies.

  2. Build:

$ cd dde-control-center
$ mkdir Build
$ cd Build
$ cmake ..
$ make
  1. Install:
$ sudo make install

The executable binary file could be found at /usr/bin/dde-control-center after the installation is finished, and plugins will be placed into ${CMAKE_INSTALL_FULL_LIBDIR}/dde-control-center/modules/, usually is /usr/lib/dde-control-center/modules/.

Usage

Execute dde-control-center -h to get more details.

Note: --spec can be used to debug plugins. The passed in value is the path where the so of plugin is in.

Getting help

You can press F1 to start deepin-manual when you focus on DDE Control Center window.

You may also find these channels useful if you encounter any other issues:

Develop Plugins with cmake

# just show the target link way

find_pacakge(DdeControlCenter REQUIRED)
find_pacakge(Dtk COMPONENTS Core Widget REQUIRED)
find_pacakge(Qt5 COMPONENTS Core Gui Widgets REQUIRED)

add_library(dcc_exampleplugin SHARED
    plugin.h
    plugin.cpp
)

target_link_libraries(dcc_exampleplugin PRIVATE
    Dde::DCCWidget
    Dde::DCCInterface
    Dtk::Core
    Dtk::Widget
    Qt5::Core
    Qt5::Gui
    Qt5::Widgets
)

Getting involved

We encourage you to report issues and contribute changes

License

DDE Control Center is licensed under GPL-3.0-or-later.

dde-control-center's People

Contributors

18202781743 avatar 7wcy avatar archiemeng avatar asterwyx avatar caixr23 avatar chenchongbiao avatar comixhe avatar decodetalkers avatar dengbo11 avatar feiwang1119 avatar felixonmars avatar groveer avatar hotime avatar hudeng-go avatar hy-uniontech avatar kegechen avatar kt286 avatar mhduiy avatar myml avatar oiosnc avatar robertkill avatar rocet92 avatar ssk-wh avatar tsic404 avatar ut003640 avatar utsweetyfish avatar wineee avatar yixinshark avatar zsien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dde-control-center's Issues

Control Panel is Dialing Home AND Over Unsecured

I noticed there was an issue with the weather widget when I recently installed the Deepin Desktop DE for my Manjaro Linux installation. I pulled the code down and upon inspection I noticed there are at least 2 times in the code that you "phone home" to 3rd party servers. This WAS NOT made aware at any point while I was installing or using your code.

image

Why was this put into place? I (and I'm sure 99.999999%) of your users want this removed. If you want to use a 3rd party weather API you should include multiple options of high quality 3rd party providers and I should be able to choose which API and enter my own API key myself.

In addition to that, I do NOT want my desktop environment dialing home or to other servers sending my information to them. Especially without my permission --AND especially not over HTTP (unsecured).

How is the Deepin team going to rectify this issue?

Touchpad switch dead-end ;)

The current situation can lead to an unusable desktop:
When you accidentally or without thinking switch off the Touchpad switch in the 'Mouse and Touchpad' section and you have no working mouse available you have no way of switching your touchpad back on. At least on my hardware the touchpad switch via keyboard will only work after another login.
I think it would be good to either check if another pointer device is present and display a warning in case not, or a warning in any case would also be an option maybe ...

Artifacting Background

I'm getting a weird artifacting background on the control center (see picture links below).

This happens wheather I'm using the Vesa drivers or the amdgpu one. (I have an RX 480).

This issue however does not happen anywhere else in the Desktop environment, and it does not happen at all inside a VM.

Picture links:

-> http://i.imgur.com/UQaBYJj.jpg
-> http://i.imgur.com/PvGIbET.jpg

Let me know if you need any further information!

Add datetime Brasília/São Paulo

Brazil have daylight saving time (DST), not in all country, but in the most part.

Deepin don't have this option, UTC-3:00 DST, in another desktops with Brasília/São Paulo cities.

weird laggy scrolling when using touchpad

As long as I use my mousewheel scrolling up and down the control center works fine, but as soon as I use the two-finger scrolling function of my touchpad it's extremely laggy. Everywhere else on the system I don't have any issue with that, only inside the control-center.

[archlinux] pkg without updater?

@felixonmars would you consider building archlinux deepin-control-center pkg with option WITH_MODULE_SYSINFO_UPDATE=NO ?
This will supply a perfectly functional system-info widget including the licence display but without the updater, which is useless and confusing for the user in Archlinux 😉

No touchpad settings with the libinput input driver

I'm running the Deepin Desktop Environment on a laptop with Arch Linux. If I use the libinput input driver instead of Synaptics, the "Mouse and Touchpad" section of the Control Center is completely empty. The touchpad still works but it is not possible to change any settings, e.g. tap to click.

I noticed that the code for detecting input devices identifies touchpads by their "Synaptics Off" property. I suspect that when a touchpad uses a non-Synaptics driver such as libinput, Deepin fails to detect it and hides the touchpad configuration settings.

The Arch Linux package manager now recommends libinput over Synaptics (which is in maintenance mode) so it would be great if Deepin could support it. For reference I'm attaching the output of xinput list-props for both drivers.

touchpad-props-libinput.txt
touchpad-props-synaptic.txt

Adding backgrounds through the control panel

Issue by @eloc574
Saturday Sep 06, 2014 at 20:57 GMT
Originally opened as martyr-deepin/arch-deepin#36


I think it might be a good idea to implement the feature of dragging and dropping the pictures into the control panel backgrounds menu to add new backgrounds. This is used well under the boot menu background custimization and I actually assumed it was going to work like this when I was trying to add my own backgrounds because of this.

Dual Monitor issue under archlinux

Issue by @alexcwyu
Sunday Jan 10, 2016 at 12:40 GMT
Originally opened as martyr-deepin/arch-deepin#226


hi,

my PC is using this config:
display card: nvidia 670
monitors: 2 x Dell 2151H, running in displayport 1.2 MST mode (PC connect to first monitor via displayport in, and the first monitor connect to second monitor via display port MST)

My manjaro xfce can utilize 2 monitors correctly.
But when I change to manjaro deepin (clean install in other partition), the second monitor has no signal.
I upgraded kernel to 4.3.3, installed and enabled nvidia proprietary driver. the desktop can be displayed in both monitors but the deepin-dock is "gone"

Also, the screens backout every 1-2 mins and resume in next 1-2 sec. is this display card issue?

Finally, in xfce, the display manager has option to notify user when new monitor is plugged / unplugged. Could this be added to deepin.

Let me know if you need further info.

Unable to delete Pictures Directory in $HOME

Hey there, actually i'm trying to delete the Pictures directory in my home but after each reboot it is recreated by something, i actually disabled the xdg-user-dirs config so i can delete Directories like Downloads and Documents but still can't remove the Pictures dir , any suggestions?

AutoPlay Feature Not Working

Issue by @stevedude
Thursday Feb 04, 2016 at 20:28 GMT
Originally opened as martyr-deepin/arch-deepin#239


I am using Manjaro Deepin 15.12, 64-bit, 4.1 kernel, NVidia GTS 450 Grpahics Card, AMD Phenom II Processor.

My issue is that AutoPlay does not seem to work. The setting for the Control Center is set to autoplay CDs and DVDs with their associated programs, but when I insert an optical disk, nothing happens. I have to launch my program manually in order to play the material.

Thanks

DNS problem

I'm found one big problem, present in 15.3 and 15.4

If change dns for network in deepin control center, just add in bottom of /etc/resolv.conf

Thus not really change DNS, principal DNS in use maintain default received in DHCP, need remove DNS received in DHCP for really work

battery remaining time

its possible to show remaining time for battery when we click on the battery icon?? at now i see only battery % but i dont have any clue how long my laptop can work

When a character is not a alphabet was used in the keyboard settings, problem occurs in the list

Issue by @fu-sen
Saturday Dec 26, 2015 at 08:46 GMT
Originally opened as martyr-deepin/arch-deepin#202


I tried Deepin flavor of Manjaro in Japanese.
I looked for "日本語" (Japanese) from the list of "J" in the setting of the keyboard, but it did not exist.
As a result of looking for the list, it had been included in the why "R".
When it is in the language is not in English, it seems to have a problem with the sort of keyboard settings.

list of "J"

list of "R" 1

list of "R" 2

[archlinux] wireless network goes to sleep after laptop resumes from suspend

Since a week or two, the wireless network manager doesn't wake up after resuming my laptop.
Once I saw a message in the top right, after I resumed, saying "network manager goes to sleep" or something like that.

I don't know any way to wake up the network manager. However I am able to make it try to connect to a hidden network, which wakes up the network manager. This is of course super tedious.

Now I open and close my laptop sometimes a lot, on conferences for example, and then it is really necessary to be able to use the internet, if I quickly want to look something up. So this is absolutely unpleasant for the whole experience. If a few more of these type of issues arise, I can't use deepin anymore.

I run on Arch linux, if that makes any difference. I'll be happy to supply any logs or command output.

Cannot connect modem Huawei E220 on Deepin 15.2

Deepin 15.2 can detect my modem Huawei E220 as "Huawei Technologies E220 HSDPA Modem" , but only offer an irresponsive link "Restore the connection > ". While I click this link, nothing happend

[archlinux] Can't start dde-control-center

Here's the output:

/home/vshatskyi/.gtkrc-2.0:1: error: invalid keyword 'font_name', expected valid keyword - e.g. `style'
2016-12-30, 20:05:48.123 [Debug  ] [main.cpp             main                                79] dde-control-center start
2016-12-30, 20:05:48.125 [Debug  ] [homescreen.cpp       HomeScreen::HomeScreen              38] begin init HomeScreen
2016-12-30, 20:05:48.125 [Debug  ] [pluginsmanager.cpp   PluginsManager::loadPlugins         162] load plugins form "/usr/lib/dde-control-center/modules"
2016-12-30, 20:05:48.125 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "account"
2016-12-30, 20:05:48.125 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "datetime"
2016-12-30, 20:05:48.125 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "defaultapps"
2016-12-30, 20:05:48.125 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "display"
2016-12-30, 20:05:48.125 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "keyboard"
2016-12-30, 20:05:48.125 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "mouse"
2016-12-30, 20:05:48.125 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "network"
2016-12-30, 20:05:48.126 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "personalization"
2016-12-30, 20:05:48.126 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "power"
2016-12-30, 20:05:48.126 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "shortcuts"
2016-12-30, 20:05:48.126 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "sound"
2016-12-30, 20:05:48.126 [Debug  ] [pluginsmanager.cpp   PluginsManager::insertPlugin        134] insert "system_info"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          258] avatar =  "/var/lib/AccountsService/icons/vshatskyi"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/Background"  =  "file:///usr/share/backgrounds/default_background.jpg"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/GreeterBackground"  =  "file:///usr/share/backgrounds/default_background.jpg"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/HistoryIcons"  =  ""
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/HistoryLayout"  =  ""
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/Icon"  =  "/var/lib/AccountsService/icons/vshatskyi"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/Language"  =  "en_US.UTF-8"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/Layout"  =  "us"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/Locale"  =  ""
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/SystemAccount"  =  "false"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::loadUserAvatar          260] "User/XSession"  =  "gnome-xorg"
2016-12-30, 20:05:48.156 [Debug  ] [homescreen.cpp       HomeScreen::HomeScreen              170] end init HomeScreen
2016-12-30, 20:05:48.178 [Debug  ] [frame.cpp            Frame::updateGeometry               351] updateGeometry:  QRect(0,0 0x0)
2016-12-30, 20:05:48.730 [Debug  ] [frame.cpp            Frame::updateGeometry               351] updateGeometry:  QRect(0,0 0x0)

Choosing icons for gtk2 and gtk3 applications separately

When I choose icons from dde-control-center, both gtk2 and gtk3 applications take this. In order to choose different icons for gtk2 applications, overriding gtk2 configuration files (e.g gtk-icon-theme-name ) doesn't work in Deepin DE.

Please help me how I choose icons for gtk2 and gtk3 applications separately??
I am using latest Archlinux, Deepin DE

Category, notification issues

The control-center is so elegant, but there is some problems:

  1. Why you removed category selection? For configuring keyboard-language or selecting cursor theme , I must almost scroll to end;
  2. Notifications can not be saved on System Notifications. When or which notifications comes out, it is unknown;
  3. It would be nice to change control center default view to system notifications instead of weather api, because weather api will not work regularly (depending on internet);
  4. Clicking avatar or menu icon opens the same. Why avatar opens all configurations?
  5. Font size selection is limited, only selecting 10, 12, 16;

Thanks for your great work!!!
I am using latest Archlinux, Deepin DE

auto-switch option for headphone and speaker

When I plug-in headphone it doesn't switch playback device to headphone automatically, staying on speakers, doing it only manually . it would be nice if auto-switch option added for headphone and speaker. Even headphone selected or no, speaker doesn't work..

[archlinux] impossible to enter WIFI password

When selecting a new network in the control center, the box for entering the password is displayed very briefly, but then the control center immediately closes and I have now way to enter the password. Selecting the same network again has no effect.
The only way to login I could find in the end was to log out and back in so a separate dialog window for the password would appear on the desktop.
I'm running deepin-control-center 3.0.11

Import OpenVPN profile

Now Deepin control center does not support importing OpenVPN profiles. Gnome control center supports this.
For example, I have one file: config.ovpn. This file contains all configuration. Deepin can import this file and connect to VPN.

[archlinux] tap to click button malfunction

I use deepin control center on Arch.
This issue has been here for at least half a year.
When i switch off "tap to click" in mouse settings, this is fine. Tap to click stops.
However, if I reboot, then it is enabled again, although in the settings it is still switched off.

So every time I reboot I have to switch it on again, and switch it off again. (BTW, I can do this by tapping the switch two times =) )

weather module in archlinux

The new control-center now starts with a weather applet by default. For me, and supposedly for everyone on Archlinux it shows "Sorry, unable to get weather!"
My question is, if there would be a way to make use somehow of its functionality also on Archlinux and other platforms or, if not, if this can be somehow disabled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.