-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deb安装时创建桌面文件夹失败 #20
Comments
改成whoami命令大概就可以了吧 |
|
我原本的意思是,获取当前登录的账户,就是你的账户名字,而不是root |
这样就可以直接定位到你的桌面 |
logname大概可以了吧 |
maybe |
嗯嗯,我自从创建这个软件包之后就没有用过Linux了。啥都是Windows优先了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo dpkg -i ./SuperMemo18.05-lazy-winetricks.v1.4.0.1.deb
会出现这样的问题(用username
代表用户名):原因在于
postin-action.sh
中用户名是这样获取的:在我的机器上,
who
的输出是这样的(实际上,每多开一个命令行窗口就会出现一个pts/*
)结果就是
sname
变成username username ...
这样重复的结构。一个解决方法是用
head -n 1
提取第一项:(k)ubuntu 22.04.
The text was updated successfully, but these errors were encountered: