AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-866

8128's questions

Martin Hope
8128
Asked: 2011-04-25 10:06:10 +0800 CST

如何使 YouTube 全屏真正全屏?

  • 33

每当(使用 Flash)我全屏制作 YouTube 视频时,它们实际上并没有变得更大。

在下面的屏幕截图中,您可以看到我在全屏模式下观看视频时看到的内容。所有的黑色空间都不应该在那里(我认为)。我在其他网站上没有看到这个问题,例如 BBC iPlayer。

Ubuntu 上 Flash YouTube 的屏幕截图

这是标准的 YouTube 行为,在 YouTube 上很常见,还是只是我?

关于修复它的任何建议?

multiple-monitors
  • 8 个回答
  • 75889 Views
Martin Hope
8128
Asked: 2011-04-11 00:07:50 +0800 CST

为什么我必须解锁我的私钥才能执行下载操作?

  • 3

我不明白为什么我必须被识别 - 任何人都可以下载这个分支。当我上传到启动板时,我得到了同样的提示——这对我来说更有意义。

有人知道为什么 bzr 会这样做吗?

截屏

launchpad
  • 2 个回答
  • 621 Views
Martin Hope
8128
Asked: 2011-04-01 23:24:10 +0800 CST

何时(就地)升级到 11.04 将现有安装转移到 Unity?

  • 2

只是想知道当前使用标准 gnome-panel 桌面的 10.10 用户的默认设置是什么,他们决定通过更新管理器进行升级。

unity
  • 1 个回答
  • 177 Views
Martin Hope
8128
Asked: 2011-03-28 00:09:46 +0800 CST

将文本文件拆分为两个文件,而不会丢失修订历史?

  • 3

所以说我有file.py我想分成file1.pyand file2.py。

这样做的正确方法是什么?会不会使用以下?

bzr copy file.py file1.py
bzr copy file.py file2.py
bzr rm file.py
bazaar
  • 1 个回答
  • 285 Views
Martin Hope
8128
Asked: 2011-03-16 14:13:32 +0800 CST

是什么导致严重的 glib 错误(使用消息菜单编码时)?

  • 4

如果我运行下面的 python 代码(几乎完全来自这篇有用的博客文章),那么我会在终端中收到三个相同的讨厌的错误消息。可能是什么原因造成的?

我注意到数字(在下面的示例中为 5857)在每次运行时都会略有变化。这个数字代表什么?它是内存位置还是类似的东西?

(messaging-menu.py:5857): GLib-GIO-CRITICAL **: g_dbus_method_invocation_return_dbus_error: 断言 `error_name != NULL && g_dbus_is_name (error_name)' 失败

(messaging-menu.py:5857): GLib-GIO-CRITICAL **: g_dbus_method_invocation_return_dbus_error: 断言 `error_name != NULL && g_dbus_is_name (error_name)' 失败

(messaging-menu.py:5857): GLib-GIO-CRITICAL **: g_dbus_method_invocation_return_dbus_error: 断言 `error_name != NULL && g_dbus_is_name (error_name)' 失败

我在 Natty 上运行它,我可能应该知道我是否在 10.10 中遇到相同的错误......

import gtk

def show_window_function(x, y):
    print x
    print y

# get the indicate module, which does all the work
import indicate

# Create a server item
mm = indicate.indicate_server_ref_default()
# If someone clicks your server item in the MM, fire the server-display signal
mm.connect("server-display", show_window_function)
# Set the type of messages that your item uses. It's not at all clear which types
# you're allowed to use, here.
mm.set_type("message.im")
# You must specify a .desktop file: this is where the MM gets the name of your
# app from.
mm.set_desktop_file("/usr/share/applications/nautilus.desktop")
# Show the item in the MM.
mm.show()

# Create a source item
mm_source = indicate.Indicator()
# Again, it's not clear which subtypes you are allowed to use here.
mm_source.set_property("subtype", "im")
# "Sender" is the text that appears in the source item in the MM
mm_source.set_property("sender", "Unread")
# If someone clicks this source item in the MM, fire the user-display signal
mm_source.connect("user-display", show_window_function)
# Light up the messaging menu so that people know something has changed
mm_source.set_property("draw-attention", "true")
# Set the count of messages in this source.
mm_source.set_property("count", "15")
# If you prefer, you can set the time of the last message from this source,
# rather than the count. (You can't set both.) This means that instead of a
# message count, the MM will show "2m" or similar for the time since this
# message arrived.
# mm_source.set_property_time("time", time.time())
mm_source.show()

gtk.main()
indicator
  • 1 个回答
  • 413 Views
Martin Hope
8128
Asked: 2011-03-16 10:19:55 +0800 CST

为什么我的消息菜单代码在拆分为功能时不起作用?

  • 4

下面是两个python程序。它们完全一样,除了一个被分成两个功能。然而,只有一个被分成两个功能的功能不起作用——第二个功能不起作用。为什么会这样?

请注意,代码取自这篇有用的博客文章。

没有功能(作品):

import gtk

def show_window_function(x, y):
    print x
    print y

# get the indicate module, which does all the work
import indicate

# Create a server item
mm = indicate.indicate_server_ref_default()
# If someone clicks your server item in the MM, fire the server-display signal
mm.connect("server-display", show_window_function)
# Set the type of messages that your item uses. It's not at all clear which types
# you're allowed to use, here.
mm.set_type("message.im")
# You must specify a .desktop file: this is where the MM gets the name of your
# app from.
mm.set_desktop_file("/usr/share/applications/nautilus.desktop")
# Show the item in the MM.
mm.show()

# Create a source item
mm_source = indicate.Indicator()
# Again, it's not clear which subtypes you are allowed to use here.
mm_source.set_property("subtype", "im")
# "Sender" is the text that appears in the source item in the MM
mm_source.set_property("sender", "Unread")
# If someone clicks this source item in the MM, fire the user-display signal
mm_source.connect("user-display", show_window_function)
# Light up the messaging menu so that people know something has changed
mm_source.set_property("draw-attention", "true")
# Set the count of messages in this source.
mm_source.set_property("count", "15")
# If you prefer, you can set the time of the last message from this source,
# rather than the count. (You can't set both.) This means that instead of a
# message count, the MM will show "2m" or similar for the time since this
# message arrived.
# mm_source.set_property_time("time", time.time())
mm_source.show()

gtk.mainloop()

使用函数(执行第二个函数但实际上不起作用):

import gtk

def show_window_function(x, y):
    print x
    print y

# get the indicate module, which does all the work
import indicate

def function1():
    # Create a server item
    mm = indicate.indicate_server_ref_default()
    # If someone clicks your server item in the MM, fire the server-display signal
    mm.connect("server-display", show_window_function)
    # Set the type of messages that your item uses. It's not at all clear which types
    # you're allowed to use, here.
    mm.set_type("message.im")
    # You must specify a .desktop file: this is where the MM gets the name of your
    # app from.
    mm.set_desktop_file("/usr/share/applications/nautilus.desktop")
    # Show the item in the MM.
    mm.show()

def function2():
    # Create a source item
    mm_source = indicate.Indicator()
    # Again, it's not clear which subtypes you are allowed to use here.
    mm_source.set_property("subtype", "im")
    # "Sender" is the text that appears in the source item in the MM
    mm_source.set_property("sender", "Unread")
    # If someone clicks this source item in the MM, fire the user-display signal
    mm_source.connect("user-display", show_window_function)
    # Light up the messaging menu so that people know something has changed
    mm_source.set_property("draw-attention", "true")
    # Set the count of messages in this source.
    mm_source.set_property("count", "15")
    # If you prefer, you can set the time of the last message from this source,
    # rather than the count. (You can't set both.) This means that instead of a
    # message count, the MM will show "2m" or similar for the time since this
    # message arrived.
    # mm_source.set_property_time("time", time.time())
    mm_source.show()

function1()
function2()
gtk.mainloop()
indicator
  • 1 个回答
  • 347 Views
Martin Hope
8128
Asked: 2011-02-12 00:25:24 +0800 CST

为什么我们在官方存储库中有非自由软件?

  • 18

Ubuntu wiki描述了官方 Ubuntu 存储库的“部分”,如下所示:

Main - 官方支持的软件。

受限 - 在完全免费的许可下不可用的受支持软件。

Universe - 社区维护的软件,即非官方支持的软件。

Multiverse - 不是免费的软件。

我认为 Ubuntu 存储库中的软件必须是开源的,但是Multiverse的描述不是直接与此相矛盾吗?

official-repositories
  • 3 个回答
  • 807 Views
Martin Hope
8128
Asked: 2011-02-10 13:51:26 +0800 CST

如何对无线网络回归进行故障排除?

  • 4

我一直在经历这个可能有点奇怪的错误。

它在 Lucid 中完美运行,但在 Maverick 和 Natty 中却不行。我发现当我每天启动一个分区时它似乎可以工作(就像我为我的主 10.10 分区所做的那样),但对于我的 11.04 测试分区来说,这真的很痛苦 - 通常拒绝连接。

我认为问题可能是由于我的路由器正在使用 PSK 身份验证/加密,但我对此一无所知。

因此,鉴于我同时安装了工作(10.04)和不工作(10.10 和 11.04),我该如何解决我的问题?

wireless
  • 1 个回答
  • 208 Views
Martin Hope
8128
Asked: 2010-12-31 08:46:54 +0800 CST

什么是进程的“等待通道”?

  • 38

在 GNOME System Monitor 的 Processes 选项卡中有一个“Waiting Channel”列。到目前为止,我在这里看到的最常见的值是poll_schedule_timeout,但我也看到了其他值:0、do_exit、do_wait、futex_wait_queue_me、pipe_wait、__skb_recv_datagram和unix_stream_data_wait。

那么这个“等待频道”栏是什么意思呢?也许其中的一些价值观是什么意思?

截屏

system-monitor process
  • 2 个回答
  • 40157 Views
Martin Hope
8128
Asked: 2010-12-29 01:33:46 +0800 CST

视频稳定软件

  • 24

有什么方法可以通过图形程序或命令行实用程序在 Ubuntu 中“稳定”视频?

通过稳定,我主要指的是 iMovie 的一个功能,其中分析了抖动的视频,然后逐帧更改以使其看起来更流畅。这种方法通过缩放和旋转来产生效果,从而降低视频质量。查看此视频以了解我的意思的示例。

software-recommendation video-editor
  • 9 个回答
  • 12990 Views
Martin Hope
8128
Asked: 2010-11-24 12:51:35 +0800 CST

如何刷新指标?

  • 5

如果我添加或删除一个指示器(我添加或删除一个包),我目前必须注销或重新启动以查看我的更改的效果。

如何在会话中刷新我的指标以使我能够继续工作?

indicator
  • 4 个回答
  • 5570 Views
Martin Hope
8128
Asked: 2010-11-15 01:15:09 +0800 CST

SMC2632W无线PCMCIA卡?

  • 1

我有一台带有 SMC2632W 无线 PCMCIA 卡的旧东芝笔记本电脑。在 Ubuntu 7.10 下无法连接到网络(使用 Wubi,因为它无法从 CD 启动),但它可以在 Windows XP 中运行。

我怎样才能得到这个工作?

wireless wubi 7.10
  • 1 个回答
  • 194 Views
Martin Hope
8128
Asked: 2010-11-08 01:04:45 +0800 CST

软件中心 - 我的“其他”项目从何而来?

  • 4

在软件中心的已安装软件下,我有许多软件包标记为来自“其他”。这些可能来自哪里?该libdvdcss2条目并不让我感到惊讶,但我不知道 qt 和 update-manager 条目的来源。

据我所知,我从未从 PPA 安装这些软件包,或手动安装它们。

更新:截屏后,我删除了 qt 包,因为我实际上并不需要它们。但是的输出$ apt-cache policy update-manager是:

更新管理器:
  安装:1:0.142.21
  候选人:1:0.142.21
  版本表:
 *** 1:0.142.21 0
        100 /var/lib/dpkg/状态
     1:0.142.20 0
        500 http://gb.archive.ubuntu.com/ubuntu/maverick-updates/main i386 包
     1:0.142.19 0
        500 http://gb.archive.ubuntu.com/ubuntu/maverick/main i386 包

我想知道这是否与特立独行的存储库有关。

问题截图

software-center
  • 2 个回答
  • 162 Views
Martin Hope
8128
Asked: 2010-10-01 12:14:25 +0800 CST

如何重置 gnome 字体配置?

  • 27

如何将字体设置(实际字体和大小)重置为默认值?

(我在 System->Preferences->Appearance->Fonts 中更改了一些值)

这对于 Maverick 中的新 Ubuntu 字体尤为重要——例如,我很想看看默认设置是什么。

gnome configuration fonts
  • 6 个回答
  • 49003 Views
Martin Hope
8128
Asked: 2010-09-15 07:51:05 +0800 CST

无法启动 Firefox

  • 3

我的 Firefox 遭受了各种创伤。

  • 添加了 firefox-daily ppa 以及来自同一 PPA 的第 4 版。我从那以后删除了这个,现在有了版本3.6.9+build1+nobinonly-0ubuntu0.10.04.1
  • 删除 Firefox 配置文件文件夹并使用不同的配置文件进行一般播放

但现在我不能让它做任何事情,甚至不能启动。以下所有内容都不会产生任何结果:

$ firefox
$ firefox -safe-mode
$ firefox -private
$ firefox -ProfileManager

奇怪(或不奇怪)firefox --help并按firefox -version预期行事。有人对如何复活我的Firefox有任何建议吗?

10.04 firefox
  • 2 个回答
  • 839 Views
Martin Hope
8128
Asked: 2010-09-08 10:43:44 +0800 CST

Ubuntu 中的 VB.NET 编程

  • 16

我刚开始上六年级的大学,我打算参加计算机 A-level。我被告知第一年的所有编程都是在 Windows 上的 VB.NET(我相信你在第二年可以有更多的自由......)

我确实有一个 Windows XP 分区,您可以免费下载 Visual Basic Express Edition,但是我想知道我可以在多大程度上使用 Ubuntu(Mono 或其他任何东西)进行学习?谁能给我从哪里开始的任何指示?

实际上,如果要这样工作,我需要能够在 Ubuntu 和 Windows 上使用相同的文件/项目/任何东西——这样我就可以在大学的 Windows 机器上工作,更重要的是让老师可以查看并标记我的工作!(我真的不想向老师询问我的 Ubuntu 使用情况,我更愿意融入并成为一名普通学生......)

programming mono c#
  • 2 个回答
  • 31446 Views
Martin Hope
8128
Asked: 2010-08-31 12:37:31 +0800 CST

为什么我要使用剪贴板管理器?

  • 19

我最近看到这个民意调查要求“最佳 Linux 剪贴板管理器”。剪贴板管理器实际上是什么?剪贴板管理器在什么情况下有用?

Ubuntu 的默认剪贴板行为与其他(Windows 或 Mac)系统是否存在一些差异?

clipboard
  • 9 个回答
  • 2046 Views
Martin Hope
8128
Asked: 2010-08-26 10:07:23 +0800 CST

单色 Pidgin 托盘图标

  • 6

谁能指点我单色 Pidgin 托盘图标,并告诉我如何安装它们?

(我知道我应该使用消息菜单指示器小程序或其他任何名称,但目前我不想这样做,而是使用标准的 Pidgin 托盘小程序)

appearance pidgin notification-area
  • 1 个回答
  • 1006 Views
Martin Hope
8128
Asked: 2010-08-25 11:31:28 +0800 CST

bzr 中的 Ubuntu 打包

  • 6

不久前,有人谈到将所有(或至少部分?)打包工作转移到启动板上的 bzr 分支。我似乎记得提到了许多好处,例如使新的开发人员/打包人员更容易做出贡献。

谁能告诉我这是否发生以及有什么好处?(我可能在这方面完全搞错了,所以请随时纠正我......)

launchpad packaging motu bazaar
  • 5 个回答
  • 372 Views
Martin Hope
8128
Asked: 2010-08-19 09:30:40 +0800 CST

备份工具比较

  • 342

这个问题的存在是因为它具有历史意义,但它不被认为是本网站的一个很好的主题问题,因此请不要将其用作您可以在这里提出类似问题的证据。虽然我们鼓励您帮助维护其答案,但请理解“大清单”问题通常不允许在 Ask Ubuntu 上进行,并且将根据帮助中心关闭。

备份非常重要。显然没有最好的备份工具,但是选项的比较会很有趣。

  • 图形界面?命令行?
  • 增量备份?
  • 自动备份?
  • 安装方法:在标准存储库中?购电协议?
software-recommendation backup
  • 30 个回答
  • 298190 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve