GithubHelp home page GithubHelp logo

tualatrix / ubuntu-tweak Goto Github PK

View Code? Open in Web Editor NEW
692.0 84.0 196.0 25.49 MB

Ubuntu Tweak is a tool that makes it easy to configure your system and desktop settings. (This project is no longer under maintenance)

License: GNU General Public License v2.0

Python 97.78% Shell 2.22%

ubuntu-tweak's Introduction

Ubuntu Tweak 


Introduction
===========

Ubuntu Tweak is a tool that makes it easy to configure your system and desktop settings.


License
=======
This program is released under the GNU General Public License (GPL) version 2, see the file 'COPYING' for more information.


How to build & test
========================
sudo python setup.py install

ubuntu-tweak's People

Contributors

akayj avatar billy3321 avatar cjwatson avatar dduan avatar debabratadas avatar digge avatar iven avatar jonolumb avatar lfeng avatar ningfei avatar tualatrix avatar webbed88 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  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

ubuntu-tweak's Issues

无法加载应用截面

经过我在终端启动后的错误提示,我猜测是http://ubuntu-tweak.com/utapp/ 这个下面的 src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js这个Js无法加载导致,希望可以用其他的方法解决这个问题。谢谢!(我这边上传图有问题,就不传图了。)

Crash when try set name for computer icon

OS: Ubuntu 13.04 amd64
Unity version: 7.0.0
GNOME version: 3.6.2

Issue:
In improvements tab, when enable show "Computer" icon on desktop, try to enable option for custom name for that icon causes freeze and crash.

I think it's because unity can't show computer icon, and trying change name to nullptr causes freeze.

Solution: check unity_version >= 7.0 and disable this (only for Computer icon - other works OK). Unfortunately, I don't have time to fix that...

doesn't compiling

I'm trying to install on Ubuntu 14.04.

Linux mh-NBLB2 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

mh@mh-NBLB2:~/Downloads/ubuntu-tweak$ sudo python setup.py install
Traceback (most recent call last):
File "setup.py", line 2, in
from setuptools import setup, find_packages
ImportError: No module named setuptools

ImportError: No module named setuptools

Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools
``` this is the output please help

com.ubuntu-tweak.tweak" is not installed

can't start ubuntu-tweak.
eric@eric-Lenovo:ubuntu-tweak$ ./ubuntu-tweak -d
dpkg-query: no packages found matching ubuntu-tweak
[Launcher][DEBUG] Distribution: Ubuntu 14.04 trusty
Application: Ubuntu Tweak
Desktop:ubuntu (ubuntu-tweak:84)
[gtk][DEBUG] <function post_ui at 0x7ffaa0e32e60>: (debug.py:182)
[gtk][DEBUG] args-1: <function _confirm_deps at 0x7ffa984a16e0> (debug.py:184)
[gtk][DEBUG] <function post_ui at 0x7ffaa0e32e60>: (debug.py:182)
[gtk][DEBUG] args-1: <function _on_error at 0x7ffa984a19b0> (debug.py:184)
[DbusProxy][ERROR] org.freedesktop.DBus.Error.ServiceUnknown: The name com.ubuntu_tweak.daemon was not provided by any .service files (dbusproxy.py:43)
[gtk][DEBUG] <function post_ui at 0x7ffaa0e32e60>: (debug.py:182)
[gtk][DEBUG] args-1: <function on_find_object at 0x7ffa984c4b90> (debug.py:184)
[gtk][DEBUG] <function post_ui at 0x7ffaa0e32e60>: (debug.py:182)
[gtk][DEBUG] args-1: <function on_scan_finished at 0x7ffa984c4c80> (debug.py:184)
[gtk][DEBUG] <function post_ui at 0x7ffaa0e32e60>: (debug.py:182)
[gtk][DEBUG] args-1: <function on_scan_error at 0x7ffa984c4d70> (debug.py:184)
[gtk][DEBUG] <function post_ui at 0x7ffaa0e32e60>: (debug.py:182)
[gtk][DEBUG] args-1: <function on_plugin_object_cleaned at 0x7ffa984c50c8> (debug.py:184)
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
[gtk][DEBUG] <function post_ui at 0x7ffaa0e32e60>: (debug.py:182)
[gtk][DEBUG] args-1: <function _load_module at 0x7ffa48d9d848> (debug.py:184)
[CommonSetting][DEBUG] Loading schema value for: com.ubuntu-tweak.tweak/tweaks (common.py:107)
[CommonSetting][DEBUG] Loading override (common.py:94)
[GSetting][DEBUG] Got the schema_default: None for key: com.ubuntu-tweak.tweak.tweaks (gsettings.py:21)
Traceback (most recent call last):
File "./ubuntu-tweak", line 94, in on_startup
self._window = UbuntuTweakWindow(feature=options.feature, module=options.module, splash_window=splash_window)
File "/home/eric/softwares/ubuntu-tweak/ubuntutweak/main.py", line 293, in init
tweaks_page = FeaturePage('tweaks')
File "/home/eric/softwares/ubuntu-tweak/ubuntutweak/main.py", line 161, in init
self._setting = GSetting('com.ubuntu-tweak.tweak.%s' % feature_name)
File "/home/eric/softwares/ubuntu-tweak/ubuntutweak/settings/gsettings.py", line 26, in init
raise Exception('Oops, Settings schema "%s" is not installed' % self.schema_id)
Exception: Oops, Settings schema "com.ubuntu-tweak.tweak" is not installed
[Launcher][DEBUG] on_command_line: './ubuntu-tweak', '-d'
TypeError: can't convert return value to desired type
./ubuntu-tweak:123: Warning: g_value_copy: assertion 'G_IS_VALUE (src_value)' failed
app.run(sys.argv)
./ubuntu-tweak:123: Warning: g_value_reset: assertion 'G_IS_VALUE (value)' failed
app.run(sys.argv)
./ubuntu-tweak:123: Warning: g_value_unset: assertion 'G_IS_VALUE (value)' failed
app.run(sys.argv)

My system is:
Linux eric-Lenovo 3.19.0-47-generic #53~14.04.1-Ubuntu SMP Mon Jan 18 16:09:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Thanks

0.8.4出现“无法解决软件包依赖”对话框后崩溃

在安装应用时,先选中启用源,然后点击更新,更新完成后弹出“无法解决软件包依赖”对话框,点击对话框的关闭按钮。崩溃~ 再一次开启UT时,直接点安装,弹出“无法解决软件包依赖”后,点击关闭,依然崩溃~ PS:UT是个很好的Tweak工具,把系统重装了一遍,13.04。然后装UT,通过UT安装Chrome出现这个问题的。 谢谢您能开发并继续维护这个项目,谢谢~
2013-05-01 01 13 10

Ubuntu Tweak Janitor -> Remove old kernel = crash

Ubuntu 12.04.2, 32-bit can't remove old kernels. I'm using 0.8.5-1~precise2. I have 106 old kernel entries.

Selecting the "Old Kernel" check box produces this message:
Traceback (Most recent call last):
File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/oldkernel_plugin.py", line 46, in get_cruft self.emit('scan_finished',True,count,size)
TypeError: could not convert type long to (null) required for parameter 2

Thanks,
Kind regards.
Iestyn Guest

Can't change windows theme.

When changing window theme in Tweaks>Theme>Window theme nothing happens. Not even if i restart or relog. I can se that it does change some value in gconf but in Ubuntu 12.10 it doesn't work.

Me and google found this post: http://askubuntu.com/questions/144169/how-do-i-change-the-window-theme-using-bash

And the answer here will do it for me but not Ubuntu Tweak so i guess you have to execute:

gsettings set org.gnome.desktop.wm.preferences theme Adwaita

Where Adwaita is the theme ofcourse. Haven't looked into the code to know if the program execudes bash commands or if you prefer another way to set the values but here you have something to go on.

"RuntimeError: maximum recursion depth exceeded" during setup

On a very new (fresh, almost virgin) Ubuntu 16.04 system, when I run sudo python setup.py install, I get an infinite loop:

File "/usr/lib/python2.7/distutils/dist.py", line 287, in init
self.finalize_options()
File "/home/martin/.local/lib/python2.7/site-packages/setuptools/dist.py", line 389, in finalize_options
ep.require(installer=self.fetch_build_egg)
File "/home/martin/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2324, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/home/martin/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 851, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/martin/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 1123, in best_match
return self.obtain(req, installer)
File "/home/martin/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 1135, in obtain
return installer(requirement)
File "/home/martin/.local/lib/python2.7/site-packages/setuptools/dist.py", line 420, in fetch_build_egg
dist = self.class({'script_args': ['easy_install']})
File "/home/martin/.local/lib/python2.7/site-packages/setuptools/dist.py", line 321, in init
_Distribution.init(self, attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in init
self.finalize_options()
File "/home/martin/.local/lib/python2.7/site-packages/setuptools/dist.py", line 389, in finalize_options
ep.require(installer=self.fetch_build_egg)
File "/home/martin/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2324, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/home/martin/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 840, in resolve
if dist is None or (dist not in req and replace_conflicting):
File "/home/martin/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2926, in contains
return self.specifier.contains(item, prereleases=True)
File "/home/martin/.local/lib/python2.7/site-packages/packaging/specifiers.py", line 726, in contains
for s in self._specs
File "/home/martin/.local/lib/python2.7/site-packages/packaging/specifiers.py", line 726, in
for s in self._specs
File "/home/martin/.local/lib/python2.7/site-packages/packaging/specifiers.py", line 180, in contains
return self._get_operator(self.operator)(item, self.version)
File "/home/martin/.local/lib/python2.7/site-packages/packaging/specifiers.py", line 271, in wrapped
return fn(self, prospective, spec)
File "/home/martin/.local/lib/python2.7/site-packages/packaging/specifiers.py", line 458, in _compare_greater_than_equal
return prospective >= Version(spec)
File "/home/martin/.local/lib/python2.7/site-packages/packaging/version.py", line 207, in init
release=tuple(int(i) for i in match.group("release").split(".")),
RuntimeError: maximum recursion depth exceeded

窗口管理器透明度的bug

Ubuntu 12.04

将活动窗口和非活动窗口的透明度从1.00拉小之后,取消活动窗口标题栏透明checkbox的勾,透明度增大很多..只有将透明度拉回1.0在取消,才不会突然变得透明

Add System Language Changer

How if language changer feature added in Ubuntu Tweak? I feel it is easy to edit:

sudo gedit /etc/default/locale
sudo gedit ~/.pam_environment

but it is absolutely easier if anyone can do it in GUI-way via Ubuntu Tweak. Because many times default Ubuntu Language Changer doesn't work well, even I have installer language packs needed. But if I edit manually those 2 files, done. So, it is great if Ubuntu Tweak has this feature.

Cache path of Mozilla Firefox and Thunderbird changed to ~/.cache

With release 21 of Mozilla (as milestone mention), cache path changed in Linux (unix-like) disributions:

  • Firefox: ~/.mozilla/firefox/~/.cache/mozilla/firefox/
  • Thunderbird: ~/.thunderbird/~/.cache/thunderbird/

The bug report which brought the change:
https://bugzilla.mozilla.org/show_bug.cgi?id=239254

This is a question in Ask Ubuntu shows the case with Ubuntu Tweak with quick solution which may help:
https://askubuntu.com/questions/375831/ubuntu-tweak-and-mozilla-firefox-and-thunderbird-cache

how to install ?

Traceback (most recent call last):
File "setup.py", line 2, in
from setuptools import setup, find_packages
ImportError: No module named setuptools

Crash on startup

/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak:33: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
  GObject.threads_init()
[Launcher][DEBUG] Distribution: Ubuntu 14.10 utopic
Application: Ubuntu Tweak
Desktop:gnome (ubuntu-tweak:84)
Attempt to unlock mutex that was not locked
Przerwane (core dumped)

File Type Manager not working

I've downloaded Ubuntu Tweak on Ubuntu 16.04 and it opens just fine, however, the FileTypeManager in the Admins tab does not work. Whenever I go to open it it tells me:
'No module named "FileTypeManager"
Please ensure you have entered the correct module name.'
I have looked all over on many FAQ and forums but I just can not seem to find anyone with the same problem or any solutions. Any help would be appreciated.

"ImportError: cannot import name GConf;" and it doesn't work

when i run it , it stoped in the last line and waited.
this is the log, i think the reason is GConf, but i don't know how to do.

ubuntu 16.04

/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak:30: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gdk, Gtk, Gio
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gdk, Gtk, Gio
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/common/consts.py:13: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import GLib, Notify
dpkg-query: 没有找到与(Not found) ubuntu-tweak 相匹配的软件包(software package )
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/gui/dialogs.py:21: PyGIWarning: Vte was imported without specifying a version first. Use gi.require_version('Vte', '2.91') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gtk, Gdk, Pango, Vte
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/apps/__init__.py:7: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gtk, WebKit, Soup
[DbusProxy][ERROR] org.freedesktop.DBus.Error.ServiceUnknown: The name com.ubuntu_tweak.daemon was not provided by any .service files (dbusproxy.py:43)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak", line 92, in on_startup
    from ubuntutweak.main import UbuntuTweakWindow
  File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/main.py", line 36, in <module>
    from ubuntutweak.preferences import PreferencesDialog
  File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/preferences.py", line 32, in <module>
    from ubuntutweak.factory import WidgetFactory
  File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/factory.py", line 24, in <module>
    from ubuntutweak.gui.widgets import *
  File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/gui/widgets.py", line 9, in <module>
    from ubuntutweak.settings.gconfsettings import GconfSetting, UserGconfSetting
  File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/settings/gconfsettings.py", line 4, in <module>
    from gi.repository import GConf
ImportError: cannot import name GConf;
TypeError: can't convert return value to desired type
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak:123: Warning: g_value_copy: assertion 'G_IS_VALUE (src_value)' failed
  app.run(sys.argv)
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak:123: Warning: g_value_reset: assertion 'G_IS_VALUE (value)' failed
  app.run(sys.argv)

dpkg-query: no packages found matching ubuntu-tweak

After installation I have tried to open to ubuntu-tweak in command line. Below error throing when I open the ubuntu-tweak tool.

dpkg-query: no packages found matching ubuntu-tweak
[DbusProxy][ERROR] org.freedesktop.DBus.Error.ServiceUnknown: The name com.ubuntu_tweak.daemon was not provided by any .service files (dbusproxy.py:43)
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : Default
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak", line 94, in on_startup
self._window = UbuntuTweakWindow(feature=options.feature, module=options.module, splash_window=splash_window)
File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/main.py", line 291, in init
GuiBuilder.init(self, file_name='mainwindow.ui')
File "/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/ubuntutweak/gui/init.py", line 17, in init
self.builder.add_from_file(file_path)
gi._glib.GError: Failed to open file '/usr/share/ubuntu-tweak/ui/mainwindow.ui': No such file or directory
TypeError: can't convert return value to desired type
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak:123: Warning: g_value_copy: assertion 'G_IS_VALUE (src_value)' failed
app.run(sys.argv)
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak:123: Warning: g_value_reset: assertion 'G_IS_VALUE (value)' failed
app.run(sys.argv)
/usr/local/lib/python2.7/dist-packages/ubuntu_tweak-0.8.8-py2.7.egg/EGG-INFO/scripts/ubuntu-tweak:123: Warning: g_value_unset: assertion 'G_IS_VALUE (value)' failed
app.run(sys.argv)

Thanks.

Can't set custom desktop wallpaper as login screen background

In ubuntu 13.10, after I installed latest ubuntu-tweak(version 0.8.6-1~saucy1). If I clicked "set as desktop background" in Login Settings->Tweaks. It seems doesn't work, the login screen background not changed and I get a purple color background.

Compiz的Bug

Ubuntu 12.04
kevin@edge:~$ compiz --version
Compiz 0.9.7.0

触碰屏幕边缘的显示工作区域等设置在最近一次compiz的更新后无效了

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.