=== gonyere_ is now known as gonyere | ||
=== Rexodus_ is now known as Rexodus | ||
nils17 | hi. how to execute a shell-script via desktop-startet, explicitly via bash (not e.g. zsh)? e.g. xfce4-terminal -e 'bash /home/user/myscript.sh' ?? | 13:47 |
---|---|---|
jbermudes | nils17: I thought that was what shebangs were for | 13:50 |
nils17 | ok.. if the shebang is enough to make shure that it is executed by bash.. then ok.. | 13:50 |
nils17 | then the question is only: how to create a desktop-starter that starts a bashscript via xfce4-terminal but with root-rights? gksudo or sudo in fron of the path-to-script? you understand? | 13:51 |
nils17 | 1. gksudo xfce4-terminal -e '/home/user/myscript.sh" or | 13:52 |
nils17 | 2. xfce4-terminal -e 'sudo /home/user/myscript.sh' ? | 13:52 |
jbermudes | Like, you want an icon on the desktop or in a panel? | 13:52 |
nils17 | it for a starter I created under /usr/share/applications/ "Desktop-starter" was just an example | 13:53 |
jbermudes | I'm confused. What do you want? An icon that's clickable that starts your script? | 13:53 |
nils17 | wait I tell you :-) | 13:54 |
nils17 | please have a look here: http://pastebin.com/vrkAkqu6 | 13:56 |
nils17 | I created a starter... but the script runs with user's rights. But it should be run with root's rights (sudo/gksudo) | 13:56 |
nils17 | you understand? | 13:56 |
nils17 | this starter appears in my menu.. (this part works without any problems) | 13:57 |
nils17 | its just the rights the script runs with | 13:57 |
jbermudes | since xfce4-terminal is a gui app, then perhaps adding gksudo to the beginning of the Exec command will work? | 13:59 |
nils17 | ok.. I now try the easiest way... could you tell me how to create a script that shows me who I am? e.g. xfce4-terminal -e 'whoami' (the terminal should not close) | 14:01 |
jbermudes | You could use the "read" command at the end of the shell script to pause and wait for text to be entered | 14:02 |
nils17 | yes.. alternativly I tried the following: xfce4-terminal -e "whoami && sleep 10" | 14:03 |
nils17 | but NO xfce4-terminal opens | 14:03 |
nils17 | do I have to use -e "/bin/bash whoami" ?? | 14:04 |
jbermudes | You can test this by just opening a terminal and typing xfce4-terminal whatever inside the terminal and seeing what happens ;) | 14:06 |
nils17 | I get error message " gtk-warning unable to locate theme engine in module_path: "murrine" | 14:07 |
jbermudes | The simplest way I can think of is to just save the whoami thing to a separate file and just make xfce4-terminal run that script | 14:08 |
jbermudes | or even in the script do whoami > ~/whoami-out.txt or something | 14:08 |
jbermudes | then you dont even have to deal with waiting to read output | 14:08 |
jbermudes | although maybe that's a bad idea if you don't know who's home folder that may end up in | 14:09 |
jbermudes | It'll either be in yours in /home/bob or /root | 14:10 |
flocculant | nils17: this might help you http://askubuntu.com/questions/155791/how-do-i-sudo-a-command-in-a-script-without-being-asked-for-a-password | 14:15 |
sim642 | I have autologin turned on but I still get asked for keyring password | 14:43 |
sim642 | any way to get rid of that? | 14:43 |
JohnnyComeL8ly | Who's the happy dude around here? | 15:25 |
cfhowlett | JohnnyComeL8ly, this is xubuntu support. check your channel. stay on topic. | 15:26 |
JohnnyComeL8ly | Ok. | 15:27 |
JohnnyComeL8ly | I knew which channel I was in, but had forgotten that this is strictly for support.... | 15:40 |
rightarmfast | Hi. I have a RAM of 2 GB and 4 GB of my HDD as swap. I want to ask whether I need to decrease my swappiness value . if yes, then to how much? thanks :) | 16:58 |
RangerK | This topic does not yet exist. :-( http://docs.xfce.org/xfce/thunar/4.10/bulk-renamer/date-time | 18:22 |
flocculant | http://docs.xfce.org/xfce/thunar/bulk-renamer/date-time | 18:26 |
RangerK | thanks | 18:34 |
flocculant | RangerK: welcome :) | 18:45 |
WerkPlaceDT | attempting to do a fresh install using 12.04 (old hardware) i get a command line screen that starts with "PID: 6049, comm: modprobe Tainted" and then pretty much everything else is meaningless to me. this happens right at the start of the install. | 21:20 |
WerkPlaceDT | I get to selelct language, click continue, click continue and then this. any one have any ideas herE? | 21:20 |
flocculant | http://askubuntu.com/questions/309782/ubuntu-12-04-fails-modprobe-tainted | 21:26 |
flocculant | possibly helpful | 21:26 |
Gava | Hi, new user fleeing Windows. Having trouble trying to connect to my system. We have a WD USB Drive plugged into a BT Hub 5. I want to connect to it over wi-fi but can't make it work. Any help appreciated. | 21:37 |
WerkPlaceDT | i two have a broadcom wireless adapter | 21:38 |
WerkPlaceDT | too* | 21:39 |
WerkPlaceDT | thanks flocculant | 21:39 |
flocculant | WerkPlaceDT: lucky guess then :) | 21:39 |
WerkPlaceDT | flocculant: my bios allows me to disable the wifi card so i'm see if that works. no time for disessemby right now | 21:41 |
WerkPlaceDT | and that fixed that | 21:44 |
WerkPlaceDT | thanks again | 21:44 |
genii | Broadcom makes such crap | 21:47 |
xubuntu04w | Hey I'm trying to install xubuntu onto my computer, but every time I try I get "unrecognized maxwell chipset" | 22:34 |
xubuntu04w | I'm running a 980 Ti and a pentium g3258 | 22:34 |
mrkramps | xubuntu04w, the free nouveau driver used by default is not supporting nvidia maxwell chipsets | 22:37 |
mrkramps | xubuntu04w, but you can start the live system with the bootoption 'nomodeset' and after system installation add the according nvidia driver | 22:38 |
mrkramps | last comment: https://askubuntu.com/questions/636969/no-support-for-maxwell-gpus-in-nouveau | 22:39 |
xubuntu11w | Hi I am having problems with my wireless internet adapter constantly disconnecting/connecting. And it making my computer completely freeze. What can I do to figure out the problem and fix this? | 23:06 |
AIA | hi | 23:30 |
knome | hello | 23:30 |
AIA | i'm new with Xubuntu and wanna to know how to install Emacs &c++ compiler | 23:31 |
knome | AIA, sudo apt-get install emacs build-essential | 23:32 |
knome | AIA, that is, from the command line | 23:32 |
AIA | this command to install emacs only or c++ compiler also | 23:33 |
knome | both | 23:33 |
AIA | there r any other compiler | 23:34 |
AIA | installed | 23:35 |
knome | no, a regular user doesn't need a compiler | 23:35 |
AIA | thinx | 23:35 |
xubuntu11w | is someone able to help me? | 23:37 |
knome | xubuntu11w, what is your wireless adapter? | 23:37 |
xubuntu11w | Bus 001 Device 026: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter | 23:38 |
xubuntu11w | im pretty sure this is it http://www.amazon.com/Etekcity-Wireless-Network-Adapter-Antenna/dp/B006JWMOOI | 23:41 |
=== bazhang_ is now known as bazhang | ||
xubuntu11w | was that the information you needed knome? | 23:51 |
knome | xubuntu11w, that would help debugging the issue for sure, but i have little experience with ralink adapters | 23:51 |
knome | you can try searching with ubuntu and rt3072 for potential solutions | 23:52 |
xubuntu11w | okay. the wireless adapter is not the problem. It has to be something else. | 23:55 |
knome | actually, the wireless adapters are often problematic | 23:56 |
xubuntu11w | like a driver issue. or bug in linux. It used to never give me problems. now it does. | 23:56 |
knome | if manufacturers do not offer drivers or hardware specifications for everybody (including linux), things are unlikely to work ootb | 23:57 |
xubuntu11w | sometimes Xubuntu, will say a internal problem has occurred. something with the network manager i see in the report. I have sent report each time. | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!