如何禁用 cryptswap?我想要一个像以前一样未加密的交换。
这是在 ubuntu 9.10 系统上。
在 lubuntu 10.04 上启动时默认打开 numlock 的标准方法是什么?
Lubuntu 安装 LXDE。我看到了其他口味的其他解决方案,但也许 lubuntu 口味有特殊设置。
我已经在 /etc/lxdm/lxdm.conf 中尝试了 numlock=0 和 numlock=1 ,但 numlock 在下次启动时保持关闭。
所有其他操作系统,以及其他 ubuntu 系统,在启动后都在同一台机器上打开了 numlock。
我安装了 numlockx,它可以更改值,但这是标准的 lubuntu 方法吗?如果是这样,lubuntu 启动序列中插入“numlockx on”的标准位置是什么,我该如何正确设置?
我还查看了包含的 lxde 键盘配置系统 gui 工具,但选项很少,numlock default 不在其中。
(在将其标记为重复之前,请考虑它是否真的适合,我找不到以这种方式回答的问题。我有兴趣详细了解 lubuntu(而不是 kubuntu 或 gnome)的标准方式。)
这里还有对 lxdm 配置文件的解释,但它并没有真正解释“lxde numlock suport”的含义(gui 怎么可能不支持 numlock?)以及设置 0 和 1 的含义:
http://manpages.ubuntu.com/manpages/lucid/man1/lxdm.1.html
如果没有其他 LXDE 或 lubuntu 标准方法可以做到这一点,我打算使用 numlockx 并添加以下行:
/usr/bin/numlockx on
Run Code Online (Sandbox Code Playgroud)
在任何一个的开始
/etc/X11/xinit/xinitrc
Run Code Online (Sandbox Code Playgroud)
或者
~/.xinitrc
Run Code Online (Sandbox Code Playgroud)
按照此处找到的说明进行操作:
http://www.cyberciti.biz/faq/how-to-linux-turn-on-num-lock-on-gnome-startup/
我已经在笔记本电脑上安装了 ubuntu 10.04。Wifi 在启动时默认开启。我可以通过右键单击 gnome 栏中的网络管理器图标来禁用它。
如何将其设置为默认关闭 wifi?
或者,如何在控制台上关闭 wifi?
我已经尝试过 rfkill 命令,但它没有列出任何设备,也没有关闭 wifi,我尝试了不同的参数。
这是 Ubuntu 10.04 i386 Desktop Live CD 在 IBM T40 膝上型电脑上的标准安装。
编辑 A:这是我系统上一些 rfkill 命令的输出,它不会影响笔记本电脑的 wifi:
$ rfkill --help
Usage: rfkill [options] command
Options:
--version show version (0.4)
Commands:
help
event
list [IDENTIFIER]
block IDENTIFIER
unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
<idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm
$ rfkill list
$ …
Run Code Online (Sandbox Code Playgroud) 我有以下配置:
P == U ---------------- W
Run Code Online (Sandbox Code Playgroud)
P 是一台 HP Laserjet,连接到 U,这是一台 Ubuntu 10.04 台式机,带有来自 live cd 的标准 gnome 设置。我刚刚在 gnome 打印机管理中选择了 HP Laserjet 并且它工作正常,我可以在本地打印。
W 是远程 Windows 机器,server 2003,而 --- 是不受信任的连接。
我想知道是否可以在U和W之间创建一个ssh隧道,以便W可以使用U的打印机服务进行打印。我需要转发哪些端口以及我必须在 Windows 机器上添加什么样的打印机?
编辑:我发现我可以在 U 机器上访问http://localhost:631/并且有 CUPS 浏览器 gui。我将尝试将端口 631 转发到 W,并在 W 上添加打印机,如http://localhost:631/printers/hp
我正在编译erld
,一个将 Erlang 程序作为 UNIX 守护进程运行的程序,请参阅
https://github.com/ShoreTel-Inc/erld/wiki
我遵循的制作说明在这里:
https://github.com/ShoreTel-Inc/erld/blob/master/README
在make
步骤中间有一个错误:
In file included from slay.c:25:0:
debug.h:41:6: warning: conflicting types for built-in
function ‘log’ [enabled by default]
slay.c:29:45: fatal error: proc/readproc.h: No such file or directory
compilation terminated.
make[1]: *** [erld-slay.o] Error 1
make[1]: Leaving directory `/home/ad/erld/c_src'
make: *** [all-recursive] Error 1
Run Code Online (Sandbox Code Playgroud)
这是 ubuntu 12.04 服务器 64:
$ uname -a
Linux lfe1 3.2.0-26-virtual #41-Ubuntu SMP Thu Jun 14 18:08:54 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
我无法在这个问题中添加标签“erlang”。也许分数多的人可以做到。
10.04 ×1
compiling ×1
encryption ×1
filesystem ×1
lubuntu ×1
make ×1
networking ×1
numlock ×1
printing ×1
security ×1
services ×1
ssh ×1
swap ×1
tunnel ×1
wireless ×1